Commit Graph

9 Commits

Author SHA1 Message Date
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
Florian Rival ed7ddd2b67 Improve autocompletions for JavaScript code events and for the game engine 2020-05-17 19:30:58 +01:00
Florian Rival 64dbab1bce Fix layer center position after resolution update 2020-01-02 21:33:36 +00:00
Florian Rival 5a3d2cc2b9 Reduce iterations of polygon benchmark 2018-12-26 23:22:10 +01:00
Florian Rival f39af51fda Add benchmark for polygon collision test and add test runner for Firefox 2018-12-26 13:45:45 +01:00
Florian Rival 704eaacc7e Enable back all GDJS tests 2018-12-26 12:52:51 +01:00
Florian Rival 2e240643a2 Make access to variables 50% faster 2018-11-28 23:12:07 +00:00
Florian Rival 566517320d Increase benchmarks timeout to avoid timeout on CI 2018-11-11 22:08:34 +00:00
Florian Rival 7a838fc8f9 Refactor GDJS benchmarks 2018-10-28 06:41:09 -07:00