I'm having some problems with my current game. Short description: It's a 2D game where you have to avoid the lights or you lose HP.
My problem is the following one:
Here is the rendering process:
- The background is drawn
- The Moon image is drawn
- The point light is applied
- The collision layer and the images attached to it are drawn
- Player is drawn
- The foreground image (on the top left and bottom middle)
My problem is that the rendering does not look realistic. I need some help on how I could make the light coming from "behind" the collisions and applying it everywhere.
Thanks for your help.