Adds lightning projectile

Implements a lightning projectile with visual effects.
The lightning is created using a series of bolt components that dynamically adjust their shape.
Also refactors the projectile system to use a base class.

Removes unused modifiers from player script.
This commit is contained in:
Dan Baker 2025-05-05 16:42:51 +01:00
parent ff62d67f54
commit d0c2a7b3c8
12 changed files with 239 additions and 103 deletions

View file

@ -19,7 +19,7 @@ func process(_delta):
var normalized_direction = direction.normalized()
if Input.is_action_pressed("fire"):
player.weapon.fire(normalized_direction)
player.weapon.fire(normalized_direction, mouse_position)
# Update animation
#update_animation()