Discuss Scratch

Valiexal
Scratcher
57 posts

How do you make an endless runner game?

I've always wanted to find it out because I love games like subway surfer and the endless runner games on here are cool too, so I wanna make an endless runner game for my next project.

Also, I recently created this game called Pizza Party! Come check it out: https://scratch.mit.edu/projects/474609145/ Its apart of a studio where I want an endless runner game to be next!
PoIygon
Scratcher
1000+ posts

How do you make an endless runner game?

Valiexal wrote:

I've always wanted to find it out because I love games like subway surfer and the endless runner games on here are cool too, so I wanna make an endless runner game for my next project.
Help with scripts

Valiexal wrote:

Also, I recently created this game called Pizza Party! Come check it out: https://scratch.mit.edu/projects/474609145/ Its apart of a studio where I want an endless runner game to be next!
Show and tell
NormalMaker
Scratcher
500+ posts

How do you make an endless runner game?

You just do: if flag clicked, forever change x by -10 for the obstacles.
Valiexal
Scratcher
57 posts

How do you make an endless runner game?

Should I also clone the obstacles too?
donchen12345
Scratcher
39 posts

How do you make an endless runner game?

Valiexal wrote:

I've always wanted to find it out because I love games like subway surfer and the endless runner games on here are cool too, so I wanna make an endless runner game for my next project.
Allowed

forever
if <touching [Train or something] ?> then
stop [this script]

end



Not allowed here but go to show and tell
Also, I recently created this game called Pizza Party! Come check it out: https://scratch.mit.edu/projects/474609145/ Its apart of a studio where I want an endless runner game to be next!

Last edited by donchen12345 (Jan. 20, 2021 02:25:14)

antonfdiaz
Scratcher
12 posts

How do you make an endless runner game?

NormalMaker wrote:

You just do: if flag clicked, forever change x by -10 for the obstacles.
and then you could do something like this:
when green flag clicked
set x to (240)
forever
change x by (-10)
if <(x position) < [-240]> then
set x to (240)
end
end

Powered by DjangoBB