Active Users28 guests
Light and shadow engine
This is light engine made by masterxy. It is easy to use and it allows many colored lights and any shape can be a shadow caster. Only changes from original is that variable_exists() has been removed and I added a circular shape to the example. It works about 7x faster in ENIGMA than in GM8. Other optimizations specific for GM could be made as well.
video in action: http://www.youtube.com/watch?v=MaDPr2Z1-lM