:setup action is not managed only once anymore (#358)

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-08-08 23:23:11 +02:00
committed by GitHub
parent cbb64df969
commit 61726bca81
20 changed files with 252 additions and 213 deletions

View File

@@ -1,14 +1,12 @@
# :SETUP is called EVERY TIME the room is loaded
# :READY is called only the FIRST TIME the room is loaded
:setup
> [eq ESC_LAST_SCENE room8]
teleport player r9_l_exit
> [eq ESC_LAST_SCENE room9]
teleport player r10_l_exit
# Set player look right
set_angle player 180
stop
> [eq ESC_LAST_SCENE room10]
teleport player r9_r_exit
> [eq ESC_LAST_SCENE room11]
teleport player r10_r_exit
# Set player look left
set_angle player 270
stop
@@ -16,10 +14,3 @@
teleport player player_start
stop
:ready
set_global open_closets 0
#set_state r9_closet_left closed
#set_state r9_closet_middle closed
#set_state r9_closet_right closed

View File

@@ -84,10 +84,10 @@ position = Vector2( 22.6786, 212.927 )
script = ExtResource( 5 )
[node name="Label" type="Label" parent="Hotspots/button_stop_bg_music"]
margin_left = -8.81946
margin_top = -30.2381
margin_right = 61.1805
margin_bottom = -14.2381
margin_left = -20.8195
margin_top = -29.2381
margin_right = 87.1805
margin_bottom = -8.2381
custom_fonts/font = ExtResource( 3 )
text = "Stop bg music"
__meta__ = {
@@ -105,10 +105,10 @@ position = Vector2( 22.6786, 212.927 )
script = ExtResource( 5 )
[node name="Label" type="Label" parent="Hotspots/button_play_bg_music"]
margin_left = -8.81946
margin_top = -30.2381
margin_right = 61.1805
margin_bottom = -14.2381
margin_left = -18.8195
margin_top = -29.2381
margin_right = 85.1805
margin_bottom = -8.2381
custom_fonts/font = ExtResource( 3 )
text = "Play bg music"
__meta__ = {
@@ -126,10 +126,10 @@ position = Vector2( 22.6786, 212.927 )
script = ExtResource( 5 )
[node name="Label" type="Label" parent="Hotspots/button_play_sound"]
margin_left = -8.81946
margin_top = -30.2381
margin_right = 61.1805
margin_bottom = -14.2381
margin_left = -10.8195
margin_top = -29.2381
margin_right = 72.1805
margin_bottom = -8.2381
custom_fonts/font = ExtResource( 3 )
text = "Play sound"
__meta__ = {
@@ -145,9 +145,10 @@ animations = null
[node name="Label" type="Label" parent="Hotspots/button_accept_input"]
margin_left = -3.6864
margin_top = -38.4435
margin_right = 71.3136
margin_bottom = -7.44354
margin_top = -44.4435
margin_right = 85.3136
margin_bottom = 0.556503
custom_fonts/font = ExtResource( 3 )
text = "Test Accept
Input"
__meta__ = {
@@ -167,10 +168,11 @@ tooltip_name = "Test slide"
animations = null
[node name="Label" type="Label" parent="Hotspots/button_slide"]
margin_left = -3.6864
margin_top = -38.4435
margin_right = 71.3136
margin_bottom = -7.44354
margin_left = -9.6864
margin_top = -28.4435
margin_right = 66.3136
margin_bottom = 2.55646
custom_fonts/font = ExtResource( 3 )
text = "Test Slide"
__meta__ = {
"_edit_use_anchors_": false
@@ -189,10 +191,11 @@ tooltip_name = "Test turn_to"
animations = null
[node name="Label" type="Label" parent="Hotspots/button_turn_to"]
margin_left = -3.6864
margin_top = -38.4435
margin_right = 71.3136
margin_bottom = -7.44354
margin_left = -14.6864
margin_top = -26.4435
margin_right = 80.3136
margin_bottom = 4.55646
custom_fonts/font = ExtResource( 3 )
text = "Test turn_to"
__meta__ = {
"_edit_use_anchors_": false