added door to despensa
This commit is contained in:
@@ -40,17 +40,36 @@ esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/puerta_cocina
|
|||||||
is_exit = true
|
is_exit = true
|
||||||
combine_when_selected_action_is_in = [ ]
|
combine_when_selected_action_is_in = [ ]
|
||||||
dialog_color = Color( 1, 1, 1, 1 )
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
action1_text = "Entrar"
|
action1_text = "Entrar en la cocina"
|
||||||
animations = null
|
animations = null
|
||||||
|
|
||||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="puerta_cocina"]
|
[node name="puerta_cocina_collision" type="CollisionPolygon2D" parent="puerta_cocina"]
|
||||||
position = Vector2( 630, -130 )
|
position = Vector2( 630, -130 )
|
||||||
scale = Vector2( 0.963362, 0.9875 )
|
scale = Vector2( 0.963362, 0.9875 )
|
||||||
polygon = PoolVector2Array( -1.03802, 589.367, -1.03809, 311.899, 166.085, 311.899, 166.085, 589.367 )
|
polygon = PoolVector2Array( -1.03802, 589.367, -1.03809, 311.899, 166.085, 311.899, 166.085, 589.367 )
|
||||||
|
|
||||||
[node name="start" type="Position2D" parent="puerta_cocina"]
|
[node name="puerta_cocina_start" type="Position2D" parent="puerta_cocina"]
|
||||||
position = Vector2( 716, 473 )
|
position = Vector2( 716, 473 )
|
||||||
script = ExtResource( 5 )
|
script = ExtResource( 5 )
|
||||||
|
global_id = "puerta_cocina_start"
|
||||||
|
|
||||||
|
[node name="puerta_despensa" type="Area2D" parent="."]
|
||||||
|
pause_mode = 1
|
||||||
|
script = ExtResource( 6 )
|
||||||
|
global_id = "cocina_delante_puerta_despensa"
|
||||||
|
esc_script = "res://gymkhana/rooms/turno_cocina/cocina_delante/esc/puerta_despensa.esc"
|
||||||
|
is_exit = true
|
||||||
|
combine_when_selected_action_is_in = [ ]
|
||||||
|
dialog_color = Color( 1, 1, 1, 1 )
|
||||||
|
action1_text = "Bajar a la despensa"
|
||||||
|
animations = null
|
||||||
|
|
||||||
|
[node name="puerta_despensa_collision" type="CollisionPolygon2D" parent="puerta_despensa"]
|
||||||
|
position = Vector2( 51, 113 )
|
||||||
|
scale = Vector2( 0.963362, 0.9875 )
|
||||||
|
polygon = PoolVector2Array( -1.03803, 470.886, -1.03809, 311.899, 72.6622, 311.899, 71.6242, 469.873 )
|
||||||
|
|
||||||
|
[node name="puerta_despensa_start" type="Position2D" parent="puerta_despensa"]
|
||||||
|
position = Vector2( 90, 621 )
|
||||||
|
script = ExtResource( 5 )
|
||||||
global_id = "start"
|
global_id = "start"
|
||||||
is_start_location = true
|
|
||||||
player_orients_on_arrival = false
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
:setup
|
:setup
|
||||||
teleport player start
|
teleport player puerta_cocina_start
|
||||||
set_angle player 180
|
set_angle player 180
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
:action1
|
||||||
|
change_scene "res://gymkhana/rooms/turno_cocina/despensa/despensa.tscn"
|
||||||
Reference in New Issue
Block a user