Renamed all room folders to use 2 digits.

This commit is contained in:
Julian Murgia
2021-07-06 08:48:41 +02:00
parent dc4cda82ab
commit 7de969d75e
129 changed files with 143 additions and 442 deletions

View File

@@ -0,0 +1,39 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=1]
[node name="background" type="TextureRect"]
margin_right = 2092.0
margin_bottom = 1970.0
mouse_filter = 2
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="low_platform" type="Line2D" parent="."]
position = Vector2( 2, 1139.32 )
points = PoolVector2Array( -2.96298, 712.01, 129.973, 614.429, 1983.92, 613.668, 2076.67, 670.75, 2079.05, 812.694, 2.36697, 811.043, 2.36697, 713.389 )
[node name="low_stairs" type="Line2D" parent="low_platform"]
position = Vector2( -2, 266 )
points = PoolVector2Array( 1049.73, 346.599, 1051.16, 24.8604, 832.783, 25.3764, 829.419, 346.599, 829.364, 347.648, 828.734, 314.26, 1044.72, 313.433, 1045.16, 292.5, 862.657, 293, 836.294, 309.85, 864.157, 290, 864.657, 264, 1043.66, 263.5, 1043.16, 245.5, 889.657, 244.5, 864.157, 262.5, 890.657, 242, 890.657, 219, 1046.16, 218.36, 1046.16, 196.86, 916.157, 197.36, 889.157, 216.36, 918.657, 193.86, 919.157, 172.36, 1045.66, 171.36, 1048.29, 148.878, 969.081, 147.031, 916.657, 169.36 )
[node name="l_door" type="Line2D" parent="low_platform"]
position = Vector2( -2, 0 )
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="low_platform"]
position = Vector2( 806.661, -1.828 )
points = PoolVector2Array( 1175.07, 620.086, 1171.24, 311.267, 1274.8, 356.87, 1271.64, 671.735, 1188.64, 624.843 )
[node name="upper_platform" type="Line2D" parent="."]
position = Vector2( 3.56348, 1405.32 )
points = PoolVector2Array( 2079.3, -389.423, 15.1762, -952.628, 13.387, -1281.56, 310.131, -1283.61, 2112.1, -1390.9, 310.131, -1283.61, 311.013, -960.022, 19.414, -956.866, 309.824, -958.833, 2080.98, -643.198, 2082.47, -392.598 )
[node name="upper_stairs" type="Line2D" parent="upper_platform"]
position = Vector2( 401.921, -1166.13 )
points = PoolVector2Array( 1054.04, 411.089, 1051.16, 24.8604, 818.179, 7.1228, 818.571, 365.834, 867.079, 342.133, 1049.09, 372.198 )

View File

@@ -0,0 +1,7 @@
:look
say player "That button makes the camera target me."
:use
camera_set_limits 0
camera_set_target 0 player

View File

@@ -0,0 +1,7 @@
:look
say player "That button triggers a camera push effect."
:use
camera_push r7_object2 1 LINEAR
wait 3
camera_push player 1 LINEAR

View File

@@ -0,0 +1,12 @@
:look
say player "That button triggers a camera set_pos effect."
:use
camera_set_limits 2
camera_set_pos 500 150 150
wait 6
camera_set_limits 0
camera_set_target 0 player

View File

@@ -0,0 +1,7 @@
:look
say player "That button triggers a camera shift effect."
:use
camera_shift 700 0 5 LINEAR
wait 1

View File

@@ -0,0 +1,10 @@
:look
say player "That button triggers a camera zoom effect."
:use
camera_set_zoom 1.3 2
wait 3
camera_set_zoom 0.5 2
wait 3
camera_set_zoom 1 0

View File

@@ -0,0 +1,2 @@
:exit_scene
change_scene "res://game/rooms/room06/room06.tscn"

View File

@@ -0,0 +1,13 @@
:exit_scene
say player "movin up"
teleport player r7_upper_stairs
set_angle player 270
camera_set_limits 2
camera_push r7_upper_stairs 1 LINEAR
wait 1
camera_set_target 0 player
camera_set_limits 1
enable_terrain upper_platform

View File

@@ -0,0 +1,2 @@
:exit_scene
change_scene "res://game/rooms/room08/room08.tscn"

View File

@@ -0,0 +1,38 @@
# :SETUP is called EVERY TIME the room is loaded
# :READY is called only the FIRST TIME the room is loaded
:setup
set_state r7_button_push button_repaired
set_state r7_button_shift button_repaired
set_state r7_button_follow button_repaired
set_state r7_button_zoom button_repaired
> [eq ESC_LAST_SCENE room6]
teleport player r7_l_exit
# Set player look right
set_angle player 180
stop
> [eq ESC_LAST_SCENE room8]
teleport player r7_r_exit
# Set player look left
set_angle player 270
stop
> [!last_scene]
teleport player player_start
stop
:ready
#camera_push player 0 LINEAR
#camera_push r7_object2 1 LINEAR
#wait 3
#camera_push player 1 LINEAR
#camera_set_drag_margin_enabled bool bool
#camera_set_pos real int int
#camera_set_target real
#camera_set_zoom real
#camera_set_zoom_height int
#camera_shift int int

View File

@@ -0,0 +1,4 @@
:trigger_in
set_state r7_light_left red
:trigger_out

View File

@@ -0,0 +1,5 @@
:trigger_in
set_state r7_light_right green
:trigger_out
set_state r7_light_right red

View File

@@ -0,0 +1,23 @@
:exit_scene
say player "movin down"
#camera_push player 1 LINEAR
#camera_set_drag_margin_enabled bool bool
#camera_set_pos real int int
#camera_set_target real
#camera_set_zoom real
#camera_set_zoom_height int
#camera_shift int int
teleport player r7_lower_stairs
set_angle player 270
camera_set_limits 2
camera_push player 1 LINEAR
wait 1
camera_set_target 0 player
camera_set_limits 0
enable_terrain lower_platform

View File

@@ -0,0 +1,433 @@
[gd_scene load_steps=16 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://game/rooms/room07/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/items/escitems/button.tscn" type="PackedScene" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://game/ui/commons/fonts/caslonantique.tres" type="DynamicFont" 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]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 1976.63, 640.557, 1987.95, 588.863, 2070.07, 622.872, 2066.3, 799.721, 1015.72, 626.818, 1956.81, 616.096, -9.16094, 803.802, -6.44019, 711.297, 911.239, 554.152, 991.239, 554.152, 858.566, 628.405, 741.099, 620.468, 84.5821, 654.06, 3.15687, 646.051, 59.2201, 628.698, 129.634, 615.792 )
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 0, 3, 6, 7 ), PoolIntArray( 8, 9, 4, 10 ), PoolIntArray( 10, 4, 7 ), PoolIntArray( 11, 10, 7, 12 ), PoolIntArray( 7, 13, 14, 12 ), PoolIntArray( 11, 12, 15 ) ]
outlines = [ PoolVector2Array( -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698, 84.5821, 654.06, 129.634, 615.792, 741.099, 620.468, 858.566, 628.405, 911.239, 554.152, 991.239, 554.152, 1015.72, 626.818, 1956.81, 616.096, 1976.63, 640.557, 1987.95, 588.863, 2070.07, 622.872, 2066.3, 799.721, -9.16094, 803.802 ) ]
[sub_resource type="NavigationPolygon" id=2]
vertices = PoolVector2Array( 2031.55, -451.45, 135.719, -939.662, 287.172, -941.444, 1235.09, -777.519, 2027.99, -629.63, 1390.1, -752.574, 1343.78, -834.537, 1425.74, -843.446, 1448.12, -803.5 )
polygons = [ PoolIntArray( 0, 1, 2, 3, 4 ), PoolIntArray( 5, 4, 3 ), PoolIntArray( 5, 3, 6, 7, 8 ) ]
outlines = [ PoolVector2Array( 2027.99, -629.63, 1390.1, -752.574, 1448.12, -803.5, 1425.74, -843.446, 1343.78, -834.537, 1235.09, -777.519, 287.172, -941.444, 135.719, -939.662, 2031.55, -451.45 ) ]
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 79.0288, 129.758 )
[sub_resource type="CircleShape2D" id=4]
radius = 35.4361
[sub_resource type="Animation" id=5]
resource_name = "green"
tracks/0/type = "value"
tracks/0/path = NodePath("Polygon2D:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0.0313726, 0.996078, 0, 1 ) ]
}
[sub_resource type="Animation" id=6]
resource_name = "red"
tracks/0/type = "value"
tracks/0/path = NodePath("Polygon2D:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 0, 0, 1 ) ]
}
[sub_resource type="Animation" id=7]
resource_name = "green"
tracks/0/type = "value"
tracks/0/path = NodePath("Polygon2D:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 0.0313726, 0.996078, 0, 1 ) ]
}
[sub_resource type="Animation" id=8]
resource_name = "red"
tracks/0/type = "value"
tracks/0/path = NodePath("Polygon2D:color")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Color( 1, 0, 0, 1 ) ]
}
[node name="room7" type="Node2D"]
script = ExtResource( 6 )
__meta__ = {
"_edit_vertical_guides_": [ ]
}
global_id = "room7"
esc_script = "res://game/rooms/room07/esc/room07.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 1350, 2098, 800 ), Rect2( 0, 0, 2098, 1050 ), Rect2( 0, 0, 2098, 2150 ) ]
editor_debug_mode = 1
[node name="background" parent="." instance=ExtResource( 2 )]
margin_right = 2098.0
margin_bottom = 1961.0
[node name="room_label_1" type="Label" parent="background"]
margin_right = 40.0
margin_bottom = 14.0
custom_fonts/font = ExtResource( 5 )
text = "ROOM 7 - upstairs"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label_2" type="Label" parent="background"]
margin_top = 1354.53
margin_right = 136.0
margin_bottom = 1368.53
custom_fonts/font = ExtResource( 5 )
text = "ROOM 7 - downstairs"
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
[node name="lower_platform" type="NavigationPolygonInstance" parent="walkable_area"]
position = Vector2( 7.73163, 1138.48 )
navpoly = SubResource( 1 )
__meta__ = {
"_editor_description_": ""
}
[node name="upper_platform" type="NavigationPolygonInstance" parent="walkable_area"]
position = Vector2( 0, 1403.26 )
navpoly = SubResource( 2 )
enabled = false
[node name="Hotspots" type="Node2D" parent="."]
[node name="l_exit" type="Area2D" parent="Hotspots"]
position = Vector2( 0, 1409.59 )
script = ExtResource( 7 )
__meta__ = {
"_editor_description_": ""
}
global_id = "r7_l_exit"
esc_script = "res://game/rooms/room07/esc/left_exit.esc"
is_exit = true
tooltip_name = "Exit"
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_exit"]
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_exit"]
position = Vector2( 37.4521, 392.045 )
[node name="r_exit" type="Area2D" parent="Hotspots"]
position = Vector2( 0, 1409.59 )
script = ExtResource( 7 )
__meta__ = {
"_editor_description_": ""
}
global_id = "r7_r_exit"
esc_script = "res://game/rooms/room07/esc/right_exit.esc"
is_exit = true
interaction_direction = 1
tooltip_name = "Exit"
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_exit"]
polygon = PoolVector2Array( 1982.34, 349.116, 1980.1, 46.0513, 2081.12, 86.4599, 2075, 394 )
[node name="Position2D" type="Position2D" parent="Hotspots/r_exit"]
position = Vector2( 2038.8, 347.193 )
__meta__ = {
"_editor_description_": ""
}
[node name="object_1" type="Area2D" parent="Hotspots"]
position = Vector2( 358.099, -1195.07 )
script = ExtResource( 7 )
global_id = "r7_object_1"
dialog_color = Color( 1, 1, 1, 1 )
[node name="Line2D" type="Line2D" parent="Hotspots/object_1"]
position = Vector2( 0, 1345.52 )
points = PoolVector2Array( 398.738, 142.591, 518.947, 64.809, 516.118, 275.527 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/object_1"]
position = Vector2( 460.841, 1515.95 )
shape = SubResource( 3 )
[node name="object2" type="Area2D" parent="Hotspots"]
position = Vector2( 1770.63, 1358.99 )
script = ExtResource( 7 )
__meta__ = {
"_editor_description_": ""
}
global_id = "r7_object2"
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/object2"]
polygon = PoolVector2Array( -112.101, 14.6226, -103.122, 288.503, 130.35, 286.258, 125.861, 16.8675 )
[node name="Line2D" type="Line2D" parent="Hotspots/object2"]
points = PoolVector2Array( -74.0056, 70.7457, 2.32182, 28.0921, 89.8739, 77.4804, -82.9853, 268.299, 110.078, 261.564 )
[node name="lower_stairs" type="Area2D" parent="Hotspots"]
position = Vector2( 0, 1409.59 )
script = ExtResource( 7 )
__meta__ = {
"_editor_description_": ""
}
global_id = "r7_lower_stairs"
esc_script = "res://game/rooms/room07/esc/lower_stairs.esc"
is_exit = true
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/lower_stairs"]
polygon = PoolVector2Array( 831.375, 344.577, 829.788, 19.1602, 1058.37, 19.1602, 1052.02, 347.752 )
[node name="Position2D" type="Position2D" parent="Hotspots/lower_stairs"]
position = Vector2( 953.985, 315.526 )
[node name="upper_stairs" type="Area2D" parent="Hotspots"]
position = Vector2( 1347.64, 473.026 )
script = ExtResource( 7 )
global_id = "r7_upper_stairs"
esc_script = "res://game/rooms/room07/esc/upper_stairs.esc"
is_exit = true
tooltip_name = "Stairs"
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/upper_stairs"]
position = Vector2( -1334.92, 936.565 )
polygon = PoolVector2Array( 1221.86, -804.627, 1220.52, -1158.36, 1450.46, -1134.88, 1454.12, -757.908 )
[node name="Position2D" type="Position2D" parent="Hotspots/upper_stairs"]
position = Vector2( 27.5337, 131.767 )
[node name="button_camera_push" parent="Hotspots" instance=ExtResource( 3 )]
position = Vector2( -167.43, 1463.23 )
global_id = "r7_button_push"
esc_script = "res://game/rooms/room07/esc/button_push.esc"
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_push"]
position = Vector2( 343.048, 300.613 )
__meta__ = {
"_editor_description_": ""
}
[node name="Label" type="Label" parent="Hotspots/button_camera_push"]
margin_left = 304.871
margin_top = 97.219
margin_right = 384.871
margin_bottom = 113.219
custom_fonts/font = ExtResource( 5 )
text = "Camera_push"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="button_camera_shift" parent="Hotspots" instance=ExtResource( 3 )]
position = Vector2( 9.393, 1464.03 )
global_id = "r7_button_shift"
esc_script = "res://game/rooms/room07/esc/button_shift.esc"
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_shift"]
position = Vector2( 350.258, 301.616 )
[node name="Label" type="Label" parent="Hotspots/button_camera_shift"]
margin_left = 305.626
margin_top = 97.515
margin_right = 387.626
margin_bottom = 113.515
custom_fonts/font = ExtResource( 5 )
text = "Camera_shift"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="button_camera_follow" parent="Hotspots" instance=ExtResource( 3 )]
position = Vector2( 172.527, 1464.03 )
global_id = "r7_button_follow"
esc_script = "res://game/rooms/room07/esc/button_follow.esc"
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_follow"]
position = Vector2( 350.258, 301.616 )
[node name="Label" type="Label" parent="Hotspots/button_camera_follow"]
margin_left = 305.626
margin_top = 97.515
margin_right = 387.626
margin_bottom = 113.515
custom_fonts/font = ExtResource( 5 )
text = "Camera_follow"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="button_camera_zoom" parent="Hotspots" instance=ExtResource( 3 )]
position = Vector2( 332.527, 1464.03 )
global_id = "r7_button_zoom"
esc_script = "res://game/rooms/room07/esc/button_zoom.esc"
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_zoom"]
position = Vector2( 350.258, 301.616 )
[node name="Label" type="Label" parent="Hotspots/button_camera_zoom"]
margin_left = 305.626
margin_top = 97.515
margin_right = 387.626
margin_bottom = 113.515
custom_fonts/font = ExtResource( 5 )
text = "Camera_zoom"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="button_camera_set_pos" parent="Hotspots" instance=ExtResource( 3 )]
position = Vector2( 910.482, 1464.03 )
global_id = "r7_button_set_pos"
esc_script = "res://game/rooms/room07/esc/button_set_pos.esc"
[node name="Position2D" type="Position2D" parent="Hotspots/button_camera_set_pos"]
position = Vector2( 350.258, 301.616 )
[node name="Label" type="Label" parent="Hotspots/button_camera_set_pos"]
margin_left = 292.919
margin_top = 96.8108
margin_right = 390.919
margin_bottom = 112.811
custom_fonts/font = ExtResource( 5 )
text = "Camera_set_pos"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="trigger_left" type="Area2D" parent="Hotspots"]
position = Vector2( 406, 0 )
script = ExtResource( 7 )
global_id = "trigger_left"
esc_script = "res://game/rooms/room07/esc/trigger_left.esc"
is_trigger = true
is_interactive = false
player_orients_on_arrival = false
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/trigger_left"]
polygon = PoolVector2Array( 724.356, 1944.36, 716.865, 1752.57, 800.77, 1752.57, 814.254, 1942.86 )
[node name="Label" type="Label" parent="Hotspots/trigger_left"]
margin_left = 672.764
margin_top = 1705.64
margin_right = 812.764
margin_bottom = 1740.64
custom_fonts/font = ExtResource( 5 )
text = "This trigger is activated
once if player walks on it"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Line2D" type="Line2D" parent="Hotspots/trigger_left"]
points = PoolVector2Array( 718.237, 1756.04, 724.544, 1950.34, 815.761, 1947.51, 801.579, 1756.32, 719.359, 1756.32 )
width = 2.0
[node name="trigger_right" type="Area2D" parent="Hotspots"]
position = Vector2( 220, 0 )
script = ExtResource( 7 )
global_id = "trigger_right"
esc_script = "res://game/rooms/room07/esc/trigger_right.esc"
is_trigger = true
is_interactive = false
player_orients_on_arrival = false
dialog_color = Color( 1, 1, 1, 1 )
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/trigger_right"]
position = Vector2( 372.68, 4.12805 )
polygon = PoolVector2Array( 724.356, 1944.36, 716.865, 1752.57, 800.77, 1752.57, 814.254, 1942.86 )
[node name="Label" type="Label" parent="Hotspots/trigger_right"]
margin_left = 1068.46
margin_top = 1707.64
margin_right = 1218.46
margin_bottom = 1742.64
custom_fonts/font = ExtResource( 5 )
text = "This trigger activates when
player walks in AND out"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Line2D" type="Line2D" parent="Hotspots/trigger_right"]
points = PoolVector2Array( 1089.37, 1757.17, 1097.85, 1949.99, 1187.37, 1947.87, 1174.21, 1755.79, 1090.78, 1756.18 )
width = 2.0
[node name="light_left" type="Area2D" parent="Hotspots"]
position = Vector2( 412, 0 )
script = ExtResource( 7 )
global_id = "r7_light_left"
is_interactive = false
dialog_color = Color( 1, 1, 1, 1 )
[node name="Polygon2D" type="Polygon2D" parent="Hotspots/light_left"]
color = Color( 0.0313726, 0.996078, 0, 1 )
polygon = PoolVector2Array( 718.946, 1494.91, 709.047, 1518.24, 717.885, 1540.16, 740.837, 1551.8, 764.908, 1541.57, 774.1, 1519.65, 763.847, 1494.2, 742.336, 1484.38 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/light_left"]
position = Vector2( 742.194, 1518.8 )
shape = SubResource( 4 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Hotspots/light_left"]
anims/green = SubResource( 5 )
anims/red = SubResource( 6 )
[node name="light_right" type="Area2D" parent="Hotspots"]
position = Vector2( 613.333, -1.13 )
script = ExtResource( 7 )
global_id = "r7_light_right"
is_interactive = false
dialog_color = Color( 1, 1, 1, 1 )
[node name="Polygon2D" type="Polygon2D" parent="Hotspots/light_right"]
color = Color( 1, 0, 0, 1 )
polygon = PoolVector2Array( 718.946, 1494.91, 709.047, 1518.24, 717.885, 1540.16, 740.837, 1551.8, 764.908, 1541.57, 774.1, 1519.65, 763.847, 1494.2, 742.336, 1484.38 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/light_right"]
position = Vector2( 742.194, 1518.8 )
shape = SubResource( 4 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="Hotspots/light_right"]
anims/green = SubResource( 7 )
anims/red = SubResource( 8 )
[node name="player_start" type="Position2D" parent="."]
position = Vector2( 76.7617, 1847.24 )

View File

@@ -0,0 +1,18 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 1168.92, 640.557, 1182.53, 588.863, 1269.59, 622.872, 1275.03, 799.721, 129.634, 615.792, 1143.08, 613.35, -9.16094, 803.802, 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( 7, 6, 8, 9, 10 ) ]
outlines = [ PoolVector2Array( -6.44019, 711.297, 3.15687, 646.051, 59.2201, 628.698, 84.5821, 654.06, 129.634, 615.792, 1143.08, 613.35, 1168.92, 640.557, 1182.53, 588.863, 1269.59, 622.872, 1275.03, 799.721, -9.16094, 803.802 ) ]
[node name="walkable_area" type="Navigation2D"]
script = ExtResource( 1 )
[node name="platform" type="NavigationPolygonInstance" parent="."]
position = Vector2( 6.73163, -264.779 )
navpoly = SubResource( 1 )
__meta__ = {
"_editor_description_": ""
}