99 lines
3.8 KiB
Plaintext
99 lines
3.8 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/escterrain.gd" type="Script" id=1]
|
|
[ext_resource path="res://game/rooms/room7/background.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/eschotspot.gd" type="Script" id=3]
|
|
[ext_resource path="res://game/characters/guybrush/guybrush.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/escroom.gd" type="Script" id=6]
|
|
|
|
[sub_resource type="NavigationPolygon" id=1]
|
|
vertices = PoolVector2Array( 1976.63, 640.557, 1987.95, 588.863, 2070.07, 622.872, 2066.3, 799.721, 129.634, 615.792, 1956.81, 616.096, -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, 1956.81, 616.096, 1976.63, 640.557, 1987.95, 588.863, 2070.07, 622.872, 2066.3, 799.721, -9.16094, 803.802 ) ]
|
|
|
|
[node name="room7" type="Node2D"]
|
|
script = ExtResource( 6 )
|
|
__meta__ = {
|
|
"_edit_vertical_guides_": [ ]
|
|
}
|
|
global_id = "room7"
|
|
esc_script = "res://game/rooms/room7/esc/room7.esc"
|
|
player_scene = ExtResource( 4 )
|
|
|
|
[node name="background" parent="." instance=ExtResource( 2 )]
|
|
margin_right = 2088.0
|
|
|
|
[node name="Line2D" type="Line2D" parent="background"]
|
|
points = PoolVector2Array( 398.738, 142.591, 518.947, 64.809, 516.118, 275.527 )
|
|
|
|
[node name="walkable_area" type="Navigation2D" parent="."]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="platform" type="NavigationPolygonInstance" parent="walkable_area"]
|
|
position = Vector2( 7.73163, -264.779 )
|
|
navpoly = SubResource( 1 )
|
|
__meta__ = {
|
|
"_editor_description_": ""
|
|
}
|
|
|
|
[node name="Hotspots" type="Node2D" parent="."]
|
|
|
|
[node name="l_exit" type="Area2D" parent="Hotspots"]
|
|
script = ExtResource( 3 )
|
|
global_id = "r7_l_exit"
|
|
is_exit = true
|
|
esc_script = "res://game/rooms/room7/esc/left_exit.esc"
|
|
tooltip_name = "Exit"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
interact_positions = {
|
|
"default": Vector2( 37.4521, 392.045 )
|
|
}
|
|
|
|
[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"]
|
|
script = ExtResource( 3 )
|
|
global_id = "r7_r_exit"
|
|
is_exit = true
|
|
esc_script = "res://game/rooms/room7/esc/right_exit.esc"
|
|
is_interactive = false
|
|
interaction_direction = 1
|
|
tooltip_name = "Exit"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
interact_positions = {
|
|
"default": Vector2( 2038.8, 347.193 ),
|
|
"r6_r_exit_closed": NodePath("r_door_closed/Position2D"),
|
|
"r6_r_exit_opened": NodePath("r_door_opened/Position2D")
|
|
}
|
|
|
|
[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="object2" type="Area2D" parent="Hotspots"]
|
|
position = Vector2( 1600.63, 13.4695 )
|
|
script = ExtResource( 3 )
|
|
global_id = "r7_object2"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
interact_positions = {
|
|
"default": null
|
|
}
|
|
|
|
[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="player_start" type="Position2D" parent="."]
|
|
position = Vector2( 76.7617, 437.649 )
|