Refactors the lightning projectile to handle collisions more effectively. It now stops upon hitting an enemy or object, triggers an explosion, and spawns child projectiles from the collision point. The lightning bolt's collision shape is dynamically updated to match the remaining distance to the target or the collision point. Also adds more test enemies to the map for testing purposes. |
||
|---|---|---|
| .. | ||
| bolt.gd | ||
| bolt.gd.uid | ||
| bolt.tscn | ||