How do you make a running game?
How do we make the player not stop running at all? For example, your player keeps running to the right of the screen. Also how can we make him slide, jump, and make him automatically climb down a ladder at the end of the level WHILE he is still running?
Re: How do you make a running game?
well its pretty easy i can give u an example of you want.. how much experencie do you have? and i assume you mean like a scroller?
Re: How do you make a running game?
As simple as:
+ Always
- Set position x to x position+10
Of course, to make the object stop moving right, you'd just have a flag or something like
+ If "alwaysrun = 1"
- Set position x to x position+10
Then you can temporarily turn off the running while climbing a ladder by setting the alwaysrun flag to 0. :)
Re: How do you make a running game?
I have an example that you can adapt to your needs:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=199083
Re: How do you make a running game?
You can do what I did in my SkyAngel game http://www.mochigames.com/game/skyangel/
Basically it is one 640x480 window, with a regular PMO movement. There are a few objects under the right pane that create the platforms and other objects. I have the background loop movement and the sprite always 'running right' to create the illusion of always moving.