@tranthor wrote:
Hi,
I’m using tiled maps and the cocos classFollow
, for follow the main player around the map. The problem that i have is when i want to scale the tiled map. It works. But when i scale the tiled map,Follow
doesn’t work anymore. Videos:Without scaling:
https://vimeo.com/359823935Now, scaling:
https://vimeo.com/359823871
tiledMap->setScale(0.8);
Follow:
tiledMap->runAction(Follow::create(tiledMap->getChildByName("myCar")));
How can i fix it?
Thanks!
Posts: 3
Participants: 2