Discuss Scratch

unseenphantom
Scratcher
6 posts

How to make a checkpoint

I have been working on a new scrolling patformer but idk how to make a checkpoint. while exploring ive noticed a lot of platformer games with those flags when upon being touched by the player sets a checkpoint at the position. IVE BEEN TRYING FOR HOURS PLZ TELL ME HOW TO MAKE A CHECKPOINT

Last edited by unseenphantom (Jan. 5, 2021 07:02:28)

Icecream_pancake
Scratcher
3 posts

How to make a checkpoint

uhhhhhhhhhh i think its like

when green flag clicked
if <<touching ?>> then
switch backdrop to


end

hey i think its like this!
dunno in real
try it out!
and tell me if it works
unseenphantom
Scratcher
6 posts

How to make a checkpoint

that will work if it was a platformer. im doing scrolling platformer
Phantomfire5
Scratcher
20 posts

How to make a checkpoint

Try putting the player spawn point to the x and y position of the checkpoint sprite's clones.
If it works please do tell me.

Have you already tried that?
If it doesn't work I don't know how to do it.

Last edited by Phantomfire5 (Jan. 5, 2021 09:56:08)

Resince
Scratcher
100+ posts

How to make a checkpoint

I'd suggest creating 2 variables called X and Y checkpoint. You can then use these to reset the player's position when they are no longer touching a surface and falling downwards.

...
go to x: (X_CHECKPOINT) y: (Y_CHECKPOINT)
Phantomfire5
Scratcher
20 posts

How to make a checkpoint

That is what I am trying to say.
CodingBaguette
Scratcher
500+ posts

How to make a checkpoint

unseenphantom wrote:

I have been working on a new scrolling patformer but idk how to make a checkpoint. while exploring ive noticed a lot of platformer games with those flags when upon being touched by the player sets a checkpoint at the position. IVE BEEN TRYING FOR HOURS PLZ TELL ME HOW TO MAKE A CHECKPOINT
I had the exact same problem! I made a scrolling platformer with checkpoints, look inside the checkpoint script and player script, just go into my profile and you will see the project that says difficulty chart obby
Here it is
https://scratch.mit.edu/projects/468446207
click see inside

Last edited by CodingBaguette (Jan. 5, 2021 15:22:41)

HarseweCoder
Scratcher
1 post

How to make a checkpoint

CodingBaguette wrote:

unseenphantom wrote:

I have been working on a new scrolling patformer but idk how to make a checkpoint. while exploring ive noticed a lot of platformer games with those flags when upon being touched by the player sets a checkpoint at the position. IVE BEEN TRYING FOR HOURS PLZ TELL ME HOW TO MAKE A CHECKPOINT
I had the exact same problem! I made a scrolling platformer with checkpoints, look inside the checkpoint script and player script, just go into my profile and you will see the project that says difficulty chart obby
Here it is
https://scratch.mit.edu/projects/468446207
click see inside

Let me see But nice logo there
153142SAlt
Scratcher
1 post

How to make a checkpoint

e
Josiah_boi123
New Scratcher
0 posts

How to make a checkpoint

pp
TamagoRamenRarara
Scratcher
1 post

How to make a checkpoint

How do I make checkpoints?

Powered by DjangoBB