TileLighting

January 10, 2014 ยท View on GitHub

Dynamic tile-lighting system for FlashPunk.

Features

  • Light position, size, brightness, and falloff
  • Custom light tiles
  • Additive lights
  • Enable/disable lights without removing them
  • Only renders visible lights/updates visible screen
  • Auto-update or manual control

Changelog

1/09/2014

  • Updated gitignore and committed flashpunk lib and project file (dont know why I didnt do this in the first place!)
  • Updated demo; placing light now places copy of the light attached to the mouse

12/08/2012

  • Performance fix in the checkblock function. Large lights and many lights shouldn't cause such a huge slowdown anymore.

12/05/2012

  • Initial release.