View Single Post
  #21  
06-08-2012, 07:05 AM
JayDee's Avatar
JayDee
Global Moderator
Problem Sleuth
 
: Aug 2008
: AAAAAA
: 1,119
Blog Entries: 28
Rep Power: 17
JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)JayDee  (1389)

:
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.
__________________

Reply With Quote