dynamic menu and menu music
This commit is contained in:
parent
1f13716d42
commit
a9efa66b09
18 changed files with 386 additions and 41 deletions
|
@ -234,8 +234,8 @@ 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"]:
|
||||
for curtain_movement in FreeRoamMaps.MapIndex[get_node("../").current_map]["curtains"][curtain]:
|
||||
for curtain in FreeRoamMaps.MapIndex[get_node("../").current_map]["stage"]["curtains"]:
|
||||
for curtain_movement in FreeRoamMaps.MapIndex[get_node("../").current_map]["stage"]["curtains"][curtain]:
|
||||
get_node("../../" + curtain)._movement_in(curtain_movement + " Up", 0.2)
|
||||
if (transport_enabled):
|
||||
if event.is_action_pressed("freeroam_transport_play_pause"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue