Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how to go to the next level in a platformer
- 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
how to go to the next level in a platformerDo Something Like This To The Player:
when green flag clickedAnd Do Something Like This To The Level:
go to x: (-240) y: (0)
set [Level v] to [1]
forever
if <(x position) > [235]> then
change [Level v] by (1)
end
end
when green flag clicked
forever
switch costume to (Level)
end
- kiwilover2736
-
Scratcher
1000+ posts
how to go to the next level in a platformer
Don't forget to make the player go back to the starting position when the level changes.how to go to the next level in a platformerDo Something Like This To The Player:when green flag clickedAnd Do Something Like This To The Level:
go to x: (-240) y: (0)
set [Level v] to [1]
forever
if <(x position) > [235]> then
change [Level v] by (1)
end
endwhen green flag clicked
forever
switch costume to (Level)
end
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
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
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/
- Discussion Forums
- » Help with Scripts
-
» how to go to the next level in a platformer