Discuss Scratch

lockmin14
Scratcher
3 posts

how to go to the next level in a platformer

how to go to the next level in a platformer
GamerLGuy
Scratcher
100+ posts

how to go to the next level in a platformer

lockmin14 wrote:

how to go to the next level in a platformer
Do Something Like This To The Player:
when green flag clicked
go to x: (-240) y: (0)
set [Level v] to [1]
forever
if <(x position) > [235]> then
change [Level v] by (1)
end
end
And Do Something Like This To The Level:
when green flag clicked
forever
switch costume to (Level)
end
kiwilover2736
Scratcher
1000+ posts

how to go to the next level in a platformer

GamerLGuy wrote:

lockmin14 wrote:

how to go to the next level in a platformer
Do Something Like This To The Player:
when green flag clicked
go to x: (-240) y: (0)
set [Level v] to [1]
forever
if <(x position) > [235]> then
change [Level v] by (1)
end
end
And Do Something Like This To The Level:
when green flag clicked
forever
switch costume to (Level)
end
Don't forget to make the player go back to the starting position when the level changes.

Last edited by kiwilover2736 (March 9, 2024 08:14:55)

lockmin14
Scratcher
3 posts

how to go to the next level in a platformer

WHY IS IT NOT WORKING!!!!!!!!!!!!!!!!!
poppy849
Scratcher
100+ posts

how to go to the next level in a platformer

To go to the next level, hold the right arrow or D key until you see something unique. Even though the levels are not numbered, it still helps.
kiwilover2736
Scratcher
1000+ posts

how to go to the next level in a platformer

lockmin14 wrote:

WHY IS IT NOT WORKING!!!!!!!!!!!!!!!!!
We don't exactly know why it isn't working. First of all: Calm down. Second of all: Please share the project, and post the link here so that we can help you better.
lockmin14
Scratcher
3 posts

how to go to the next level in a platformer

kiwilover2736 wrote:

lockmin14 wrote:

WHY IS IT NOT WORKING!!!!!!!!!!!!!!!!!
We don't exactly know why it isn't working. First of all: Calm down. Second of all: Please share the project, and post the link here so that we can help you better.


https://scratch.mit.edu/projects/978423363/

Powered by DjangoBB