Hello, guys. I'm new here at this forum
Here's the thing. I'm creating a simple game that consists in a small dungeon, viewed in a 2D aerial perspective – much like Zelda a Link to the Past.
Until now everything is going good, but I was wondering if I could use some lightning system to simulate the player's line of sight.
I assumed that I'll have to create a texture to map the walls and every object that would stop the light to be projected starting from it and, somehow, use it as an alpha mask over my original dungeon map. I created such map, but I got no idea how to do the rest of the process. Any kind of help will be much appreciated :) .
Just keep in mind that I'm not using openGl, since it's a 2D project.
Just keep in mind that I'm not using openGl, since it's a 2D project.
Thanks in advance!
1