Hi, I'm workin on a simple 2d game with sdl. I'm currently trying to add some lighting but I have no idea on how to do it. I don't want to use opengl because i think it's very complex and hard to learn(althought i know that the most convenient way to add lighting is with shaders) so I'm doing the lights with alpha bending.
I'm trying to archieve something like this:

I drawed a black square on top of the screen with alpha blending so the game looked like it was dark, but now I have no idea on how to make things visivle and add those "lights".
Any ideas?
thanks in advance