i am making a version of minesweeper for makecode arcade, and i can’t figure out how to make the cursor reveal only one sprite.
here is the current code:
1 Like
You could make a random tile map generator with different tiles and set certain sprites to certain tiles using the place mysprite on array of tiles ___. And make this a function, then get the Arcade-tile-until extension. after the function add an if block with on A button pressed then use the Cover all ___ tiles with ___ block. I hope this helps and makes sense. If not let me know using @SOCKMONSTER12 in your next message.
1 Like
When I made Minesweeper I only used tiles and one sprite for the control. If you want you can try to understand what the heck my code is doing https://arcade.makecode.com/S68883-58169-27322-73125
1 Like
Or you could use “tile to center of my sprite” and then reveal the sprit at the center of that tile?
1 Like