Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do you make an endless runner game thats simple?
- JIedi
-
12 posts
how do you make an endless runner game thats simple?
If you have any tutorials, leave a link below
- Oumuamua
-
1000+ posts
how do you make an endless runner game thats simple?
Not possible to explain here a complete game…
You can go through projects you like and see inside to learn how to.
https://scratch.mit.edu/search/projects?q=endless+runner
Good luck!
You can go through projects you like and see inside to learn how to.
https://scratch.mit.edu/search/projects?q=endless+runner
Good luck!
- ipaddude
-
100+ posts
how do you make an endless runner game thats simple?
basically you have a jump function, a walk/run cycle, and a bunch of obstacles that scroll towards you.
very helpful
very helpful
Last edited by ipaddude (April 1, 2020 13:54:54)
- FoofJr
-
100+ posts
how do you make an endless runner game thats simple?
I'm not an expert with the scripts and stuff, but what you would want to do is just make a platformer, and have the edges of all the costumes have a “platform” at the same y level. To be more precise, say you would look for green when doing you floor checking script. You would want there to be a green platform at both x -240 and x240. This means you can repeat the backgrounds in any order. Then, you would just make 3 background sprites. Once they have a scroll x of -720 (they are not on the screen anymore), they would then set their scroll x to 720 and change to a random costume. YOu would need maybe 5 costumes each. The way this works is that whenever you can no longer see a background sprite, it can change it's costume without affecting the player. It would then be able to move around and go to the front. Think of it like a tank tread. When the tread (background) is no longer touching the ground(the player), anything it does, does not affect the player. The reason for having a platform at the same y level is to make sure that switching to a new costume wont make an impossible jump.
Here's a good example (a vertical platformer. You would use scroll y mainly instead of scroll x and have your character move up.)
Mines by Probably Not
Here's a good example (a vertical platformer. You would use scroll y mainly instead of scroll x and have your character move up.)
Mines by Probably Not
- JIedi
-
12 posts
how do you make an endless runner game thats simple?
thanks Not possible to explain here a complete game…
You can go through projects you like and see inside to learn how to.
https://scratch.mit.edu/search/projects?q=endless+runner
Good luck!
- Discussion Forums
- » Help with Scripts
-
» how do you make an endless runner game thats simple?