Files
GMTK25/arrow/arrow_spawner.gd
Minimata 3450c463f9
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 2m22s
feat: arrows and stuff
2025-08-02 15:51:29 +02:00

11 lines
252 B
GDScript

extends Node2D
@export var arrow_scene: PackedScene
@onready var spawn_timing: Timer = $SpawnTiming
func _on_spawn_timing_timeout() -> void:
var arrow: Node2D = arrow_scene.instantiate()
arrow.global_position = global_position
add_sibling(arrow)