Discuss Scratch

Drumboy48
Scratcher
6 posts

Checkpoint and Killbrick

Hello everyone! I'm trying to make it so that my sprite hits another sprite but it resets. A checkpoint and a kill brick. I've experimented and have done multiple things to try and get it to work, but it isn't. Can anyone help?
Oumuamua
Scratcher
1000+ posts

Checkpoint and Killbrick

BUMP(not mine actually)
NicolasBlasquez
Scratcher
21 posts

Checkpoint and Killbrick

Hi! If you want to make a checkpoint, you can save the character position, so if the player loose, you teleport him to the checkpoint. Also, you can save the stage's number to teleport the player back to the previous background.

when green flag clicked
forever
if <touching [Checkpoint v] ?> then
set [X v] to [x Position]
set [Y v] to [y Position]
end
if <touching [Trap v] ?> then
go to x: (X) y: (Y)
end
end

I hope this note was helpful!!!

Powered by DjangoBB