Set up power up spawner to test weapon collection functions.

This commit is contained in:
Henry Faber 2026-06-30 13:50:31 +01:00
parent 3ec8cb8095
commit 8fe05e0c70
8 changed files with 156 additions and 2 deletions

View file

@ -8,7 +8,7 @@ var _current_weapon_index = 0
var _current_power_level = 0
var _cycled_weapon: WeaponShot = null
@onready var effects_component: EffectComponent = get_node("EffectsComponent")
@onready var effects_component: EffectComponent = get_node("../EffectsComponent")
func _ready() -> void:
# Set the default weapon to be stock, i.e. index 1