Added effects manager and two effects to test attached to the player

scene.
This commit is contained in:
Henry Faber 2026-06-24 14:48:02 +01:00
parent 1200ac7e32
commit b4c4a66ce8
19 changed files with 322 additions and 40 deletions

View file

@ -19,6 +19,10 @@ var previous_position: Vector2
var ship_displacement: float
var travel: float = 0
# Effects Testing
var flash_effect = preload("res://resources/effects/flash_weapon_change.tres")
var blink_effect = preload("res://resources/effects/invincibility_blink.tres")
func _ready() -> void:
## Set initial start position
@ -50,3 +54,4 @@ func _process(delta) -> void:
# Cycle weapon (testing key)
if input_component.cycle_weapon:
weapon_component.cycle_weapon()
$EffectsComponent.apply_effect(flash_effect)