TH-Kibidanshaku/scene/stage_1.gd
2024-01-03 13:40:31 +09:00

21 lines
370 B
GDScript

extends Node
var time = 0
# Called when the node enters the scene tree for the first time.
func _ready():
$Player.position = $StartPos.position
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
time += delta
func _on_player_shot_signal(shot):
add_child(shot)
func _on_game_body_exited(body):
body.queue_free()