I want to create a minimap for a metroidvania, but I don´t want the unexplored paths to be seen. I have watched many tutorials, and so far I have achieved a minimap that follows the character. Still I don´t know how to conceal the unexplored areas with something like a fog of war that is cleaned as the player moves through it (in the minimap), and also its data must be saved.
If you know where I can find a tutorial about this subject or give me some clues on how to achieve it I would appreciate it.
There’s a billion youtube tutorials for fog of war.
The concepts are:
a data store representing what you have and haven’t seen
something to update it as you move
a presentation mechanism that considers the above data and obscures things
The details will have everything to do with YOUR game, exactly how the maps work, what constitutes discover, what constitutes obscuration (everything? just enemies? something else), etc.