ASCII Art Style Game

Godot 4.4

I want make ascii stile game like this https://www.youtube.com/watch?v=SDAHRMDgqto

How to do the same:
Field of view by tile.
Hiding enemies and interactive objects, outside field of view.
Gradual opening the map by field of view.

Most likely, I need to do a raycast, adjust the contrast, and hide objects for everything that falls outside the field of view.

But I don’t understand how to do it.

If you have a link to a video of how it’s done or to a finished project. Share it. I did not find such a thing.

You need several raycasts for the field of view thing. I think the easiest thing to do would be to query the world space directly.

To determine what tiles are in the FOV, you can just cast a ray from the player to the tile and if it hits, the tile is obstructed, and you can darken it. This can be done to reveal the tiles as well. Same thing for the enemies and objects, but you have to exclude them from the raycast so it doesn’t hit the enemy/object itself.