How do you make a moving view for a side scroller like mario? I want to make a side scroller, but I don't know how to make the view move as my character moves?
How do you make a moving view for a side scroller like mario? I want to make a side scroller, but I don't know how to make the view move as my character moves?
Hey, I meant to respond to your other post but I forgot.
There are a few ways but probably the easiest is to not move the "guy" but to move everything around him. So when he moves forward you move the background to the left and it gives the illusion that it's moving. The other way is to use a UIScrollview and and just move the guy along the uiscrollview. I use a combination of both for Super Pig.