224 lines
10 KiB
Plaintext
224 lines
10 KiB
Plaintext
[gd_scene load_steps=30 format=2]
|
|
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=3]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=4]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/HoverStartAnimation.gd" type="Script" id=5]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-pix.png" type="Texture" id=6]
|
|
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=7]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-014.png" type="Texture" id=9]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-011.png" type="Texture" id=10]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-002.png" type="Texture" id=11]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-007.png" type="Texture" id=12]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-005.png" type="Texture" id=13]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-001.png" type="Texture" id=14]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-009.png" type="Texture" id=15]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-010.png" type="Texture" id=16]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-003.png" type="Texture" id=17]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-013.png" type="Texture" id=18]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-012.png" type="Texture" id=19]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-015.png" type="Texture" id=20]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-006.png" type="Texture" id=21]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-016.png" type="Texture" id=22]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-004.png" type="Texture" id=23]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/eneko-anim/unscreen-008.png" type="Texture" id=24]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/columna.png" type="Texture" id=25]
|
|
[ext_resource path="res://gymkhana/rooms/trasera_cocina/assets/background trasera cocina-pix-height.png" type="Texture" id=26]
|
|
[ext_resource path="res://gymkhana/items/inventory/I_Bombona.tscn" type="PackedScene" id=27]
|
|
[ext_resource path="res://gymkhana/addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=28]
|
|
|
|
[sub_resource type="SpriteFrames" id=2]
|
|
animations = [ {
|
|
"frames": [ ExtResource( 14 ), ExtResource( 11 ), ExtResource( 17 ), ExtResource( 23 ), ExtResource( 13 ), ExtResource( 21 ), ExtResource( 12 ), ExtResource( 24 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 10 ), ExtResource( 19 ), ExtResource( 18 ), ExtResource( 9 ), ExtResource( 20 ), ExtResource( 22 ) ],
|
|
"loop": true,
|
|
"name": "default",
|
|
"speed": 5.0
|
|
} ]
|
|
|
|
[sub_resource type="NavigationPolygon" id=1]
|
|
vertices = PoolVector2Array( 155, 425, 129, 383, 260, 374, 1511, 445, 1512, 574, 193, 574, 1133, 474, 359, 376, 385, 397, 442, 395, 464, 432, 506, 457, 1318, 435, 1367, 411, 1420, 441, 725, 472, 794, 462, 846, 467, 864, 482, 749, 460, 584, 468, 1249, 454, 981, 480 )
|
|
polygons = [ PoolIntArray( 0, 1, 2 ), PoolIntArray( 3, 4, 5, 6 ), PoolIntArray( 5, 0, 2, 7, 8 ), PoolIntArray( 8, 9, 10, 5 ), PoolIntArray( 5, 10, 11 ), PoolIntArray( 12, 13, 14 ), PoolIntArray( 15, 16, 17, 18, 5 ), PoolIntArray( 15, 19, 16 ), PoolIntArray( 5, 11, 20 ), PoolIntArray( 21, 12, 14 ), PoolIntArray( 5, 20, 15 ), PoolIntArray( 21, 14, 3, 6 ), PoolIntArray( 22, 6, 5 ), PoolIntArray( 5, 18, 22 ) ]
|
|
outlines = [ PoolVector2Array( 260, 374, 359, 376, 385, 397, 442, 395, 464, 432, 506, 457, 584, 468, 725, 472, 749, 460, 794, 462, 846, 467, 864, 482, 981, 480, 1133, 474, 1249, 454, 1318, 435, 1367, 411, 1420, 441, 1511, 445, 1512, 574, 193, 574, 155, 425, 129, 383 ) ]
|
|
|
|
[node name="ESCRoom" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
global_id = "trasera_cocina"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/trasera_cocina.esc"
|
|
player_scene = ExtResource( 7 )
|
|
camera_limits = [ Rect2( 0, 0, 1500, 577 ) ]
|
|
editor_debug_mode = 1
|
|
|
|
[node name="ESCBackground" type="TextureRect" parent="."]
|
|
margin_left = 17.0
|
|
margin_top = 4.0
|
|
margin_right = 1517.0
|
|
margin_bottom = 581.0
|
|
mouse_filter = 2
|
|
texture = ExtResource( 6 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 1476, 363 )
|
|
scale = Vector2( 0.634168, 0.634168 )
|
|
frames = SubResource( 2 )
|
|
frame = 7
|
|
playing = true
|
|
flip_h = true
|
|
|
|
[node name="AnimatedSprite2" type="AnimatedSprite" parent="."]
|
|
position = Vector2( 1018, 333 )
|
|
scale = Vector2( 0.867751, 0.867751 )
|
|
frames = SubResource( 2 )
|
|
frame = 6
|
|
playing = true
|
|
offset = Vector2( -0.09375, 20.0582 )
|
|
|
|
[node name="ESCTerrain" type="Navigation2D" parent="."]
|
|
script = ExtResource( 4 )
|
|
scales = ExtResource( 26 )
|
|
scale_min = 0.5
|
|
|
|
[node name="NavigationPolygonInstance" type="NavigationPolygonInstance" parent="ESCTerrain"]
|
|
navpoly = SubResource( 1 )
|
|
|
|
[node name="ESCLocation" type="Position2D" parent="."]
|
|
position = Vector2( 786, 501 )
|
|
script = ExtResource( 3 )
|
|
global_id = "trasera_cocina_start"
|
|
is_start_location = true
|
|
|
|
[node name="Hotspots" type="Node2D" parent="."]
|
|
|
|
[node name="entrada_cocina" type="Area2D" parent="Hotspots"]
|
|
pause_mode = 1
|
|
script = ExtResource( 28 )
|
|
global_id = "l_exit"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/entrada_cocina.esc"
|
|
is_exit = true
|
|
tooltip_name = "Esto es una puerta"
|
|
combine_when_selected_action_is_in = [ ]
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
tooltip2_name = "Entrar!"
|
|
animations = null
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/entrada_cocina"]
|
|
position = Vector2( 740.494, -123.8 )
|
|
scale = Vector2( 0.963362, 0.9875 )
|
|
polygon = PoolVector2Array( 21, 575, 22, 331, 135, 339, 137, 581 )
|
|
|
|
[node name="Position2D" type="Position2D" parent="Hotspots/entrada_cocina"]
|
|
position = Vector2( 748, 465 )
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="bombona" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 557, 408 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="bombona2" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 357, 408 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona2"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona2.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="bombona3" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 857, 508 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona3"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona3.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="bombona4" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 757, 508 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona4"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona4.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="bombona5" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 557, 508 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona5"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona5.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="bombona6" parent="Hotspots" instance=ExtResource( 27 )]
|
|
position = Vector2( 1057, 508 )
|
|
script = ExtResource( 28 )
|
|
global_id = "i_bombona6"
|
|
esc_script = "res://gymkhana/rooms/trasera_cocina/esc/i_bombona6.esc"
|
|
tooltip_name = "TT Mirar bombona"
|
|
action1_text = ""
|
|
action2_text = ""
|
|
tooltip2_name = "TT2 Coger bombona"
|
|
inventory_action1_text = "¿Cómo ha entrado en mi bolsillo?"
|
|
inventory_action2_text = "¿Por qué es una llave inglesa?"
|
|
animations = null
|
|
|
|
[node name="Columna" type="Sprite" parent="."]
|
|
position = Vector2( 253.25, 294.5 )
|
|
scale = Vector2( 0.973684, 1.02358 )
|
|
z_index = 400
|
|
texture = ExtResource( 25 )
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="."]
|
|
margin_left = 598.0
|
|
margin_top = 283.0
|
|
margin_right = 692.0
|
|
margin_bottom = 464.0
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
position = Vector2( 598, 283 )
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D"]
|
|
polygon = PoolVector2Array( 15, 112, 29, 118, 31, 147, 29, 181, 56, 186, 63, 174, 81, 186, 105, 185, 95, 156, 102, 112, 92, 89, 94, 50, 79, 27, 69, 17, 42, -4, 32, 19, 20, 31, 0, 71, 18, 86 )
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="AnimatedSprite3" type="AnimatedSprite" parent="Area2D/CollisionPolygon2D"]
|
|
position = Vector2( 53, 77 )
|
|
scale = Vector2( 0.752992, 0.752993 )
|
|
frames = SubResource( 2 )
|
|
offset = Vector2( -0.09375, 20.0582 )
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="Area2D"]
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
|
|
[connection signal="mouse_entered" from="TextureRect" to="Area2D/CollisionPolygon2D" method="_on_TextureRect_mouse_entered"]
|
|
[connection signal="mouse_entered" from="Area2D" to="Area2D/CollisionPolygon2D" method="_on_Area2D_mouse_entered"]
|
|
[connection signal="mouse_exited" from="Area2D" to="Area2D/CollisionPolygon2D" method="_on_Area2D_mouse_exited"]
|