godot-plateformer/_game/game.gd

7 lines
129 B
GDScript

extends Node2D
func _ready() -> void:
$L1_S1.switch_act_by_id(1)
get_tree().call_group(&"PLAYER_RESPAWN",&"respawn_avatar")