# Speedrun Dungeon

**URL:** <https://forum.makecode.com/t/speedrun-dungeon/16337>\
**Category:** Help\
**Created:** [November 14, 2022, 6:45am UTC](https://forum.makecode.com/t/speedrun-dungeon/16337 "2022-11-14T06:45:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 14, 2022, 6:45am UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/1 "2022-11-14T06:45:23Z")

</div>

Since nobody was replying to my post, I decided to make a new game 😀

> **[SpeedDun](https://arcade.makecode.com/S32786-89240-47715-41016)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

When you finish a level, it’s supposed to show your score (countdown), but it keeps saying 0. HELP PLZ

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [November 14, 2022, 6:15pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/2 "2022-11-14T18:15:56Z")

</div>

I don’t know how to help but I LOVE EVERYTHING ABUT THE GAME This might be the best Speedrun game in arcade make code on my pov

---

<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 14, 2022, 6:17pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/3 "2022-11-14T18:17:54Z")

</div>

Wow great game love the art

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 15, 2022, 11:57pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/4 "2022-11-15T23:57:35Z")

</div>

Smol update:

> **[SpeedDun](https://arcade.makecode.com/S32786-89240-47715-41016)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [November 16, 2022, 12:16am UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/5 "2022-11-16T00:16:32Z")

</div>

I love the new level

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 17, 2022, 6:08pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/6 "2022-11-17T18:08:51Z")

</div>

Thanks… but… uh…  
Isn’t anyone gonna help??

---

<div class="post-metadata">

**Author:** ![isoffline](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/isoffline/32/8791_2.png) [@isoffline](https://forum.makecode.com/u/isoffline)\
**Post date:** [November 17, 2022, 6:53pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/7 "2022-11-17T18:53:00Z")

</div>

yeah i dont know how why it does how about make you’re own variable tmer where its changes every second something like that

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [November 18, 2022, 5:37pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/8 "2022-11-18T17:37:25Z")

</div>

Really loving the art and pallette! Anyways, the reason your score resets every time is because the countdown resets it’s value when it’s stopped.  
I fixed it for you here by creating a `countdown` variable and storing the time there before you reset the countdown. Then replace the ‘countdown’ block with the variable I created.  
(like this)

 ![Example](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bb7caba92a688540814643345737c57ecf29cc81.png)  
Here’s the fix itself, hope this helped!

> **[SpeedDun - fix](https://arcade.makecode.com/S72254-89644-08958-76255)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 18, 2022, 5:37pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/10 "2022-11-18T17:37:51Z")

</div>

Also I screwed up while coding so now the third level’s gone ;-;

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 18, 2022, 11:27pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/11 "2022-11-18T23:27:12Z")

</div>

_gasps_ THANK YOU

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [November 28, 2022, 5:40pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/12 "2022-11-28T17:40:02Z")

</div>

@Sarge can you also help with a lantern for the “new” third level? The colors really weird :-/

> **[SpeedDun](https://arcade.makecode.com/S28406-27280-71993-54563)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [November 28, 2022, 9:34pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/13 "2022-11-28T21:34:34Z")

</div>

That’s because the lantern extention has fixed color offsets for the glow, and you’re using a custom pallette. I’m afraid I can’t help you with this, you’ll have to figure out a different design.

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [December 16, 2022, 5:58pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/14 "2022-12-16T17:58:30Z")

</div>

This is the new 3rd level.

> **[SpeedDun](https://arcade.makecode.com/21404-69359-04412-64135)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Can someone help making the level % save with the settings extension?

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [December 16, 2022, 10:29pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/15 "2022-12-16T22:29:38Z")

</div>

Also the third level might cause a lot of rage…

(I only beat it once)

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [December 17, 2022, 7:27am UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/16 "2022-12-17T07:27:44Z")

</div>

Update:

> **[SpeedDun](https://arcade.makecode.com/89665-36247-65994-73074)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Now your score is visible after the level’s name.  
(If only that could save even after resetting the arcade…)

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [December 29, 2022, 5:45pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/17 "2022-12-29T17:45:13Z")

</div>

Sorry for the late reply, I didn’t notice your post. What you’re looking for is the `settings` extension! It allows you to store multiple data types as ‘settings’ in device storage (which works in the sim, or handhelds)

> **[SpeedDun - with saving](https://arcade.makecode.com/S92298-04839-88687-29048)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Here I did that for you, by first checking if the setting exists, and resetting it if not. Then you simply load it in to the variable. I won’t attach any images, but if you’re interested pay attention to the `on start` and `on sprite of kind overlaps finish`. If you have any questions, feel free to ask and I hope this helps!

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [December 29, 2022, 9:48pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/18 "2022-12-29T21:48:10Z")

</div>

Wait… I was joking… there’s actually a saving extension?!  
(That’s the coolest thing I’ve ever seen in my life)

---

<div class="post-metadata">

**Author:** ![PixelDoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pixeldoodle/32/24129_2.png) [@PixelDoodle](https://forum.makecode.com/u/PixelDoodle)\
**Post date:** [December 29, 2022, 10:37pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/19 "2022-12-29T22:37:20Z")

</div>

Yep! Alot of people use it!

---

<div class="post-metadata">

**Author:** ![AbstractDesigner](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abstractdesigner/32/22531_2.png) [@AbstractDesigner](https://forum.makecode.com/u/AbstractDesigner)\
**Post date:** [January 3, 2023, 6:30pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/21 "2023-01-03T18:30:19Z")

</div>

> **[SpeedDun - 1.1](https://arcade.makecode.com/44714-72296-84967-36791)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is the first finished _SpeedDun_ version, I won’t be updating this this game for a long time.

**Controls:**  
Left/Right - Move  
A - Jump  
Menu - Reset All Scores

Have fun!

---

<div class="post-metadata">

**Author:** ![PixelDoodle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/pixeldoodle/32/24129_2.png) [@PixelDoodle](https://forum.makecode.com/u/PixelDoodle)\
**Post date:** [January 3, 2023, 9:42pm UTC](https://forum.makecode.com/t/speedrun-dungeon/16337/22 "2023-01-03T21:42:35Z")

</div>

Whenever I want To Play A rage-quit game. I’ll look back on this game.

[Next page](https://forum.makecode.com/t/speedrun-dungeon/16337.md?page=2)
