hey everyone!
need some opinions on how to better achieve a lighting system for a 2d platform game.
my references are these:
this is what i have right now:
im using around 1000 black square sprites, that follow the camera, and change their color from black to white, depending on "light" conditions.
im using the lineofsight plugin to reproduce the shadowLight plugin. and using a simple distance thing to draw some light around the player.
main problems:
1 - well, its super mega uber not optimized, and runs really slow.
2a - since the tile map blocks the line of sight (just like with the shadowLight) the actual platform terrain is 100% black (unless when close to the player, when i force some light there) this is really bad obviously because how are you going to play a platform game when you dont actually see the actual platforms!?
2b - you could say, well, make the platform visual on top of the shadow. but then... its just going to look horrible! and defeats the purpose of even wanting to have this shadow going on.
*why not use the shadowLight? well, first of all, it renders perfect aliased shadows and i dont feel like that works visually with my game. and, it has the same problem from "2a/2b".
ideas??