I'm building a top-down game that has dynamic movement through multiple Z elevation. There are multiple lighting torches behind multiple Z platforms which the player transitions through.
The issue that I'm getting is that the flashlight effect requires you to have the flashlight sprite on a different layer on top of my top-down platforms (according to the Simple Lighting Example in C3).
I can't seem to have those torches behind some sprites as they are on a different layer on top. Basically all the torches just appears on top of everything even if their Z elevations are correctly positioned on multiple Z elevation platforms.
Perhaps I'm missing some blend modes that I couldn't wrap my head around that works within a layer.
This problem gets even complicated when there is a day-night system.