142 lines
5.4 KiB
Plaintext
142 lines
5.4 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
|
|
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" type="Script" id=4]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=6]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=7]
|
|
[ext_resource path="res://game/items/escitems/button.tscn" type="PackedScene" id=8]
|
|
|
|
[sub_resource type="NavigationPolygon" id=1]
|
|
vertices = PoolVector2Array( 1168.92, 640.557, 1182.53, 588.863, 1269.59, 622.872, 1275.03, 799.721, 864.626, 613.518, 1143.08, 613.35, -9.16094, 803.802, 386.666, 618.012, 129.634, 615.792, 84.5821, 654.06, -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698 )
|
|
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 0, 3, 6, 7 ), PoolIntArray( 8, 7, 6, 9 ), PoolIntArray( 9, 6, 10, 11, 12 ) ]
|
|
outlines = [ PoolVector2Array( -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698, 84.5821, 654.06, 129.634, 615.792, 386.666, 618.012, 864.626, 613.518, 1143.08, 613.35, 1168.92, 640.557, 1182.53, 588.863, 1269.59, 622.872, 1275.03, 799.721, -9.16094, 803.802 ) ]
|
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
|
extents = Vector2( 289.582, 45.1143 )
|
|
|
|
[node name="room13" type="Node2D"]
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_vertical_guides_": [ ]
|
|
}
|
|
global_id = "room13"
|
|
esc_script = "res://game/rooms/room13/esc/room13.esc"
|
|
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
|
|
|
|
[node name="l_platform" type="Line2D" parent="."]
|
|
position = Vector2( 2, -266 )
|
|
points = PoolVector2Array( -2.96298, 712.01, 129.973, 614.429, 1167.5, 612.894, 1274.59, 669.705, 1273.25, 812.694, 2.36697, 811.043, 2.36697, 713.389 )
|
|
|
|
[node name="l_door" type="Line2D" parent="."]
|
|
position = Vector2( 0, -266 )
|
|
points = PoolVector2Array( 6.61201, 704.409, 6.61203, 389.558, 87.755, 339.775, 87.5463, 649.784 )
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="r_door" type="Line2D" parent="."]
|
|
position = Vector2( 0, -267.828 )
|
|
points = PoolVector2Array( 1175.07, 620.086, 1171.24, 311.267, 1274.8, 356.87, 1278.31, 672.412, 1188.64, 624.843 )
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="room_label" type="Label" parent="."]
|
|
margin_right = 92.0
|
|
margin_bottom = 21.0
|
|
custom_fonts/font = ExtResource( 3 )
|
|
text = "ROOM 13"
|
|
|
|
[node name="walkable_area" type="Navigation2D" parent="."]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="platform" type="NavigationPolygonInstance" parent="walkable_area"]
|
|
position = Vector2( 6.73163, -264.779 )
|
|
navpoly = SubResource( 1 )
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="Hotspots" type="Node2D" parent="."]
|
|
|
|
[node name="l_door" type="Area2D" parent="Hotspots"]
|
|
pause_mode = 1
|
|
script = ExtResource( 7 )
|
|
global_id = "r13_l_exit"
|
|
esc_script = "res://game/rooms/room13/esc/left_exit.esc"
|
|
is_exit = true
|
|
tooltip_name = "Left exit"
|
|
default_action = "use"
|
|
combine_when_selected_action_is_in = [ ]
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
animations = null
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_door"]
|
|
polygon = PoolVector2Array( 0.328762, 440.897, 1.85199, 119.926, 85.9517, 74.6212, 87.1409, 377.869 )
|
|
|
|
[node name="Position2D" type="Position2D" parent="Hotspots/l_door"]
|
|
position = Vector2( 37.4521, 392.045 )
|
|
script = ExtResource( 5 )
|
|
global_id = "r12_l_exit"
|
|
|
|
[node name="Hint" type="Area2D" parent="Hotspots"]
|
|
pause_mode = 1
|
|
script = ExtResource( 7 )
|
|
global_id = "r13_hint"
|
|
esc_script = "res://game/rooms/room13/esc/hint.esc"
|
|
tooltip_name = "A hint"
|
|
default_action = "look"
|
|
combine_when_selected_action_is_in = [ ]
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
animations = null
|
|
|
|
[node name="Label" type="Label" parent="Hotspots/Hint"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_right = 1278.0
|
|
margin_bottom = 355.0
|
|
text = "Click on either doors to go on."
|
|
align = 1
|
|
valign = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/Hint"]
|
|
position = Vector2( 651.176, 177.775 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="r_door" type="Area2D" parent="Hotspots"]
|
|
position = Vector2( 1161.53, -2.99619 )
|
|
script = ExtResource( 4 )
|
|
target_scene = "res://game/rooms/room14/room14.tscn"
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door"]
|
|
polygon = PoolVector2Array( 11.9329, 46.7699, 15.928, 354.381, 118.798, 416.303, 117.799, 90.7143 )
|
|
|
|
[node name="Position2D" type="Position2D" parent="Hotspots/r_door"]
|
|
position = Vector2( 60.9229, 371.53 )
|
|
|
|
[node name="play_wav" parent="Hotspots" instance=ExtResource( 8 )]
|
|
position = Vector2( -172.899, -45.2554 )
|
|
global_id = "play_wav"
|
|
esc_script = "res://game/rooms/room13/esc/play_wav.esc"
|
|
tooltip_name = "Play WAV"
|
|
combine_when_selected_action_is_in = [ ]
|
|
|
|
[node name="play_wav_loop" parent="Hotspots" instance=ExtResource( 8 )]
|
|
position = Vector2( -173.479, 43.5148 )
|
|
global_id = "play_wav_loop"
|
|
esc_script = "res://game/rooms/room13/esc/play_wav_loop.esc"
|
|
tooltip_name = "Play WAV Loop"
|
|
combine_when_selected_action_is_in = [ ]
|
|
|
|
[node name="stop_loop" parent="Hotspots" instance=ExtResource( 8 )]
|
|
position = Vector2( -173.479, 132.865 )
|
|
global_id = "stop_loop"
|
|
esc_script = "res://game/rooms/room13/esc/stop_loop.esc"
|
|
tooltip_name = "Stop Looping"
|
|
combine_when_selected_action_is_in = [ ]
|