Mario mystery blocks help

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

3 Likes

@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

2 Likes

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

1 Like

@Sonicblaston well, you could put a sprite on top

1 Like

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

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

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

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

1 Like

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?

1 Like

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.

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