:
I actually have a pretty effective lighting snippet if you're interested:
All I did was create 2 new objects and a sprite. The first object objLightParent; nothing is needed in any events. It just acts as a parent. The 2nd object is objSpotlight which has the snippet above in the draw event and its parent is set to objLightParent. Then I created a sprite called sprSpotlight.
I just chucked them all into the room. I'm not sure why I'm telling you this, it's just my experience with lighting and I found it the most effective way.
|
This kind of lighting is what I use for the green radial lights that you can see on the platforms.