# Mario mystery blocks help

**URL:** <https://forum.makecode.com/t/mario-mystery-blocks-help/26949>\
**Category:** Help\
**Tags:** game\
**Created:** [February 16, 2024, 5:14pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949 "2024-02-16T17:14:42Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 16, 2024, 5:14pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/1 "2024-02-16T17:14:43Z")

</div>

If anyone has played super mario before, you know that the powerups only spawn on spesific mystery blocks, while the rest gives you coins. What I need is a way for the game to tell the differnce between the two types of mystery blocks without a visual difference in the game

> **[Super Mario Bros - Arcade - Copy - Copy - Copy](https://arcade.makecode.com/93327-50948-63026-26900)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [February 16, 2024, 5:16pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/2 "2024-02-16T17:16:24Z")

</div>

@Sonicblaston I think you want the “cover tile” block in the arcade-tile-util extension!

It lets you cover a tile with an image of another tile without changing the actual tile underneath

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 16, 2024, 9:23pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/3 "2024-02-16T21:23:30Z")

</div>

I am already using them actually. I was just wondering if there any alternative solutions.

---

<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:** [February 16, 2024, 10:12pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/4 "2024-02-16T22:12:06Z")

</div>

@Sonicblaston well, you could put a sprite on top

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 20, 2024, 5:57pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/5 "2024-02-20T17:57:18Z")

</div>

That is probably not the most lag efficient thing to do. Since my game is pretty laggy already.

---

<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:** [February 21, 2024, 5:23pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/6 "2024-02-21T17:23:05Z")

</div>

@Sonicblaston what problem are you having with the cover tile block exactly?

---

<div class="post-metadata">

**Author:** ![ethan](https://avatars.discourse-cdn.com/v4/letter/e/8dc957/32.png) [@ethan](https://forum.makecode.com/u/ethan)\
**Post date:** [February 22, 2024, 5:44pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/7 "2024-02-22T17:44:45Z")

</div>

Just make two of the same tile and name them different things 💀

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [February 22, 2024, 5:45pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/8 "2024-02-22T17:45:05Z")

</div>

I have made a way to pause in the middle of the game. However when you pause, you can see all the tiles that are normally covered  
This is the code for pausing

 ![IMG_6350](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/1/105f217692ae44f56cb18047c3b2a86c77318f0f.jpeg)

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 22, 2024, 5:51pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/9 "2024-02-22T17:51:14Z")

</div>

I had this same problem when I made Minesweeper. What I did was change the background color and then make one spot in the tile clear. Idk if that will work for you, but maybe it is worth a try? Another idea I had was maybe if you aren’t using on of the colors, you could change that color to be the same as another one on the block? It would make it hard to use as a developer because they would look the same, but maybe worth a try?

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [February 22, 2024, 11:01pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/10 "2024-02-22T23:01:05Z")

</div>

I don’t think you can do that. I specifically remember having this same problem due to the fact that you can’t have two of the same because the code always use first one you make and ignores the second. For example, if you make two different tiles with the same image and then place the two different kinds in a tilemap, unless it has changed recently, if you use the Tile of kind (tile) block it will see both of them as the same tile and address both of them.

---

<div class="post-metadata">

**Author:** ![ethan](https://avatars.discourse-cdn.com/v4/letter/e/8dc957/32.png) [@ethan](https://forum.makecode.com/u/ethan)\
**Post date:** [February 27, 2024, 7:05pm UTC](https://forum.makecode.com/t/mario-mystery-blocks-help/26949/11 "2024-02-27T19:05:24Z")

</div>

Not if they are unnamed. If they are unnamed it treats them as two separate images
