add 2-stage

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-09 20:26:24 -07:00
parent 9c55a8715a
commit 8e347e59e9
53 changed files with 2011 additions and 11 deletions

View file

@ -230,8 +230,9 @@ func _physics_process(_delta: float) -> void:
func _input(event: InputEvent) -> void:
if event.is_action_pressed("freeroam_open_curtains"):
for curtain in FreeRoamMaps.MapIndex[get_node("../").current_map]["curtains"]:
get_node("../../" + curtain + "/AnimationPlayer").speed_scale = 0.2
get_node("../../" + curtain + "/AnimationPlayer").play("Up")
for curtain_movement in FreeRoamMaps.MapIndex[get_node("../").current_map]["curtains"][curtain]:
get_node("../../" + curtain + "/AnimationPlayer").speed_scale = 0.2
get_node("../../" + curtain + "/AnimationPlayer").play(curtain_movement)
if (transport_enabled):
if event.is_action_pressed("freeroam_transport_play_pause"):
if (playing): _on_pause_button_pressed()