[gd_scene load_steps=12 format=2] [ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.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://game/fonts/caslonantique.tres" type="DynamicFont" id=3] [ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4] [ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.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_location.gd" type="Script" id=7] [sub_resource type="NavigationPolygon" id=1] vertices = PoolVector2Array( 1143.08, 613.35, 1267.68, 669.029, 1275.03, 799.721, -9.16094, 803.802, -6.44019, 711.297, 84.5821, 654.06, 742.298, 623.672, 581.028, 613.592, 583.548, 574.535, 707.02, 574.535, 714.58, 611.072, 3.15687, 646.051, 59.2201, 628.698, 129.634, 615.792, 530.631, 612.332, 550.79, 623.672, 783.875, 609.812 ) polygons = [ PoolIntArray( 0, 1, 2, 3, 4, 5, 6 ), PoolIntArray( 7, 8, 9, 10 ), PoolIntArray( 4, 11, 12, 5 ), PoolIntArray( 5, 13, 14, 15 ), PoolIntArray( 7, 10, 6, 15 ), PoolIntArray( 6, 16, 0 ), PoolIntArray( 6, 5, 15 ) ] outlines = [ PoolVector2Array( -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698, 84.5821, 654.06, 129.634, 615.792, 530.631, 612.332, 550.79, 623.672, 581.028, 613.592, 583.548, 574.535, 707.02, 574.535, 714.58, 611.072, 742.298, 623.672, 783.875, 609.812, 1143.08, 613.35, 1267.68, 669.029, 1275.03, 799.721, -9.16094, 803.802 ) ] [sub_resource type="Animation" id=2] resource_name = "door_close" tracks/0/type = "value" tracks/0/path = NodePath("door:polygon") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ PoolVector2Array( 557.104, 45.8, 743.623, 45.8, 744.482, 48.9414, 555.602, 48.274 ), PoolVector2Array( 557.104, 45.8, 743.623, 45.8, 746.798, 345.025, 557.898, 347.406 ) ] } tracks/1/type = "value" tracks/1/path = NodePath(".:is_exit") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0.6 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ false ] } [sub_resource type="Animation" id=3] resource_name = "door_open" tracks/0/type = "value" tracks/0/path = NodePath("door:polygon") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 0.5 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ PoolVector2Array( 557.104, 45.8, 743.623, 45.8, 746.798, 345.025, 557.898, 347.406 ), PoolVector2Array( 557.104, 45.8, 743.623, 45.8, 744.482, 48.9414, 555.602, 48.274 ) ] } tracks/1/type = "value" tracks/1/path = NodePath(".:is_exit") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/imported = false tracks/1/enabled = true tracks/1/keys = { "times": PoolRealArray( 0, 0.6 ), "transitions": PoolRealArray( 1, 1 ), "update": 1, "values": [ false, true ] } [sub_resource type="RectangleShape2D" id=4] extents = Vector2( 20.3273, 18.0047 ) [node name="room8" type="Node2D"] script = ExtResource( 6 ) __meta__ = { "_edit_vertical_guides_": [ ] } global_id = "room8" esc_script = "res://game/rooms/room08/esc/room08.esc" player_scene = ExtResource( 4 ) camera_limits = [ Rect2( 0, 0, 1289, 555 ) ] [node name="background" type="TextureRect" parent="."] margin_right = 1289.0 margin_bottom = 555.0 mouse_filter = 2 script = ExtResource( 2 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="l_platform" type="Line2D" parent="background"] 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="background"] 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="m_door" type="Line2D" parent="background"] position = Vector2( 0, -267.828 ) points = PoolVector2Array( 555.952, 615.32, 554.538, 311.267, 744.043, 312.679, 746.871, 615.32, 557.367, 616.734 ) [node name="Label" type="Label" parent="background"] margin_right = 48.0 margin_bottom = 16.0 custom_fonts/font = ExtResource( 3 ) text = "Room 8" __meta__ = { "_edit_use_anchors_": false } [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="Node" parent="."] [node name="l_door" type="Area2D" parent="Hotspots"] pause_mode = 1 script = ExtResource( 5 ) __meta__ = { "_editor_description_": "" } global_id = "r8_l_exit" esc_script = "res://game/rooms/room08/esc/left_exit.esc" is_exit = true tooltip_name = "Exit" dialog_color = Color( 1, 1, 1, 1 ) animations = null [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_door"] polygon = PoolVector2Array( 2.93237, 447.051, 2.93237, 127.051, 88.9324, 71.0505, 90.9324, 379.051 ) [node name="Position2D" type="Position2D" parent="Hotspots/l_door"] position = Vector2( 45.47, 383.99 ) script = ExtResource( 7 ) [node name="m_door" type="Area2D" parent="Hotspots"] pause_mode = 1 script = ExtResource( 5 ) __meta__ = { "_editor_description_": "" } global_id = "r8_m_door" esc_script = "res://game/rooms/room08/esc/middle_exit.esc" tooltip_name = "Exit" dialog_color = Color( 1, 1, 1, 1 ) animations = null [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/m_door"] visible = false polygon = PoolVector2Array( 557.522, 348.813, 551.222, 42.6524, 743.99, 43.9123, 750.289, 345.033 ) [node name="Position2D" type="Position2D" parent="Hotspots/m_door"] position = Vector2( 653.466, 366.589 ) script = ExtResource( 7 ) [node name="door" type="Polygon2D" parent="Hotspots/m_door"] color = Color( 0.4, 0.501961, 1, 1 ) polygon = PoolVector2Array( 557.104, 45.8, 743.623, 45.8, 746.798, 345.025, 557.898, 347.406 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="Hotspots/m_door"] anims/door_close = SubResource( 2 ) anims/door_open = SubResource( 3 ) [node name="r8_mini_puzzle_button" type="Area2D" parent="Hotspots"] pause_mode = 1 script = ExtResource( 5 ) global_id = "r8_button_puzzle" esc_script = "res://game/rooms/room08/esc/button_puzzle.esc" tooltip_name = "Button" default_action = "use" dialog_color = Color( 1, 1, 1, 1 ) animations = null [node name="button" type="Line2D" parent="Hotspots/r8_mini_puzzle_button"] position = Vector2( -588.313, 5.65686 ) points = PoolVector2Array( 1048.39, 178.619, 1048.39, 208.814, 1076.99, 208.814, 1078.05, 183.387, 1052.09, 183.916 ) default_color = Color( 0.4, 0.501961, 1, 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/r8_mini_puzzle_button"] position = Vector2( 474.343, 201.414 ) shape = SubResource( 4 ) [node name="Position2D" type="Position2D" parent="Hotspots/r8_mini_puzzle_button"] position = Vector2( 474.801, 369.29 ) script = ExtResource( 7 ) [node name="button_puzzle" type="Label" parent="Hotspots/r8_mini_puzzle_button"] margin_left = 445.617 margin_top = 166.124 margin_right = 508.617 margin_bottom = 182.124 custom_fonts/font = ExtResource( 3 ) text = "Run puzzle" __meta__ = { "_edit_use_anchors_": false } [node name="r8_reset_puzzle_button" type="Area2D" parent="Hotspots"] pause_mode = 1 position = Vector2( -139.185, 0 ) script = ExtResource( 5 ) global_id = "r8_button_reset_puzzle" esc_script = "res://game/rooms/room08/esc/button_reset_puzzle.esc" tooltip_name = "Button" default_action = "use" dialog_color = Color( 1, 1, 1, 1 ) animations = null [node name="button" type="Line2D" parent="Hotspots/r8_reset_puzzle_button"] position = Vector2( -588.313, 5.65686 ) points = PoolVector2Array( 1048.39, 178.619, 1048.39, 208.814, 1076.99, 208.814, 1078.05, 183.387, 1052.09, 183.916 ) default_color = Color( 0.4, 0.501961, 1, 1 ) [node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/r8_reset_puzzle_button"] position = Vector2( 474.343, 201.414 ) shape = SubResource( 4 ) [node name="Position2D" type="Position2D" parent="Hotspots/r8_reset_puzzle_button"] position = Vector2( 474.801, 369.29 ) script = ExtResource( 7 ) [node name="reset_puzzle" type="Label" parent="Hotspots/r8_reset_puzzle_button"] margin_left = 441.128 margin_top = 166.124 margin_right = 512.128 margin_bottom = 182.124 custom_fonts/font = ExtResource( 3 ) text = "Reset puzzle" __meta__ = { "_edit_use_anchors_": false } [node name="player_start" type="Position2D" parent="."] position = Vector2( 76.7617, 437.649 ) script = ExtResource( 7 ) global_id = "r8_player_start" is_start_location = true