Deleted non-CC0 assets
Managed room7 camera pushes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[ext_resource path="res://game/rooms/room1/walkable_area.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://game/rooms/room1/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/character2/character.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escroom.gd" type="Script" id=6]
|
||||
|
||||
[node name="room1" type="Node2D"]
|
||||
@@ -14,6 +14,7 @@ __meta__ = {
|
||||
global_id = "room1"
|
||||
esc_script = "res://game/rooms/room1/esc/room1.esc"
|
||||
player_scene = ExtResource( 4 )
|
||||
camera_limits = [ Rect2( 0, 0, 1289, 555 ) ]
|
||||
|
||||
[node name="background" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[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/character2/character.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://game/characters/mark/mark.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]
|
||||
|
||||
@@ -25,9 +25,14 @@ player_scene = ExtResource( 4 )
|
||||
[node name="r_platform" type="Area2D" parent="Hotspots"]
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r2_right_platform"
|
||||
is_exit = false
|
||||
esc_script = "res://game/rooms/room2/esc/right_platform.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 3
|
||||
tooltip_name = "Right platform"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 430.893, 451.052 )
|
||||
@@ -44,7 +49,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r2_r_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room2/esc/right_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1225.47, 353.99 )
|
||||
@@ -61,7 +71,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r2_l_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room2/esc/left_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 52.1462, 384.691 )
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource path="res://game/rooms/room3/walkable_area.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://game/rooms/room3/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/character2/character.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escroom.gd" type="Script" id=6]
|
||||
|
||||
[node name="room3" type="Node2D"]
|
||||
@@ -24,8 +24,14 @@ __meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
global_id = "r3_right_platform"
|
||||
is_exit = false
|
||||
esc_script = "res://game/rooms/room3/esc/right_platform.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Right platform"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 430.893, 451.052 )
|
||||
@@ -48,7 +54,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r3_r_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room3/esc/right_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1225.47, 353.99 )
|
||||
@@ -65,7 +76,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r3_l_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room3/esc/left_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 44.1375, 384.691 )
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escbackground.gd" type="Script" id=1]
|
||||
|
||||
[node name="background" type="TextureRect"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
mouse_filter = 0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[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, 1281.5, 668.894, 1281.5, 812.894, -4.3772, 811.004, -2.96295, 713.424 )
|
||||
|
||||
[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 )
|
||||
|
||||
[node name="item" type="Line2D" parent="."]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 634.097, 516.751, 578.861, 335.008, 701.805, 386.68, 696.459, 509.624, 634.097, 516.751 )
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escterrain.gd" type="Script" id=1]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escbackground.gd" type="Script" 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://game/characters/mark/mark.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://game/rooms/room4/assets/background.png" type="Texture" id=7]
|
||||
[ext_resource path="res://game/rooms/room4/assets/depth_reduced.png" type="Texture" id=8]
|
||||
@@ -18,10 +18,12 @@ script = ExtResource( 6 )
|
||||
global_id = "room4"
|
||||
esc_script = "res://game/rooms/room4/esc/room4.esc"
|
||||
player_scene = ExtResource( 4 )
|
||||
camera_limits = [ Rect2( 0, 0, 1666, 574 ) ]
|
||||
editor_debug_mode = 1
|
||||
|
||||
[node name="background" type="TextureRect" parent="."]
|
||||
margin_right = 1663.0
|
||||
margin_bottom = 549.0
|
||||
margin_right = 1666.0
|
||||
margin_bottom = 574.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
@@ -55,7 +57,6 @@ debug_mode = 0
|
||||
scale_min = 0.4
|
||||
|
||||
[node name="platform" type="NavigationPolygonInstance" parent="walkable_area"]
|
||||
visible = false
|
||||
position = Vector2( 6.73163, -264.779 )
|
||||
navpoly = SubResource( 1 )
|
||||
__meta__ = {
|
||||
@@ -63,7 +64,7 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 697.275, 203.998 )
|
||||
position = Vector2( 1506.21, 410.473 )
|
||||
|
||||
[node name="Hotspots" type="Node2D" parent="."]
|
||||
|
||||
@@ -75,7 +76,7 @@ esc_script = "res://game/rooms/room4/esc/left_exit.esc"
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 84.5736, 279.703 )
|
||||
"default": Vector2( 83.6298, 279.703 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_door"]
|
||||
@@ -92,7 +93,7 @@ esc_script = "res://game/rooms/room4/esc/right_exit.esc"
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1612.4, 301.017 )
|
||||
"default": Vector2( 1611.46, 301.017 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door"]
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escterrain.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, -6.44019, 711.297 )
|
||||
polygons = [ PoolIntArray( 0, 1, 2, 3 ), PoolIntArray( 4, 5, 0, 3, 6, 7 ) ]
|
||||
outlines = [ PoolVector2Array( -6.44019, 711.297, 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_": ""
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escterrain.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room5/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/character2/character.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://game/characters/mark/mark.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]
|
||||
[ext_resource path="res://game/items/escitems/wrench_escitem.tscn" type="PackedScene" id=8]
|
||||
@@ -101,7 +101,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r5_l_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room5/esc/left_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 37.4521, 392.045 )
|
||||
@@ -119,7 +124,12 @@ script = ExtResource( 3 )
|
||||
global_id = "r5_r_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room5/esc/right_exit.esc"
|
||||
is_interactive = true
|
||||
player_orients_on_arrival = true
|
||||
interaction_direction = 0
|
||||
tooltip_name = "Exit"
|
||||
default_action = ""
|
||||
combine_if_action_used_among = PoolStringArray( )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1224.47, 353.99 )
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
:look
|
||||
say player "He's looking a bit odd."
|
||||
|
||||
:pickup
|
||||
say player "I don't think he'd like that."
|
||||
|
||||
:talk
|
||||
> [!talked_once]
|
||||
say player "Uhm..."
|
||||
say android "Yeah?"
|
||||
set_global talked_once true
|
||||
|
||||
? option1 1000 option2 true
|
||||
- "What are you doing here?"
|
||||
say player "What are you doing here?"
|
||||
say android "I'm working! Can't you see that?"
|
||||
say android "My colleague is supposed to bring me an important report. And he's not coming!"
|
||||
?
|
||||
- "I'll bring you this report!"
|
||||
say player "I'll bring you this report!"
|
||||
say android "You will? Great!"
|
||||
say android "Now please hurry up so I can leave and have lunch."
|
||||
stop
|
||||
- "I've got better things to do."
|
||||
say player "I've got better things to do."
|
||||
say android "Eh! I'm not asking you anythin'!"
|
||||
stop
|
||||
|
||||
- "I'm selling these fine leather jackets."
|
||||
say player "I'm selling these fine leather jackets."
|
||||
say android "Go away, kid."
|
||||
stop
|
||||
|
||||
|
||||
34
game/rooms/room6/esc/worker.esc
Executable file
34
game/rooms/room6/esc/worker.esc
Executable file
@@ -0,0 +1,34 @@
|
||||
:look
|
||||
say player "He's looking a bit odd."
|
||||
|
||||
:pickup
|
||||
say player "I don't think he'd like that."
|
||||
|
||||
:talk
|
||||
> [!talked_once]
|
||||
say player "Uhm..."
|
||||
say worker "Yeah?"
|
||||
set_global talked_once true
|
||||
|
||||
? option1 1000 option2 true
|
||||
- "What are you doing here?"
|
||||
say player "What are you doing here?"
|
||||
say worker "I'm working! Can't you see that?"
|
||||
say worker "My colleague is supposed to bring me an important report. And he's not coming!"
|
||||
?
|
||||
- "I'll bring you this report!"
|
||||
say player "I'll bring you this report!"
|
||||
say worker "You will? Great!"
|
||||
say worker "Now please hurry up so I can leave and have lunch."
|
||||
stop
|
||||
- "I've got better things to do."
|
||||
say player "I've got better things to do."
|
||||
say worker "Eh! I'm not asking you anythin'!"
|
||||
stop
|
||||
|
||||
- "I'm selling these fine leather jackets."
|
||||
say player "I'm selling these fine leather jackets."
|
||||
say worker "Go away, kid."
|
||||
stop
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escterrain.gd" type="Script" id=1]
|
||||
[ext_resource path="res://game/rooms/room6/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://game/characters/mark/mark.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=5]
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escroom.gd" type="Script" id=6]
|
||||
[ext_resource path="res://game/characters/android/android.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://game/characters/worker/worker.tscn" type="PackedScene" id=7]
|
||||
|
||||
[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 )
|
||||
@@ -100,6 +100,7 @@ __meta__ = {
|
||||
global_id = "room6"
|
||||
esc_script = "res://game/rooms/room6/esc/room6.esc"
|
||||
player_scene = ExtResource( 4 )
|
||||
camera_limits = [ Rect2( 0, 0, 1289, 555 ) ]
|
||||
|
||||
[node name="background" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
@@ -170,13 +171,14 @@ position = Vector2( 1180.52, 395.193 )
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/r_door/Area2D"]
|
||||
polygon = PoolVector2Array( 1169.35, 41.7644, 1168.09, 347.925, 1275.18, 407.141, 1278.96, 88.3814 )
|
||||
|
||||
[node name="android" parent="Hotspots" instance=ExtResource( 7 )]
|
||||
position = Vector2( 373.401, 415.66 )
|
||||
scale = Vector2( -1, 1 )
|
||||
interaction_direction = 3
|
||||
[node name="worker" parent="Hotspots" instance=ExtResource( 7 )]
|
||||
position = Vector2( 477.701, 421.582 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 349.904, 430.659 )
|
||||
}
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/android"]
|
||||
position = Vector2( 157.809, 3.1992 )
|
||||
[node name="Position2D2" type="Position2D" parent="Hotspots/worker"]
|
||||
position = Vector2( -138.501, 28.1043 )
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 76.7617, 437.649 )
|
||||
|
||||
@@ -3,25 +3,37 @@
|
||||
[ext_resource path="res://addons/escoria-core/game/core-scripts/escbackground.gd" type="Script" id=1]
|
||||
|
||||
[node name="background" type="TextureRect"]
|
||||
margin_right = 1289.0
|
||||
margin_bottom = 555.0
|
||||
margin_right = 2092.0
|
||||
margin_bottom = 1970.0
|
||||
mouse_filter = 2
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="l_platform" type="Line2D" parent="."]
|
||||
position = Vector2( 2, -266 )
|
||||
[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="l_door" type="Line2D" parent="."]
|
||||
position = Vector2( 0, -266 )
|
||||
[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="."]
|
||||
position = Vector2( 808.661, -267.828 )
|
||||
[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 )
|
||||
|
||||
23
game/rooms/room7/esc/lower_stairs.esc
Executable file
23
game/rooms/room7/esc/lower_stairs.esc
Executable file
@@ -0,0 +1,23 @@
|
||||
:exit_scene
|
||||
|
||||
say player "movin up"
|
||||
|
||||
|
||||
#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_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
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
:ready
|
||||
|
||||
camera_push player 0 LINEAR
|
||||
|
||||
camera_push r7_object2 1 LINEAR
|
||||
wait 3
|
||||
camera_push player 1 LINEAR
|
||||
|
||||
23
game/rooms/room7/esc/upper_stairs.esc
Executable file
23
game/rooms/room7/esc/upper_stairs.esc
Executable 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
|
||||
@@ -1,15 +1,20 @@
|
||||
[gd_scene load_steps=7 format=2]
|
||||
[gd_scene load_steps=8 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://game/characters/mark/mark.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 ) ]
|
||||
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 ) ]
|
||||
|
||||
[node name="room7" type="Node2D"]
|
||||
script = ExtResource( 6 )
|
||||
@@ -19,26 +24,32 @@ __meta__ = {
|
||||
global_id = "room7"
|
||||
esc_script = "res://game/rooms/room7/esc/room7.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 = 2088.0
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="background"]
|
||||
points = PoolVector2Array( 398.738, 142.591, 518.947, 64.809, 516.118, 275.527 )
|
||||
margin_right = 2098.0
|
||||
margin_bottom = 1961.0
|
||||
|
||||
[node name="walkable_area" type="Navigation2D" parent="."]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="platform" type="NavigationPolygonInstance" parent="walkable_area"]
|
||||
position = Vector2( 7.73163, -264.779 )
|
||||
[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( 3 )
|
||||
global_id = "r7_l_exit"
|
||||
is_exit = true
|
||||
@@ -46,7 +57,7 @@ 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 )
|
||||
"default": Vector2( 37.4521, 1801.64 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/l_exit"]
|
||||
@@ -56,6 +67,7 @@ polygon = PoolVector2Array( 0.328762, 440.897, 1.85199, 119.926, 85.9517, 74.621
|
||||
position = Vector2( 37.4521, 392.045 )
|
||||
|
||||
[node name="r_exit" type="Area2D" parent="Hotspots"]
|
||||
position = Vector2( 0, 1409.59 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r7_r_exit"
|
||||
is_exit = true
|
||||
@@ -65,7 +77,7 @@ interaction_direction = 1
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 2038.8, 347.193 ),
|
||||
"default": Vector2( 2038.8, 1756.78 ),
|
||||
"r6_r_exit_closed": NodePath("r_door_closed/Position2D"),
|
||||
"r6_r_exit_opened": NodePath("r_door_opened/Position2D")
|
||||
}
|
||||
@@ -80,12 +92,12 @@ __meta__ = {
|
||||
}
|
||||
|
||||
[node name="object2" type="Area2D" parent="Hotspots"]
|
||||
position = Vector2( 1600.63, 13.4695 )
|
||||
position = Vector2( 1600.63, 1358.99 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r7_object2"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": null
|
||||
"default": Vector2( 1600.63, 1358.99 )
|
||||
}
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/object2"]
|
||||
@@ -94,5 +106,44 @@ polygon = PoolVector2Array( -112.101, 14.6226, -103.122, 288.503, 130.35, 286.25
|
||||
[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( 3 )
|
||||
global_id = "r7_lower_stairs"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room7/esc/lower_stairs.esc"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 953.985, 1725.12 )
|
||||
}
|
||||
|
||||
[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( 3 )
|
||||
global_id = "r7_upper_stairs"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room7/esc/upper_stairs.esc"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1375.17, 604.793 )
|
||||
}
|
||||
|
||||
[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="object_1" type="Line2D" parent="Hotspots"]
|
||||
position = Vector2( 0, 1345.52 )
|
||||
points = PoolVector2Array( 398.738, 142.591, 518.947, 64.809, 516.118, 275.527 )
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 76.7617, 437.649 )
|
||||
position = Vector2( 76.7617, 1847.24 )
|
||||
|
||||
Reference in New Issue
Block a user