How do I die when I hit something and respawn at the start?

I am a noon and I want to make a platformer game, can someone help me? THANKS IN ADVANCE!

You will find the complete platformer tutorial here. For making your player respawn, you can refer this section.

Collision with the player and an object deletes the player. When player count is zero, start a timer. Also show a text object that says “Dead”. When timer reaches 5 seconds, stop and start a new scene. Just choose the level they died on as the new scene.

1 Like