# Checkpoints in a platformer game

**URL:** <https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697>\
**Category:** Help\
**Created:** [November 1, 2021, 9:18pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697 "2021-11-01T21:18:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geod](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@Geod](https://forum.makecode.com/u/Geod)\
**Post date:** [November 1, 2021, 9:18pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/1 "2021-11-01T21:18:40Z")

</div>

Hi,  
I am trying to make checkpoints in my platformer game so that for example if the HP status bar goes to zero it will take one life and tp the player back to the start of the level. Any help is welcome 🙂

Thanks, Geod.

---

<div class="post-metadata">

**Author:** ![Grimm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/grimm/32/5507_2.png) [@Grimm](https://forum.makecode.com/u/Grimm)\
**Post date:** [November 1, 2021, 11:27pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/2 "2021-11-01T23:27:14Z")

</div>

I think you can just put place my sprite on top of random in an on sprite overlap scene block and make an object at the beginning

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [November 1, 2021, 11:27pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/3 "2021-11-01T23:27:52Z")

</div>

Hi, I’ve been thinking about this feature for a game I have been making.

> **[checkpoint demo](https://arcade.makecode.com/41672-42637-90690-98249)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

this is a pretty simple mechanic, and it’s basically utilising a cutscene to pause the game in order to allow the player to choose between 2 choices. In the time that the player dies and transitions over to the game over screen, the player’s sprite will be destroyed and the tilemap will be changed.

I should be thanking you actually, I was thinking of adding this mechanic but I wasn’t sure if it worked. Now I know it works 🙂

---

<div class="post-metadata">

**Author:** ![Geod](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@Geod](https://forum.makecode.com/u/Geod)\
**Post date:** [November 10, 2021, 9:24pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/4 "2021-11-10T21:24:04Z")

</div>

Also here is a link to my game so you can understand what I am trying to do

> **[\`222\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`\`...](https://arcade.makecode.com/61009-37034-65339-46281)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [November 11, 2021, 12:11am UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/5 "2021-11-11T00:11:29Z")

</div>

Did you use one of @UnsignedArduino’s games to make that

> [@Procedurally Generated Platformer](https://forum.makecode.com/t/procedurally-generated-platformer/8500):
>
> After making [procedural generation](https://forum.makecode.com/t/procedural-generation/5383) and [jump](https://forum.makecode.com/t/jump/6633) I decided to combine (well, not really) the ideas and make a platformer game that is procedural! You may recognize the platformer tileset slight_smile (it’s from [here](https://forum.makecode.com/t/platformer-tileset/3023)) since I don’t have any creative skills in the slightest. Controls: Jump - up (W or 🠕) or A (Q or Space) Left and right - left and right (A and D or ← and →) Show us your seeds and best times! Mine is 1:06.27 on seed 1234: (I would love to see someone get under 1 minute …

and I made a game like that once here

> [@Dungeon Rush](https://forum.makecode.com/t/dungeon-rush/9733):
>
> This is a small game that I made to practice terrain generation. A to jump You don’t have to touch the ground to jump. B to shoot

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [November 11, 2021, 4:49pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/6 "2021-11-11T16:49:32Z")

</div>

Doesn’t look like my code, but thanks 🙂  
The OP just used the [same tileset](https://forum.makecode.com/t/platformer-tileset/3023) I used.

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [November 11, 2021, 8:33pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/7 "2021-11-11T20:33:56Z")

</div>

Oh I just saw the Platforms different were every time I play sorry @UnsignedArduino and @Geod

---

<div class="post-metadata">

**Author:** ![Cairemolo\_korb](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@Cairemolo\_korb](https://forum.makecode.com/u/Cairemolo_korb)\
**Post date:** [April 21, 2022, 4:37pm UTC](https://forum.makecode.com/t/checkpoints-in-a-platformer-game/10697/8 "2022-04-21T16:37:06Z")

</div>

I need help too
