Hello,
I have a question I did not find the answer in the forum.
I have 3 backgrounds and I want to move at the same time but at different speeds.
For now, I use
this->scheduleUpdate();
but I want to make the background a more dynamic.
Thanks.
Hello,
I have a question I did not find the answer in the forum.
I have 3 backgrounds and I want to move at the same time but at different speeds.
For now, I use
this->scheduleUpdate();
but I want to make the background a more dynamic.
Thanks.
Hello, look into ParallaxNode
it allows to do exactly what you want.
Thanks for the answer!
I find the parallax implementation - https://docs.cocos2d-x.org/cocos2d-x/en/other_node_types/parallax.html
I’ll try parallax but the background doesn’t move.
How to update the paraNode? With this->sheduleUpdate() and update(float dt)?
I believe there is a working example in cpp-tests.