Pages: 1
Topic closed
Ok, so I am working on a scrolling helicopter combat game for school and I was curious about one thing:
How do you make the scrolling speed of consecutive levels increase?
I know that there has to be a variable for the level and that variable has to be incremented every time you complete a level but I'm not sure how to make the scrolling speed of the background increase.
Thanks ahead of time!!
Ian
Offline
Well, you can do something very similar to what you do with the level: just make a variable! Wherever you have the terrain sprites moving along horizontally, use a variable to determine the speed. You could even have the speed tied to the level number; for example, it could be equal to a base speed plus the level number times something.
Offline
Offline
Thanks guys! I haven't had a chance to implement these suggestions yet but I'll get back to you as soon as I have and let you know how they work.
Offline
Topic closed
Pages: 1