Initial commit of Escoria-Reloaded. Still a lot of missing stuff.
This commit is contained in:
27
game/rooms/room5/background.tscn
Normal file
27
game/rooms/room5/background.tscn
Normal file
@@ -0,0 +1,27 @@
|
||||
[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 = 1289.0
|
||||
margin_bottom = 555.0
|
||||
mouse_filter = 2
|
||||
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, 1274.59, 669.705, 1273.25, 812.694, 2.36697, 811.043, 2.36697, 713.389 )
|
||||
|
||||
[node name="l_door" type="Line2D" parent="."]
|
||||
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="r_door" type="Line2D" parent="."]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 1175.07, 620.086, 1171.24, 311.267, 1274.8, 356.87, 1271.64, 671.735, 1188.64, 624.843 )
|
||||
2
game/rooms/room5/esc/left_exit.esc
Executable file
2
game/rooms/room5/esc/left_exit.esc
Executable file
@@ -0,0 +1,2 @@
|
||||
:exit_scene
|
||||
change_scene "res://game/rooms/room4/room4.tscn"
|
||||
2
game/rooms/room5/esc/right_exit.esc
Executable file
2
game/rooms/room5/esc/right_exit.esc
Executable file
@@ -0,0 +1,2 @@
|
||||
:exit_scene
|
||||
change_scene "res://game/rooms/room6/room6.tscn"
|
||||
23
game/rooms/room5/esc/room5.esc
Executable file
23
game/rooms/room5/esc/room5.esc
Executable file
@@ -0,0 +1,23 @@
|
||||
:setup
|
||||
> [eq ESC_LAST_SCENE room4]
|
||||
teleport player r5_l_exit
|
||||
# Set player look right
|
||||
set_angle player 180
|
||||
stop
|
||||
> [eq ESC_LAST_SCENE room6]
|
||||
teleport player r5_r_exit
|
||||
# Set player look left
|
||||
set_angle player 270
|
||||
stop
|
||||
> [!last_scene]
|
||||
teleport player player_start
|
||||
stop
|
||||
|
||||
:ready
|
||||
#walk player r5_wrench
|
||||
#set_global i/r5_wrench true
|
||||
#set_active r5_wrench false
|
||||
#set_global i/r5_pen true
|
||||
#set_active r5_pen false
|
||||
#set_global i/r5_empty_sheet true
|
||||
#set_active r5_empty_sheet false
|
||||
14
game/rooms/room5/esc/wall_item.esc
Executable file
14
game/rooms/room5/esc/wall_item.esc
Executable file
@@ -0,0 +1,14 @@
|
||||
:look
|
||||
> [! dialog_advance]
|
||||
say player "I don't know what that stuff is."
|
||||
set_global dialog_advance 1
|
||||
stop
|
||||
> [eq dialog_advance 1]
|
||||
say player "I REALLY don't know what that stuff is."
|
||||
set_global dialog_advance 2
|
||||
stop
|
||||
> [eq dialog_advance 2]
|
||||
say player "No, SERIOUSLY, I have no idea what that is!"
|
||||
say player "Please stop asking me that!"
|
||||
stop
|
||||
|
||||
BIN
game/rooms/room5/items/empty_sheet.png
Normal file
BIN
game/rooms/room5/items/empty_sheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
34
game/rooms/room5/items/empty_sheet.png.import
Normal file
34
game/rooms/room5/items/empty_sheet.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/empty_sheet.png-813558ed5dff2311f54fddefecca858f.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://game/rooms/room5/items/empty_sheet.png"
|
||||
dest_files=[ "res://.import/empty_sheet.png-813558ed5dff2311f54fddefecca858f.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
game/rooms/room5/items/filled_sheet.png
Normal file
BIN
game/rooms/room5/items/filled_sheet.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
34
game/rooms/room5/items/filled_sheet.png.import
Normal file
34
game/rooms/room5/items/filled_sheet.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/filled_sheet.png-032e8e1e7d1157ad603f97190a08cc80.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://game/rooms/room5/items/filled_sheet.png"
|
||||
dest_files=[ "res://.import/filled_sheet.png-032e8e1e7d1157ad603f97190a08cc80.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
game/rooms/room5/items/pen.png
Normal file
BIN
game/rooms/room5/items/pen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 918 B |
34
game/rooms/room5/items/pen.png.import
Normal file
34
game/rooms/room5/items/pen.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/pen.png-d9e594f56a5c8cfe7922f0a481266caf.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://game/rooms/room5/items/pen.png"
|
||||
dest_files=[ "res://.import/pen.png-d9e594f56a5c8cfe7922f0a481266caf.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
BIN
game/rooms/room5/items/wrench.png
Normal file
BIN
game/rooms/room5/items/wrench.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 857 B |
34
game/rooms/room5/items/wrench.png.import
Normal file
34
game/rooms/room5/items/wrench.png.import
Normal file
@@ -0,0 +1,34 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/wrench.png-d9921fc62da243552d6e7f1f43bde55e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://game/rooms/room5/items/wrench.png"
|
||||
dest_files=[ "res://.import/wrench.png-d9921fc62da243552d6e7f1f43bde55e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
||||
172
game/rooms/room5/room5.tscn
Normal file
172
game/rooms/room5/room5.tscn
Normal file
@@ -0,0 +1,172 @@
|
||||
[gd_scene load_steps=13 format=2]
|
||||
|
||||
[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/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]
|
||||
[ext_resource path="res://game/items/escitems/wrench_escitem.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://game/items/escitems/empty_sheet_escitem.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://game/items/escitems/pen_escitem.tscn" type="PackedScene" id=10]
|
||||
|
||||
[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 ) ]
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "state_round"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Line2D:points")
|
||||
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": 1,
|
||||
"values": [ PoolVector2Array( 556, 496.828, 543, 476.828, 532, 438.828, 543, 411.828, 560, 384.828, 590, 363.828, 617, 357.828, 655, 367.828, 684, 386.828, 695, 411.828, 701.536, 444.836, 698, 481.828, 683, 499.828, 658, 515.828, 619.997, 526.348, 584, 515.828, 558, 497.828 ) ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "state_square"
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("Line2D:points")
|
||||
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": 1,
|
||||
"values": [ PoolVector2Array( 531, 527.828, 532, 483.828, 532.586, 445.745, 533.262, 401.771, 534, 353.828, 575.992, 355.093, 617.954, 356.357, 660.945, 357.652, 700, 358.828, 700.786, 402.832, 701.536, 444.836, 702.286, 486.841, 703, 526.828, 659.007, 526.574, 619.997, 526.348, 574.998, 526.088, 530, 525.828 ) ]
|
||||
}
|
||||
|
||||
[node name="room5" type="Node2D"]
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_edit_vertical_guides_": [ ]
|
||||
}
|
||||
global_id = "room5"
|
||||
esc_script = "res://game/rooms/room5/esc/room5.esc"
|
||||
player_scene = ExtResource( 4 )
|
||||
|
||||
[node name="background" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="pickup_use_on_bg" type="Line2D" parent="background"]
|
||||
points = PoolVector2Array( 99.3224, 482.72, 172.739, 399.96, 402.331, 399.96, 387.648, 484.055, 100.657, 482.72 )
|
||||
|
||||
[node name="Label" type="Label" parent="background/pickup_use_on_bg"]
|
||||
margin_left = 142.828
|
||||
margin_top = 492.556
|
||||
margin_right = 366.828
|
||||
margin_bottom = 506.556
|
||||
text = "Pickup & use on background object"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="pickup_combine" type="Line2D" parent="background"]
|
||||
position = Vector2( 722.148, 0 )
|
||||
points = PoolVector2Array( 124.684, 481.385, 105.997, 402.63, 402.331, 399.96, 455.724, 484.055, 122.015, 482.72 )
|
||||
|
||||
[node name="Label" type="Label" parent="background/pickup_combine"]
|
||||
margin_left = 142.828
|
||||
margin_top = 492.556
|
||||
margin_right = 366.828
|
||||
margin_bottom = 506.556
|
||||
text = "Pickup & combine together in enventory
|
||||
Note: you can combine in both directions"
|
||||
__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="Node2D" parent="."]
|
||||
|
||||
[node name="l_door" type="Area2D" parent="Hotspots"]
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r5_l_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room5/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_door"]
|
||||
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_door"]
|
||||
position = Vector2( 37.4521, 392.045 )
|
||||
|
||||
[node name="r_door" type="Area2D" parent="Hotspots"]
|
||||
position = Vector2( -1, 0 )
|
||||
script = ExtResource( 3 )
|
||||
global_id = "r5_r_exit"
|
||||
is_exit = true
|
||||
esc_script = "res://game/rooms/room5/esc/right_exit.esc"
|
||||
tooltip_name = "Exit"
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
interact_positions = {
|
||||
"default": Vector2( 1224.47, 353.99 )
|
||||
}
|
||||
|
||||
[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="item_wall" type="Sprite" parent="Hotspots"]
|
||||
script = ExtResource( 7 )
|
||||
global_id = "r5_wall_item"
|
||||
esc_script = "res://game/rooms/room5/esc/wall_item.esc"
|
||||
tooltip_name = "Item on the wall"
|
||||
default_action = "look"
|
||||
combine_if_action_used_among = PoolStringArray( "use" )
|
||||
dialog_color = Color( 1, 1, 1, 1 )
|
||||
|
||||
[node name="Line2D" type="Line2D" parent="Hotspots/item_wall"]
|
||||
position = Vector2( 0, -267.828 )
|
||||
points = PoolVector2Array( 531, 527.828, 532, 483.828, 532.586, 445.745, 533.262, 401.771, 534, 353.828, 575.992, 355.093, 617.954, 356.357, 660.945, 357.652, 700, 358.828, 700.786, 402.832, 701.536, 444.836, 702.286, 486.841, 703, 526.828, 659.007, 526.574, 619.997, 526.348, 574.998, 526.088, 530, 525.828 )
|
||||
__meta__ = {
|
||||
"_editor_description_": ""
|
||||
}
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Hotspots/item_wall"]
|
||||
|
||||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/item_wall/Area2D"]
|
||||
polygon = PoolVector2Array( 528, 85, 529, 264, 708, 263, 706, 85 )
|
||||
|
||||
[node name="Position2D" type="Position2D" parent="Hotspots/item_wall"]
|
||||
position = Vector2( 657, 377 )
|
||||
|
||||
[node name="animation" type="AnimationPlayer" parent="Hotspots/item_wall"]
|
||||
anims/state_round = SubResource( 2 )
|
||||
anims/state_square = SubResource( 3 )
|
||||
|
||||
[node name="wrench" parent="Hotspots" instance=ExtResource( 8 )]
|
||||
position = Vector2( 257.269, 435.892 )
|
||||
|
||||
[node name="pen" parent="Hotspots" instance=ExtResource( 10 )]
|
||||
position = Vector2( 909.908, 443.451 )
|
||||
|
||||
[node name="empty_sheet" parent="Hotspots" instance=ExtResource( 9 )]
|
||||
position = Vector2( 1059.84, 440.932 )
|
||||
|
||||
[node name="player_start" type="Position2D" parent="."]
|
||||
position = Vector2( 76.7617, 437.649 )
|
||||
18
game/rooms/room5/walkable_area.tscn
Normal file
18
game/rooms/room5/walkable_area.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[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, 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_": ""
|
||||
}
|
||||
Reference in New Issue
Block a user