ok so im trying to find some tutorials on how to create a moving background for a box2d game. it my first time doing it, and i dont know what they are called? can anyone tell me what they are called so i can search for some tutorials on it..
heres what im trying to do.. firstly my game is in portrait mode, and i have created an image which is 960×320 and i want it to continually run as the background of the game…. like a road which goes on forever..
can someone tell me what i can search on google to find a good tutorial for accomplish this? thankyou
You can get the tutorial of the CCParallaxScrollNode by which you can do the endless scrolling of the Background. I dont know the exact link but you need to download the 4 files they are
Now in your test demo implement the below code
in your .h file code is
in .mm file you need to declare before @implementation set
the below code in init method
The sprites can be replaced with your own sprites also you can do some modification for the Landscape also. The code is for the portrait mode