119 lines
4.3 KiB
Plaintext
119 lines
4.3 KiB
Plaintext
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://game/rooms/room2/walkable_area.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://game/rooms/room2/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]
|
|
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=7]
|
|
|
|
[sub_resource type="RectangleShape2D" id=1]
|
|
extents = Vector2( 28.6442, 23.5021 )
|
|
|
|
[node name="room2" type="Node2D"]
|
|
script = ExtResource( 6 )
|
|
global_id = "room2"
|
|
esc_script = "res://game/rooms/room2/esc/room2_bridge.esc"
|
|
player_scene = ExtResource( 4 )
|
|
|
|
[node name="walkable_area" parent="." instance=ExtResource( 1 )]
|
|
scales = null
|
|
bitmaps_scale = Vector2( 1, 1 )
|
|
lightmap = null
|
|
player_speed_multiplier = 1.0
|
|
player_doubleclick_speed_multiplier = 1.5
|
|
lightmap_modulate = Color( 1, 1, 1, 1 )
|
|
debug_mode = 1
|
|
scale_min = 0.3
|
|
scale_max = 1.0
|
|
|
|
[node name="background" parent="." instance=ExtResource( 2 )]
|
|
|
|
[node name="Hotspots" type="Node2D" parent="."]
|
|
|
|
[node name="r_platform" type="Area2D" parent="Hotspots"]
|
|
script = ExtResource( 3 )
|
|
global_id = "r2_right_platform"
|
|
esc_script = "res://game/rooms/room2/esc/right_platform.esc"
|
|
interaction_direction = 3
|
|
tooltip_name = "Right platform"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_platform"]
|
|
polygon = PoolVector2Array( 870.974, 538.342, 827.536, 353.995, 1181.4, 357.174, 1287.34, 413.325, 1289.46, 545.758 )
|
|
|
|
[node name="action_pos" type="Position2D" parent="Hotspots/r_platform"]
|
|
position = Vector2( 430.893, 451.052 )
|
|
|
|
[node name="r_door" type="Area2D" parent="Hotspots"]
|
|
script = ExtResource( 3 )
|
|
global_id = "r2_r_exit"
|
|
is_exit = true
|
|
esc_script = "res://game/rooms/room2/esc/right_exit.esc"
|
|
tooltip_name = "Exit"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door"]
|
|
polygon = PoolVector2Array( 1177.94, 348.61, 1175.95, 45.3759, 1276.06, 92.0953, 1277.95, 399.407 )
|
|
|
|
[node name="Position2D" type="Position2D" parent="Hotspots/r_door"]
|
|
position = Vector2( 1225.47, 353.99 )
|
|
|
|
[node name="l_door" type="Area2D" parent="Hotspots"]
|
|
script = ExtResource( 3 )
|
|
global_id = "r2_l_exit"
|
|
is_exit = true
|
|
esc_script = "res://game/rooms/room2/esc/left_exit.esc"
|
|
tooltip_name = "Exit"
|
|
dialog_color = Color( 1, 1, 1, 1 )
|
|
|
|
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_door"]
|
|
polygon = PoolVector2Array( -1.37926, 443.158, 7.96461, 122.796, 84.0504, 77.4118, 88.055, 377.751 )
|
|
|
|
[node name="Position2D" type="Position2D" parent="Hotspots/l_door"]
|
|
position = Vector2( 52.1462, 384.691 )
|
|
|
|
[node name="button_left" type="Sprite" parent="Hotspots"]
|
|
script = ExtResource( 7 )
|
|
global_id = "r2_button"
|
|
esc_script = "res://game/rooms/room2/esc/button.esc"
|
|
tooltip_name = "button"
|
|
default_action = "use"
|
|
dialog_color = Color( 0.219608, 0, 1, 1 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="Hotspots/button_left"]
|
|
position = Vector2( 346.507, 150.721 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/button_left/Area2D"]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="action_pos" type="Position2D" parent="Hotspots/button_left"]
|
|
position = Vector2( 338.117, 370.025 )
|
|
|
|
[node name="dialog_position" type="Position2D" parent="Hotspots/button_left"]
|
|
position = Vector2( 333.879, 84.4147 )
|
|
|
|
[node name="button_right" type="Sprite" parent="Hotspots"]
|
|
position = Vector2( 624.705, 0 )
|
|
script = ExtResource( 7 )
|
|
global_id = "r2_button_right"
|
|
esc_script = "res://game/rooms/room2/esc/button.esc"
|
|
tooltip_name = "button"
|
|
default_action = "use"
|
|
dialog_color = Color( 0.219608, 0, 1, 1 )
|
|
|
|
[node name="Area2D" type="Area2D" parent="Hotspots/button_right"]
|
|
position = Vector2( 346.507, 150.721 )
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hotspots/button_right/Area2D"]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="action_pos" type="Position2D" parent="Hotspots/button_right"]
|
|
position = Vector2( 338.117, 370.025 )
|
|
|
|
[node name="dialog_position" type="Position2D" parent="Hotspots/button_right"]
|
|
position = Vector2( 333.879, 84.4147 )
|
|
|
|
[node name="player_start" type="Position2D" parent="."]
|
|
position = Vector2( 76.7617, 437.649 )
|