Commit Graph

4 Commits

Author SHA1 Message Date
Florian Rival f2287dd1ef Fix tween behavior not working with Light object color 2020-08-31 13:27:51 +01:00
Harsimran Virk 136964053b Renamed variables and changed doc 2020-08-21 12:52:08 +05:30
Harsimran Virk 755c72c0bf Fixed undefined handling of light obstacle manager. Moved texture handling in renderer. 2020-08-19 16:20:36 +05:30
Harsimran Singh Virk b7902bb141 Add support for dynamic 2D lights (#1881)
* This adds a **Light** object that can be added on the scene, with a customizable color and radius.
* Add the **Light Obstacle** behavior to the object that must acts as obstacle (walls, etc...) to the lights.
* You can customize the ambient color of the rest of the scene from almost white (useful to show light shadows) to entirely black (useful for horror/exploration games) or any color.
* Use effects on the "Lighting" layer like "Kawase Blur" to achieve soft shadows.
2020-08-17 17:48:26 +02:00