Gradually Revealing Mini Map Possible?!

Hey, Friends! Long time lurker, first time poster.

I have an amazing game-maker who is shooting for the stars in my class. I’m advocating for him by reaching out to all you smart folks and see what’s possible and what’s not. Here’s what he wrote…

“I would love for my maze game to have a mini map in the bottom left corner where I could see the full maze gradually reveal itself as my players play more of the maze. Is that possible at all? I made my maze with the tile map tool… is there a feature to make mini maps or maps that reveal themselves slowly as you play?”

TIA for any help you can offer Liam!

4 Likes

Hm a long while back one of our team members made a minimap extension Minimap extension beta - Arcade - Microsoft MakeCode (but that’s quite a while back), and there’s one on raycasting for only having line of sight Help and Questions - Arcade / Help - Microsoft MakeCode, but I don’t recall any specific ones closer to a ‘fog of war’ that only reveals as you get there but stays revealed right away :thinking:

4 Likes

This is 100% possible to program in blocks! Here is a small demo I made:

Here I have used the arcade-sprite-util extension to add that “render on z index” block, just because drawing on a sprite causes more lag than I would like personally, especially if the sprite is large.

4 Likes

Hey @WoofWoof this works as an amazing solution for one of my game, can I use this code?

I have a question though. can I create a map that you can open, it will cover your entire screen, and you can see the entire tile map? like this?

2 Likes

Yup! Absolutely. None of my code is ever very… special to me? Like at all, anyone can use it. I did think it was odd when someone took the teeny tiny cat level design but I’m not ever gonna have an issue with something like that. Of course it is always good to credit people!

If you put a IF block around the code in the render block, you can easily control when it renders. Just make sure to prevent the player from moving while in the map view!

2 Likes