anyone could help me on the script on how to make the background move continuously horizontal, up and down, as the main object glides? will really appreciate your help guys.
@NeoSeeker, if you look at the games where this happens, generally the main object stays in the center of the screen while the background moves around.
1. Create a group layer and create the background in that. 2. Create the main sprite and place it in the center of the screen 3. now move the group layer around
if I get some time, I will write up a tutorial on it, which you could then read on my blogs. Will also update it here (once I finish that tutorial)
Comments
But it looks like you need parallax background, yes?
http://www.giderosmobile.com/forum/discussion/1158/class-and-example-for-parallax-background
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
1. Create a group layer and create the background in that.
2. Create the main sprite and place it in the center of the screen
3. now move the group layer around
if I get some time, I will write up a tutorial on it, which you could then read on my blogs. Will also update it here (once I finish that tutorial)
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps