Hi, I’m new to Godot and wanted to create a 2D game with a top view, as many do, and I needed a LOS/FOV system to hide objects behind walls that are not visible to the player. To take a system in a game like SS14 or SS13, I need essentially the exact same vision effect for the player.
How far have you get so far?
At the very least you’ll need CanvasModulate on your map and a Pointlight2D on the player.
I have already drawn all the sprites I need to start with and have a character, walls, windows, floor and doors with animations
Walls and doors have their own collision I also have windows with their own collision and I need to do something like the fog of war so that the character can see through the windows and there was darkness outside the walls as in the same ss14 game
there may be problems with CanvsModula because it changes the time in the game day and night, and there is no way to set a second such node due to engine limitations
You should be able to set values in CanvasModulate either by setting a value in your code or by using an animation. You can have more than one CanvasModulate but I don’t remember how to do that correctly.