# Mario Minigame

**URL:** https://forum.makecode.com/t/mario-minigame/6487
**Category:** Show & Tell
**Tags:** game
**Created:** [March 2, 2021, 7:05pm UTC](https://forum.makecode.com/t/mario-minigame/6487 "2021-03-02T19:05:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [March 2, 2021, 7:05pm UTC](https://forum.makecode.com/t/mario-minigame/6487/1 "2021-03-02T19:05:13Z")

</div>

> **[Mario Minigame](https://arcade.makecode.com/36625-91340-54199-50976)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Also @richard can you show me how you did the extra tiles for [Platformer Tileset](https://forum.makecode.com/t/platformer-tileset/3023)? I want to make a tileset for the 8x8 small tilemaps extension.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [March 2, 2021, 7:20pm UTC](https://forum.makecode.com/t/mario-minigame/6487/2 "2021-03-02T19:20:05Z")

</div>

I used the sprite pack tool that @shakao and I wrote: [https://shakao.github.io/arcade-sprite-pack/](https://shakao.github.io/arcade-sprite-pack/)

The only problem right now is that you need to manually edit the output files to turn them into tiles.

Inside asset.ts, you need to add a line like this above each of the variables:

> <https://github.com/riknoll/grafxkid-tiles/blob/master/assets.ts#L11>

(replace “Spring” in “category-Spring” with whatever you want the category to be named in the tilemap editor)

Sorry that this is such a pain right now, I’m going to try making improvements to the sprite pack tool in the future to make this easier to do and not involve any text editing.

---

<div class="post-metadata">

### Author: ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)
#### Post date: [March 2, 2021, 7:24pm UTC](https://forum.makecode.com/t/mario-minigame/6487/3 "2021-03-02T19:24:03Z")

</div>

Quick question:  
On the extension I was already developing, for some reason the blocks toolbox is broken. You know why? @richard?  
agent14bricks/agent-14-essential-extensions

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [March 2, 2021, 7:27pm UTC](https://forum.makecode.com/t/mario-minigame/6487/4 "2021-03-02T19:27:14Z")

</div>

Usually that means something is wrong with the authoring (the //% comments on top of the typescript). Do you have a link? I can take a look.

---

<div class="post-metadata">

### Author: ![kingcobralasersnakes](https://avatars.discourse-cdn.com/v4/letter/k/6f9a4e/32.png) [@kingcobralasersnakes](https://forum.makecode.com/u/kingcobralasersnakes)
#### Post date: [March 17, 2021, 3:06am UTC](https://forum.makecode.com/t/mario-minigame/6487/5 "2021-03-17T03:06:41Z")

</div>

how do you change the look of lives?

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [March 17, 2021, 2:53pm UTC](https://forum.makecode.com/t/mario-minigame/6487/6 "2021-03-17T14:53:17Z")

</div>

There is one way! Extensions! Therefor I know 1 extension that can change it (Image has to be 8\*8 or it will not work!)  
use @jwunderl s extension!  
jwunderl/arcade-sprite-util  
There should be a block called set Life image!  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/80ef9336e8284db0bea4588000dfbfd1f2cf77f2.png)  
And other cool stuff like distance between 2 sprites or round to (e.g 3) decimal placces!  
Bye!

---

<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: [March 17, 2021, 2:53pm UTC](https://forum.makecode.com/t/mario-minigame/6487/7 "2021-03-17T14:53:50Z")

</div>

There is a block in the sprite utils extension that can change it.

---

<div class="post-metadata">

### Author: ![ggiscool](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ggiscool/32/3431_2.png) [@ggiscool](https://forum.makecode.com/u/ggiscool)
#### Post date: [March 24, 2021, 1:51am UTC](https://forum.makecode.com/t/mario-minigame/6487/8 "2021-03-24T01:51:56Z")

</div>

You can also put:  
in a thing to change life image in javascript

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [September 2, 2024, 8:41pm UTC](https://forum.makecode.com/t/mario-minigame/6487/9 "2024-09-02T20:41:23Z")

</div>

Is there an easier way to do this? I tried editing it in the makcode editor but since it’s a locked file I tried to try do it in a Github codespace instead (and failed miserably cause I have 0 clue what I’m doing)  
I was just trying to move some tiles into folders due to the UI bug that limits the number of tiles accessible 🙃
