How to make a map that reveals as the player walks through it

I’m making a platformer game, and I want a map like the one in Hollow Knight. But I don’t want to reveal the pieces of map the player has discovered when sitting on a bench, like in that game. Instead, as the player moves through the level, I want the map to reveal. But I don’t know how to do that.

Also, if it changes how i have to make it, the map is in the inventory so the player doesn’t see it in the HUD. It’s not like a minimap.

Any hint in the right direction or documentation is really aprecciated. Thanks in advance!

The effect you speak of is called Fog Of War… tons of ways to go about it, checkout some Youtube tutorials.

1 Like