Added new room demonstrating a puzzle scene superposed on top of the room.

Need ESC commands to hide escoria.main.current_room and escoria.main.game.ui.*
This commit is contained in:
Julian Murgia
2021-01-22 14:00:57 +01:00
parent 6890d927f5
commit 9fd1d6738d
15 changed files with 606 additions and 107 deletions

View File

@@ -0,0 +1,9 @@
:look
say player "That must be the command to open the door."
:use
> [!r8_m_door_open]
superpose_scene "res://game/rooms/room8/puzzle/10_buttons_puzzle.tscn"
> [r8_m_door_open]
say player "The door is already open."

View File

@@ -0,0 +1,6 @@
:look
say player "That must be the command to open the door."
:use
set_global r8_m_door_open false
set_state r8_m_door door_close

View File

@@ -0,0 +1,2 @@
:exit_scene
change_scene "res://game/rooms/room7/room7.tscn"

View File

@@ -0,0 +1,2 @@
:exit_scene
#change_scene "res://game/rooms/room9/room9.tscn"