Adds "name" parameter to ESC spawn command (#410)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@ say player "That must be the command to open the door."
|
||||
:use
|
||||
> [!r8_m_door_open]
|
||||
#superpose_scene "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
|
||||
spawn "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
|
||||
spawn puzzle "res://game/rooms/room08/puzzle/10_buttons_puzzle.tscn"
|
||||
|
||||
> [r8_m_door_open]
|
||||
say player "The door is already open."
|
||||
|
||||
13
game/start_game.esc
Executable file → Normal file
13
game/start_game.esc
Executable file → Normal file
@@ -1,4 +1,13 @@
|
||||
:start
|
||||
:init
|
||||
|
||||
spawn _main_menu res://game/ui/commons/main_menu/main_menu.tscn false
|
||||
set_active _main_menu true
|
||||
|
||||
|
||||
:newgame
|
||||
|
||||
# Hide main menu
|
||||
set_active _main_menu false
|
||||
|
||||
# 1/ Simple scene
|
||||
change_scene res://game/rooms/room01/room01.tscn
|
||||
@@ -36,3 +45,5 @@ change_scene res://game/rooms/room01/room01.tscn
|
||||
|
||||
# 12/ Event flags tests 2
|
||||
#change_scene res://game/rooms/room12/room12.tscn
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user