Updated escoria-demo-game

This commit is contained in:
eneko committed 2023-06-06 19:28:49 +02:00
1 parent 6d3bd3511c
commit 0d38a8646a
116 files changed
+1670 -1291

No files matched your search

+7 -33
View File
@@ -1,16 +1,11 @@
[gd_scene load_steps=17 format=2]
[gd_scene load_steps=15 format=2]
[ext_resource path="res://game/rooms/intro/escoria-logo-comet-anim.png" type="Texture" id=1]
[ext_resource path="res://game/rooms/intro/intro_background_space.png" type="Texture" id=2]
[ext_resource path="res://game/rooms/intro/escoria-logo-comet.png" type="Texture" id=3]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=5]
[ext_resource path="res://game/rooms/intro/escoria_background.png" type="Texture" id=6]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=7]
[sub_resource type="StreamTexture" id=10]
flags = 4
load_path = "res://.import/intro_background_space.png-03815c403298b393ba1bea2b29eafeac.stex"
[sub_resource type="AtlasTexture" id=1]
flags = 4
atlas = ExtResource( 1 )
@@ -88,7 +83,7 @@ tracks/2/keys = {
"values": [ false ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ESCBackground:visible")
tracks/3/path = NodePath("asteroid:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
@@ -96,11 +91,11 @@ tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ true ]
"update": 0,
"values": [ Vector2( 620, 450 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("asteroid:position")
tracks/4/path = NodePath("Polygon2D:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
@@ -109,18 +104,6 @@ tracks/4/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector2( 620, 450 ) ]
}
tracks/5/type = "value"
tracks/5/path = NodePath("Polygon2D:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ true ]
}
@@ -265,18 +248,9 @@ global_id = "intro_cutscene"
esc_script = "res://game/rooms/intro/esc/intro.esc"
camera_limits = [ Rect2( 0, 0, 1920, 1080 ) ]
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1279.0
margin_bottom = 900.0
mouse_filter = 2
texture = ExtResource( 6 )
expand = true
stretch_mode = 1
script = ExtResource( 4 )
[node name="initial_background" type="Sprite" parent="."]
position = Vector2( 640, 450 )
texture = SubResource( 10 )
texture = ExtResource( 2 )
[node name="animated_asteroid" type="AnimatedSprite" parent="."]
visible = false
@@ -8,6 +8,8 @@
set_global dialog_popup_advance 2
stop
> [eq dialog_popup_advance 2]
block_say
say player ROOM1_look_wall_item_3:"No, SERIOUSLY, I have no idea what that is!" avatar
say player ROOM1_look_wall_item_4:"Please stop asking me that!" avatar
end_block_say
stop
+8 -15
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=5]
@@ -16,7 +15,7 @@ vertices = PoolVector2Array( 125, 357, 1170, 355, 1277, 417, 1279, 550, -1, 548,
polygons = [ PoolIntArray( 0, 1, 2, 3, 4, 5 ) ]
outlines = [ PoolVector2Array( 125, 357, 1170, 355, 1277, 417, 1279, 550, -1, 548, 0, 449 ) ]
[node name="room2" type="Node2D"]
[node name="room1" type="Node2D"]
script = ExtResource( 6 )
__meta__ = {
"_edit_vertical_guides_": [ ]
@@ -27,17 +26,14 @@ player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 550 ) ]
editor_debug_mode = 1
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
[node name="Room1Background" type="Sprite" parent="."]
texture = ExtResource( 8 )
script = ExtResource( 2 )
centered = false
__meta__ = {
"_edit_use_anchors_": false
"_edit_lock_": true
}
[node name="advice2" type="Label" parent="ESCBackground"]
[node name="advice2" type="Label" parent="Room1Background"]
anchor_right = 0.023274
anchor_bottom = 0.018018
margin_left = 90.2752
@@ -47,11 +43,8 @@ margin_bottom = 215.824
custom_fonts/font = ExtResource( 3 )
text = "Move : left click
Fast move : double left click"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room1Background"]
margin_left = 7.0
margin_top = 3.0
margin_right = 89.0
@@ -62,7 +55,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="advice" type="Label" parent="ESCBackground"]
[node name="advice" type="Label" parent="Room1Background"]
anchor_right = 0.023274
anchor_bottom = 0.018018
margin_left = 90.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

+65 -69
View File
@@ -1,11 +1,10 @@
[gd_scene load_steps=21 format=2]
[gd_scene load_steps=20 format=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[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]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=8]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=9]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=10]
[ext_resource path="res://game/rooms/room02/room2background.png" type="Texture" id=11]
[ext_resource path="res://game/rooms/room02/floor3.png" type="Texture" id=12]
@@ -32,7 +31,7 @@ extents = Vector2( 39, 39.5 )
[sub_resource type="Animation" id=5]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("ESCBackground/Floor1:position")
tracks/0/path = NodePath("Room2Background/Floor1:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
@@ -44,7 +43,7 @@ tracks/0/keys = {
"values": [ Vector2( 495, 650 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ESCBackground/Floor2:position")
tracks/1/path = NodePath("Room2Background/Floor2:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
@@ -56,7 +55,7 @@ tracks/1/keys = {
"values": [ Vector2( 585, 650 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("ESCBackground/Floor3:position")
tracks/2/path = NodePath("Room2Background/Floor3:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
@@ -68,7 +67,7 @@ tracks/2/keys = {
"values": [ Vector2( 696, 650 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ESCBackground/Floor4:position")
tracks/3/path = NodePath("Room2Background/Floor4:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
@@ -83,7 +82,7 @@ tracks/3/keys = {
[sub_resource type="Animation" id=6]
length = 1.6
tracks/0/type = "value"
tracks/0/path = NodePath("ESCBackground/Floor1:position")
tracks/0/path = NodePath("Room2Background/Floor1:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
@@ -95,7 +94,7 @@ tracks/0/keys = {
"values": [ Vector2( 495, 650 ), Vector2( 495, 450 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ESCBackground/Floor2:position")
tracks/1/path = NodePath("Room2Background/Floor2:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
@@ -107,7 +106,7 @@ tracks/1/keys = {
"values": [ Vector2( 585, 650 ), Vector2( 585, 650 ), Vector2( 585, 450 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("ESCBackground/Floor4:position")
tracks/2/path = NodePath("Room2Background/Floor4:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
@@ -119,7 +118,7 @@ tracks/2/keys = {
"values": [ Vector2( 786, 650 ), Vector2( 786, 650 ), Vector2( 786, 450 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ESCBackground/Floor3:position")
tracks/3/path = NodePath("Room2Background/Floor3:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
@@ -134,7 +133,7 @@ tracks/3/keys = {
[sub_resource type="Animation" id=7]
length = 1.6
tracks/0/type = "value"
tracks/0/path = NodePath("ESCBackground/Floor1:position")
tracks/0/path = NodePath("Room2Background/Floor1:position")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
@@ -146,7 +145,7 @@ tracks/0/keys = {
"values": [ Vector2( 495, 450 ), Vector2( 495, 450 ), Vector2( 495, 650 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ESCBackground/Floor2:position")
tracks/1/path = NodePath("Room2Background/Floor2:position")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
@@ -158,7 +157,7 @@ tracks/1/keys = {
"values": [ Vector2( 585, 450 ), Vector2( 585, 450 ), Vector2( 585, 650 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("ESCBackground/Floor3:position")
tracks/2/path = NodePath("Room2Background/Floor3:position")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/imported = false
@@ -170,7 +169,7 @@ tracks/2/keys = {
"values": [ Vector2( 696, 450 ), Vector2( 696, 450 ), Vector2( 696, 650 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("ESCBackground/Floor4:position")
tracks/3/path = NodePath("Room2Background/Floor4:position")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/imported = false
@@ -192,6 +191,52 @@ player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
editor_debug_mode = 1
[node name="Room2Background" type="Sprite" parent="."]
texture = ExtResource( 11 )
centered = false
[node name="room_label" type="Label" parent="Room2Background"]
margin_left = 18.0
margin_top = 12.0
margin_right = 100.0
margin_bottom = 33.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 2"
[node name="Floor1" type="Sprite" parent="Room2Background"]
position = Vector2( 495, 650 )
texture = ExtResource( 13 )
[node name="Floor2" type="Sprite" parent="Room2Background"]
position = Vector2( 585, 650 )
texture = ExtResource( 15 )
[node name="Floor4" type="Sprite" parent="Room2Background"]
position = Vector2( 786, 650 )
texture = ExtResource( 14 )
[node name="Floor3" type="Sprite" parent="Room2Background"]
position = Vector2( 696, 650 )
scale = Vector2( 1.01351, 1 )
texture = ExtResource( 12 )
[node name="Polygon2D" type="Polygon2D" parent="Room2Background"]
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 0, 550, 1280, 550, 1280, 800, 0, 800 )
[node name="room_label2" type="Label" parent="Room2Background"]
margin_left = 17.0
margin_top = 558.0
margin_right = 1126.0
margin_bottom = 627.0
custom_fonts/font = ExtResource( 3 )
text = "Room 2 demonstrates modifying the walkable area of a room. Performing \"use\" on the button will cause the original navmesh (which has a gap
in the middle) with one that covers the whole room (platforms + bridge) - allowing the player to walk from one side to the other.
Setting the state of the r2_bridge variable to \"bridge_open\" or \"bridge_closed\" (see button.esc) automatically runs the animation with the same name."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="r_platform" type="Area2D" parent="."]
pause_mode = 1
script = ExtResource( 7 )
@@ -200,6 +245,7 @@ esc_script = "res://game/rooms/room02/esc/right_platform.esc"
interaction_direction = 3
tooltip_name = "Right platform"
default_action = "look"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -218,6 +264,7 @@ esc_script = "res://game/rooms/room02/esc/right_exit.esc"
is_exit = true
tooltip_name = "Right exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -236,6 +283,7 @@ esc_script = "res://game/rooms/room02/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -252,61 +300,6 @@ script = ExtResource( 8 )
global_id = "r2_player_start"
is_start_location = true
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 550.0
mouse_filter = 2
texture = ExtResource( 11 )
script = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label" type="Label" parent="ESCBackground"]
margin_left = 18.0
margin_top = 12.0
margin_right = 100.0
margin_bottom = 33.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 2"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Floor1" type="Sprite" parent="ESCBackground"]
position = Vector2( 495, 650 )
texture = ExtResource( 13 )
[node name="Floor2" type="Sprite" parent="ESCBackground"]
position = Vector2( 585, 650 )
texture = ExtResource( 15 )
[node name="Floor4" type="Sprite" parent="ESCBackground"]
position = Vector2( 786, 650 )
texture = ExtResource( 14 )
[node name="Floor3" type="Sprite" parent="ESCBackground"]
position = Vector2( 696, 650 )
scale = Vector2( 1.01351, 1 )
texture = ExtResource( 12 )
[node name="Polygon2D" type="Polygon2D" parent="ESCBackground"]
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 0, 550, 1280, 550, 1280, 800, 0, 800 )
[node name="room_label2" type="Label" parent="ESCBackground"]
margin_left = 17.0
margin_top = 558.0
margin_right = 99.0
margin_bottom = 579.0
custom_fonts/font = ExtResource( 3 )
text = "Room 2 demonstrates modifying the walkable area of a room. Performing \"use\" on the button will cause the original navmesh (which has a gap
in the middle) with one that covers the whole room (platforms + bridge) - allowing the player to walk from one side to the other.
Setting the state of the r2_bridge variable to \"bridge_open\" or \"bridge_closed\" (see button.esc) automatically runs the animation with the same name."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 10 )
debug_mode = 1
@@ -327,6 +320,7 @@ global_id = "r2_button"
esc_script = "res://game/rooms/room02/esc/button.esc"
tooltip_name = "button"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.196078, 1, 0, 1 )
animations = null
@@ -347,6 +341,7 @@ global_id = "r2_button_right"
esc_script = "res://game/rooms/room02/esc/button.esc"
tooltip_name = "button"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 0.196078, 1, 0, 1 )
animations = null
@@ -364,6 +359,7 @@ script = ExtResource( 8 )
pause_mode = 1
script = ExtResource( 7 )
global_id = "r2_bridge"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 15 KiB

+11 -19
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=2]
[gd_scene load_steps=24 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
@@ -6,7 +6,6 @@
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" 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_location.gd" type="Script" id=8]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=9]
[ext_resource path="res://game/rooms/room03/room3chasm.png" type="Texture" id=10]
[ext_resource path="res://game/rooms/room03/room3bridge.png" type="Texture" id=11]
[ext_resource path="res://game/rooms/room03/room3background.png" type="Texture" id=12]
@@ -159,6 +158,7 @@ __meta__ = {
}
global_id = "r3_right_platform"
esc_script = "res://game/rooms/room03/esc/right_platform.esc"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -187,6 +187,7 @@ esc_script = "res://game/rooms/room03/esc/right_exit.esc"
is_exit = true
is_interactive = false
tooltip_name = "Exit"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -211,6 +212,7 @@ global_id = "r3_l_exit"
esc_script = "res://game/rooms/room03/esc/left_exit.esc"
is_exit = true
tooltip_name = "Exit"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -232,6 +234,7 @@ pause_mode = 1
script = ExtResource( 5 )
global_id = "r3_bridge"
esc_script = "res://game/rooms/room03/esc/room03_bridge.esc"
combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 10 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -257,21 +260,15 @@ polygon = PoolVector2Array( 501, 349, 780, 351, 859, 548, 419, 551 )
position = Vector2( 434, 441 )
script = ExtResource( 8 )
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 550.0
mouse_filter = 2
[node name="Room3Background" type="Sprite" parent="."]
texture = ExtResource( 12 )
script = ExtResource( 9 )
__meta__ = {
"_edit_use_anchors_": false
}
centered = false
[node name="Polygon2D" type="Polygon2D" parent="ESCBackground"]
[node name="Polygon2D" type="Polygon2D" parent="Room3Background"]
color = Color( 0, 0, 0, 1 )
polygon = PoolVector2Array( 0, 550, 1280, 550, 1280, 800, 0, 800 )
[node name="room_label2" type="Label" parent="ESCBackground"]
[node name="room_label2" type="Label" parent="Room3Background"]
margin_left = 17.0
margin_top = 558.0
margin_right = 1224.0
@@ -280,18 +277,12 @@ custom_fonts/font = ExtResource( 3 )
text = "Room 3 demonstrates a chain of steps to complete a game task. It demonstrates different talk responses based on the state of the button (which sets the
\"broken_button\" variable to true or false respectively). Setting the \"button_repaired\" state automatically plays the button_repaired animation, which turns off
the particle emitter for the button. The custom command shows how to execute functions written in gdscript."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room3Background"]
margin_right = 82.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 3"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="r3_button" type="Area2D" parent="."]
pause_mode = 1
@@ -300,6 +291,7 @@ global_id = "r3_button"
esc_script = "res://game/rooms/room03/esc/button.esc"
tooltip_name = "Button"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

+10 -11
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=12 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=5]
@@ -25,20 +24,20 @@ player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 2390, 1200 ) ]
editor_debug_mode = 1
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 2390.0
margin_bottom = 1200.0
mouse_filter = 2
[node name="Forrest" type="Sprite" parent="."]
texture = ExtResource( 7 )
script = ExtResource( 2 )
centered = false
__meta__ = {
"_edit_lock_": true
}
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Forrest"]
margin_right = 82.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 4"
[node name="Label" type="Label" parent="ESCBackground"]
[node name="Label" type="Label" parent="Forrest"]
modulate = Color( 0, 0, 0, 1 )
margin_left = 782.0
margin_top = 159.0
@@ -58,7 +57,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Label2" type="Label" parent="ESCBackground"]
[node name="Label2" type="Label" parent="Forrest"]
modulate = Color( 0, 0, 0, 1 )
margin_left = 1246.0
margin_top = 506.0
@@ -76,7 +75,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Label3" type="Label" parent="ESCBackground"]
[node name="Label3" type="Label" parent="Forrest"]
modulate = Color( 0, 0, 0, 1 )
margin_left = 1285.0
margin_top = 211.0
-27
View File
@@ -1,27 +0,0 @@
[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 = 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 )
+7 -11
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=18 format=2]
[gd_scene load_steps=17 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://game/items/inventory/r5_empty_sheet.tscn" type="PackedScene" id=2]
@@ -11,7 +11,6 @@
[ext_resource path="res://game/rooms/room05/water_droplet.png" type="Texture" id=9]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=11]
[ext_resource path="res://game/rooms/room05/room5background.png" type="Texture" id=13]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=15]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 1187, 387, 1188, 352, 1269.59, 398, 1267, 538, 15, 401, 93, 350, 96, 375, 12, 539, 129.634, 362, 1155, 361 )
@@ -70,24 +69,21 @@ esc_script = "res://game/rooms/room05/esc/room05.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 550.0
mouse_filter = 2
[node name="Room5Background" type="Sprite" parent="."]
texture = ExtResource( 13 )
script = ExtResource( 15 )
centered = false
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room5Background"]
margin_right = 82.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 5"
[node name="background_for_text" type="Polygon2D" parent="ESCBackground"]
[node name="background_for_text" type="Polygon2D" parent="Room5Background"]
color = Color( 0.364706, 0.109804, 0.447059, 1 )
polygon = PoolVector2Array( 128, 4, 555, 4, 555, 315, 128, 315 )
[node name="room_details1" type="Label" parent="ESCBackground/background_for_text"]
[node name="room_details1" type="Label" parent="Room5Background/background_for_text"]
margin_left = 141.0
margin_top = 7.0
margin_right = 427.0
@@ -99,7 +95,7 @@ Combine the pen and paper in your
inventory to create a new object which
will be used in the next room."
[node name="room_details2" type="Label" parent="ESCBackground/background_for_text"]
[node name="room_details2" type="Label" parent="Room5Background/background_for_text"]
margin_left = 138.0
margin_top = 136.0
margin_right = 580.0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 139 KiB

-27
View File
@@ -1,27 +0,0 @@
[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 = 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 )
+22
View File
@@ -83,4 +83,26 @@ set_active worker false
set_gui_visible true
accept_input ALL
# use has to be supported as simplemouse has no "give" icon
:use r5_filled_sheet
set_gui_visible false
accept_input SKIP
inventory_remove r5_filled_sheet
say worker "I've unlocked the door, in you go!"
walk worker r6_r_exit
# Open the door
set_global r6_r_exit_locked false
# Hide the closed door graphic
set_state r6_r_exit open_door
# Make the open exit visible
set_active r6_r_exit true
# Disappear!
say worker "I will see you again... MUAHAHAHAHA!"
wait 1
set_active worker false
set_gui_visible true
accept_input ALL
+3 -7
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=19 format=2]
[gd_scene load_steps=18 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" type="Script" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://game/rooms/room06/wave.png" type="Texture" id=5]
@@ -63,12 +62,9 @@ esc_script = "res://game/rooms/room06/esc/room06.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 550.0
mouse_filter = 2
[node name="Room6Background" type="Sprite" parent="."]
texture = ExtResource( 12 )
script = ExtResource( 2 )
centered = false
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 33 KiB

-39
View File
@@ -1,39 +0,0 @@
[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 )
+2 -2
View File
@@ -9,10 +9,10 @@ set_state r7_lift lift_floor_2_to_1_no_player true
camera_set_target 0 player
# camera_set_limits is how you change the active camera limits.
# If you change the below command to "camera_set_limits 0" you'll notice
# If you change the below command to "camera_set_limits 1" you'll notice
# some of the camera commands start having issues as the camera no longer
# has access to the requested coordinates
camera_set_limits 1
camera_set_limits 0
> [eq ESC_LAST_SCENE room6]
teleport player r7_l_exit
+9 -16
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=26 format=2]
[gd_scene load_steps=25 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=5]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=6]
@@ -672,7 +671,7 @@ __meta__ = {
global_id = "room7"
esc_script = "res://game/rooms/room07/esc/room07.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1300, 2000 ), Rect2( 0, 0, 2260, 2000 ) ]
camera_limits = [ Rect2( 0, 0, 2260, 2000 ), Rect2( 0, 0, 1300, 2000 ) ]
editor_debug_mode = 1
[node name="lift_shaft" type="Polygon2D" parent="."]
@@ -739,29 +738,23 @@ position = Vector2( 1430, 960 )
scale = Vector2( -1, 1 )
texture = ExtResource( 12 )
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 2260.0
margin_bottom = 1600.0
mouse_filter = 2
[node name="Room7Background" type="Sprite" parent="."]
texture = ExtResource( 9 )
script = ExtResource( 2 )
centered = false
__meta__ = {
"_edit_use_anchors_": false
"_edit_lock_": true
}
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room7Background"]
margin_left = 7.0
margin_top = 3.0
margin_right = 89.0
margin_right = 179.0
margin_bottom = 24.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 5 )
text = "ROOM 7 upper floor"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label2" type="Label" parent="ESCBackground"]
[node name="room_label2" type="Label" parent="Room7Background"]
margin_left = 10.0
margin_top = 628.0
margin_right = 182.0
@@ -773,7 +766,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label3" type="Label" parent="ESCBackground"]
[node name="room_label3" type="Label" parent="Room7Background"]
margin_left = 275.0
margin_top = 681.0
margin_right = 989.0
+13 -16
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=18 format=2]
[gd_scene load_steps=17 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=5]
@@ -226,28 +225,21 @@ script = ExtResource( 7 )
global_id = "r8_player_start"
is_start_location = true
[node name="background" type="TextureRect" parent="."]
margin_right = 1289.0
margin_bottom = 555.0
mouse_filter = 2
[node name="Room8Background" type="Sprite" parent="."]
texture = ExtResource( 8 )
script = ExtResource( 2 )
__meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": false
}
centered = false
[node name="Label" type="Label" parent="background"]
margin_right = 48.0
margin_bottom = 16.0
[node name="Label" type="Label" parent="Room8Background"]
margin_right = 62.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "Room 8"
[node name="Label2" type="Label" parent="background"]
[node name="Label2" type="Label" parent="Room8Background"]
margin_left = 835.0
margin_top = 12.0
margin_right = 1133.0
margin_bottom = 201.0
margin_bottom = 249.0
custom_fonts/font = ExtResource( 3 )
text = "This room demonstrates mixing Escoria
with an external GDScript puzzle.
@@ -275,6 +267,7 @@ global_id = "r8_l_exit"
esc_script = "res://game/rooms/room08/esc/left_exit.esc"
is_exit = true
tooltip_name = "Exit"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -296,6 +289,7 @@ global_id = "r8_m_door"
esc_script = "res://game/rooms/room08/esc/middle_exit.esc"
is_exit = true
tooltip_name = "Exit"
combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 10 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -344,6 +338,7 @@ polygon = PoolVector2Array( 635, 55, 810, 56, 810, 350, 634, 350 )
pause_mode = 1
script = ExtResource( 5 )
global_id = "r8_mini_puzzle_unlocked"
combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 11 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -359,6 +354,7 @@ global_id = "r8_mini_puzzle_button"
esc_script = "res://game/rooms/room08/esc/button_puzzle.esc"
tooltip_name = "Button"
default_action = "use"
combine_when_selected_action_is_in = [ ]
inventory_texture = ExtResource( 9 )
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -391,6 +387,7 @@ global_id = "r8_button_reset_puzzle"
esc_script = "res://game/rooms/room08/esc/button_reset_puzzle.esc"
tooltip_name = "Button"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 147 KiB

-23
View File
@@ -1,23 +0,0 @@
[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 = 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_": ""
}
+9 -11
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=32 format=2]
[gd_scene load_steps=31 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://game/rooms/room09/button.png" type="Texture" id=5]
@@ -417,24 +416,21 @@ __meta__ = {
"_editor_description_": ""
}
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 1280.0
margin_bottom = 550.0
mouse_filter = 2
[node name="Room9Background" type="Sprite" parent="."]
texture = ExtResource( 9 )
script = ExtResource( 2 )
centered = false
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room9Background"]
margin_right = 82.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 9"
[node name="Label" type="Label" parent="ESCBackground"]
[node name="Label" type="Label" parent="Room9Background"]
margin_left = 841.0
margin_top = 7.0
margin_right = 909.0
margin_bottom = 21.0
margin_right = 1158.0
margin_bottom = 225.0
custom_colors/font_color = Color( 0, 0, 0, 1 )
text = "This room demonstrates a puzzle that changes
depending on what the player does. The bottle
@@ -495,6 +491,7 @@ script = ExtResource( 13 )
global_id = "r9_l_exit"
esc_script = "res://game/rooms/room09/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/door_l"]
polygon = PoolVector2Array( 0, 108, 105, 62, 108, 355, 1, 422 )
@@ -508,6 +505,7 @@ script = ExtResource( 13 )
global_id = "r9_r_exit"
esc_script = "res://game/rooms/room09/esc/right_exit.esc"
is_exit = true
tooltip_name = "Right exit"
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Hotspots/door_r"]
polygon = PoolVector2Array( 1174, 61, 1280, 107, 1280, 423, 1172, 353 )
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+13 -19
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" type="Script" id=2]
@@ -8,7 +8,6 @@
[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]
[ext_resource path="res://game/rooms/room10/room10background.png" type="Texture" id=10]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=11]
[sub_resource type="NavigationPolygon" id=1]
vertices = PoolVector2Array( 1185.27, 712.779, 1187.27, 663.779, 1259.27, 705.779, 1260.27, 800.779, 13.2684, 699.779, 83.2684, 666.779, 85.2684, 704.779, 11.2684, 799.779, 112.268, 685.779, 1153.27, 688.779 )
@@ -61,6 +60,7 @@ esc_script = "res://game/rooms/room10/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -80,6 +80,7 @@ global_id = "r10_btn_stop_bg_music"
esc_script = "res://game/rooms/room10/esc/button_stop_bg_music.esc"
tooltip_name = "stop music"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -115,6 +116,7 @@ global_id = "r10_btn_play_bg_music"
esc_script = "res://game/rooms/room10/esc/button_play_bg_music.esc"
tooltip_name = "play music"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -148,6 +150,7 @@ global_id = "test_accept_input"
esc_script = "res://game/rooms/room10/esc/button_accept_input_test.esc"
tooltip_name = "accept input"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -180,6 +183,7 @@ global_id = "button_slide"
esc_script = "res://game/rooms/room10/esc/button_slide.esc"
tooltip_name = "test slide"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -215,6 +219,7 @@ global_id = "button_turn_to"
esc_script = "res://game/rooms/room10/esc/button_turn_to.esc"
tooltip_name = "Test turn_to"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -246,6 +251,7 @@ global_id = "r10_btn_play_snd"
esc_script = "res://game/rooms/room10/esc/button_play_snd.esc"
tooltip_name = "play sound"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -290,24 +296,15 @@ position = Vector2( 938, 509 )
script = ExtResource( 5 )
global_id = "accept_input_location"
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
texture = ExtResource( 10 )
script = ExtResource( 11 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 10"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Room10Background" type="Sprite" parent="."]
texture = ExtResource( 10 )
centered = false
[node name="Room_overview" type="Node2D" parent="."]
@@ -336,6 +333,3 @@ boundaries. Turn_to rotates the player
Accept_input stops the player from
interracting with the game while an
ESCscript is in progress."
__meta__ = {
"_edit_use_anchors_": false
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 480 KiB

After

Width:  |  Height:  |  Size: 484 KiB

-30
View File
@@ -1,30 +0,0 @@
[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 = 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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
+26 -7
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 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/room11/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -27,16 +26,29 @@ esc_script = "res://game/rooms/room11/esc/room11.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="background" parent="." instance=ExtResource( 2 )]
[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="room_label" type="Label" parent="background"]
[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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 11"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
@@ -58,6 +70,7 @@ esc_script = "res://game/rooms/room11/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -71,6 +84,7 @@ script = ExtResource( 5 )
[node name="r_door" parent="Hotspots" instance=ExtResource( 8 )]
global_id = "r11_r_exit"
esc_script = "res://game/rooms/room11/esc/right_exit.esc"
combine_when_selected_action_is_in = [ ]
[node name="ESCLocation" type="Position2D" parent="Hotspots/r_door"]
position = Vector2( 1236.02, 366.281 )
@@ -84,6 +98,7 @@ global_id = "r11_circle_tk"
esc_script = "res://game/rooms/room11/esc/mysterious_circle_tk.esc"
tooltip_name = "Mysterious circle"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -117,6 +132,7 @@ global_id = "r11_circle_nott"
esc_script = "res://game/rooms/room11/esc/mysterious_circle_nott.esc"
tooltip_name = "Mysterious circle"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -150,6 +166,7 @@ global_id = "r11_circle_nohud"
esc_script = "res://game/rooms/room11/esc/mysterious_circle_nohud.esc"
tooltip_name = "Mysterious circle"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -183,6 +200,7 @@ global_id = "r11_circle_nosave"
esc_script = "res://game/rooms/room11/esc/mysterious_circle_nosave.esc"
tooltip_name = "Mysterious circle"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -216,6 +234,7 @@ global_id = "r11_circle_fadein"
esc_script = "res://game/rooms/room11/esc/mysterious_circle_fadein.esc"
tooltip_name = "Mysterious circle"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -4,4 +4,4 @@ say player "Blackout"
transition fade_black out 0.0
wait 1
transition fade_black in 0.0
accept_input ALL
accept_input ALL
+14 -11
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=11 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -48,6 +47,7 @@ esc_script = "res://game/rooms/room12/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -81,6 +81,7 @@ global_id = "r12_transition_default"
esc_script = "res://game/rooms/room12/esc/transition_default.esc"
tooltip_name = "transition_default"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -108,6 +109,7 @@ global_id = "r12_transition_black"
esc_script = "res://game/rooms/room12/esc/transition_black.esc"
tooltip_name = "transition_black"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -135,6 +137,7 @@ global_id = "r12_transition_white"
esc_script = "res://game/rooms/room12/esc/transition_white.esc"
tooltip_name = "transition_white"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -162,6 +165,7 @@ global_id = "r12_transition_shards"
esc_script = "res://game/rooms/room12/esc/transition_shards.esc"
tooltip_name = "transition_shards"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -189,6 +193,7 @@ global_id = "r12_transition_centre"
esc_script = "res://game/rooms/room12/esc/transition_centre.esc"
tooltip_name = "transition_centre"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -216,6 +221,7 @@ global_id = "r12_transition_blackout"
esc_script = "res://game/rooms/room12/esc/transition_blackout.esc"
tooltip_name = "transition_blackout"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -241,26 +247,23 @@ script = ExtResource( 5 )
global_id = "player_start"
is_start_location = true
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
[node name="Room12Background" type="Sprite" parent="."]
texture = ExtResource( 9 )
script = ExtResource( 2 )
centered = false
[node name="room_label" type="Label" parent="ESCBackground"]
[node name="room_label" type="Label" parent="Room12Background"]
margin_right = 92.0
margin_bottom = 45.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 12
"
[node name="room_label2" type="Label" parent="ESCBackground"]
[node name="room_label2" type="Label" parent="Room12Background"]
modulate = Color( 0.0352941, 0.0705882, 0.239216, 1 )
margin_left = 121.0
margin_top = 62.0
margin_right = 213.0
margin_bottom = 107.0
margin_right = 361.0
margin_bottom = 299.0
custom_fonts/font = ExtResource( 3 )
text = "This room demonstrates the
transitions you can use for room
Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 KiB

After

Width:  |  Height:  |  Size: 390 KiB

-30
View File
@@ -1,30 +0,0 @@
[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 = 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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
+24 -7
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 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/room13/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_exit.gd" type="Script" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -26,16 +25,29 @@ global_id = "room13"
esc_script = "res://game/rooms/room13/esc/room13.esc"
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="background" parent="." instance=ExtResource( 2 )]
[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="room_label" type="Label" parent="background"]
[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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 13"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
@@ -57,6 +69,7 @@ esc_script = "res://game/rooms/room13/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -75,6 +88,7 @@ global_id = "r13_hint"
esc_script = "res://game/rooms/room13/esc/hint.esc"
tooltip_name = "A hint"
default_action = "look"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -110,15 +124,18 @@ position = Vector2( -172.899, -45.2554 )
global_id = "play_wav"
esc_script = "res://game/rooms/room13/esc/play_wav.esc"
tooltip_name = "Play WAV"
combine_when_selected_action_is_in = [ ]
[node name="play_wav_loop" parent="Hotspots" instance=ExtResource( 8 )]
position = Vector2( -173.479, 43.5148 )
global_id = "play_wav_loop"
esc_script = "res://game/rooms/room13/esc/play_wav_loop.esc"
tooltip_name = "Play WAV Loop"
combine_when_selected_action_is_in = [ ]
[node name="stop_loop" parent="Hotspots" instance=ExtResource( 8 )]
position = Vector2( -173.479, 132.865 )
global_id = "stop_loop"
esc_script = "res://game/rooms/room13/esc/stop_loop.esc"
tooltip_name = "Stop Looping"
combine_when_selected_action_is_in = [ ]
-30
View File
@@ -1,30 +0,0 @@
[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 = 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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
+3 -4
View File
@@ -1,15 +1,14 @@
:use
# Show main menu, automatic transitions ENABLED
show_menu main true
show_menu main
# wait 2 seconds
wait 2
# Hide main menu, automatic transitions ENABLED
hide_menu main true
hide_menu main
:look
say player "button main menu"
say player "button main menu"
@@ -1,41 +0,0 @@
:use
# This event demonstrates the following:
#- fade out to black
#- show the pause menu (automatic transition disabled to manage those manually)
#- wait 2 seconds
#- change scene (automatic transition disabled to manage those manually) to reload this same room
set_global transition_manual true
# Fade out to black
transition fade_black out
wait 2
# Show main menu, automatic transition DISABLED
show_menu pause
# Showing menu
transition shards in
# Wait 2 seconds on menu
wait 2
# Transition out before hiding menu
transition fade_black out
# Hide the menu
hide_menu pause
wait 1
# Do NOT transition IN as this transition will be managed by the room's :setup event!
# If you transition IN here instead of room's :setup event, you will show the previous room
# Change scene to same scene, disabled automatic transition
change_scene res://game/rooms/room14/room14.tscn false
# Do not transition here either, as change_scene ends the execution of this script
:look
say player "Button change scene"
@@ -1,30 +0,0 @@
:use
# This event demonstrates the following:
#- fade out to black
#- show the pause menu (automatic transition disabled to manage those manually)
#- wait 2 seconds
#- change scene (automatic transition enabled) to reload this same room
set_global transition_manual false
# Fade out to black
transition fade_black out
wait 2
# Show main menu, automatic transition DISABLED
show_menu pause
# Showing menu
transition shards in
# Wait 2 seconds on menu
wait 2
# Change scene to same scene, enabled automatic transition
change_scene res://game/rooms/room14/room14.tscn
:look
say player "Button change scene auto"
+4 -8
View File
@@ -1,16 +1,12 @@
:use
# Show pause menu, automatic transition are disabled by default
# So we can manage them manually using `transition` ESC command
# Show pause menu
show_menu pause
# wait 2 seconds
# Wait 2 seconds (this will run AFTER the pause menu is closed since the pause
# menu also pauses the game)
wait 2
# Hide pause menu, automatic transition are disabled by default
# So we can manage them manually using `transition` ESC command
hide_menu pause
:look
say player "Button pause menu"
say player "Button pause menu"
+1 -1
View File
@@ -44,4 +44,4 @@
queue_event worker moveworker _queuedemo true
queue_event worker2 moveworker2 _queuedemo
+20 -60
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=11 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/room14/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -26,9 +25,25 @@ esc_script = "res://game/rooms/room14/esc/room14.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="background" parent="." instance=ExtResource( 2 )]
[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="room_label" type="Label" parent="background"]
[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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
@@ -100,13 +115,8 @@ margin_top = 194.216
margin_right = 408.569
margin_bottom = 259.216
text = "Show main menu
with automatic
transitions enabled
"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="show_pause_menu" parent="." instance=ExtResource( 9 )]
position = Vector2( 233.415, 0 )
@@ -123,59 +133,9 @@ margin_left = 273.915
margin_top = 194.216
margin_right = 413.915
margin_bottom = 242.216
text = "Show pause menu
with NO transition
(manual or automatic)"
text = "Show pause menu"
align = 1
[node name="show_pause_change_scene_manual" parent="." instance=ExtResource( 9 )]
position = Vector2( 463.318, 0 )
global_id = "button_main_change_scene"
esc_script = "res://game/rooms/room14/esc/button_main_menu_change_scene.esc"
combine_when_selected_action_is_in = [ ]
[node name="ESCLocation" type="Position2D" parent="show_pause_change_scene_manual"]
position = Vector2( 343.887, 381.305 )
script = ExtResource( 5 )
[node name="Label" type="Label" parent="show_pause_change_scene_manual"]
margin_left = 277.027
margin_top = 194.0
margin_right = 428.027
margin_bottom = 259.0
text = "Show pause menu with
manual transition
and change_scene with
manual transition"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="show_pause_change_scene_auto" parent="." instance=ExtResource( 9 )]
position = Vector2( 676.318, 0 )
global_id = "button_pause_change_scene_auto"
esc_script = "res://game/rooms/room14/esc/button_main_menu_change_scene_auto.esc"
combine_when_selected_action_is_in = [ ]
[node name="ESCLocation" type="Position2D" parent="show_pause_change_scene_auto"]
position = Vector2( 343.887, 381.305 )
script = ExtResource( 5 )
[node name="Label" type="Label" parent="show_pause_change_scene_auto"]
margin_left = 277.027
margin_top = 194.0
margin_right = 428.027
margin_bottom = 259.0
text = "Show pause menu with
manual transition
and change_scene with
automatic transition"
align = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="worker" parent="." instance=ExtResource( 10 )]
position = Vector2( 204.268, 376.233 )
esc_script = "res://game/rooms/room14/esc/worker.esc"
-9
View File
@@ -1,9 +0,0 @@
[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 = 1289.0
margin_bottom = 555.0
mouse_filter = 2
script = ExtResource( 1 )
Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

After

Width:  |  Height:  |  Size: 206 KiB

+17 -16
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=11 format=2]
[gd_scene load_steps=10 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_terrain.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -25,19 +24,16 @@ esc_script = "res://game/rooms/room15/esc/room15.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="ESCBackground" type="TextureRect" parent="."]
margin_right = 40.0
margin_bottom = 40.0
mouse_filter = 2
[node name="Room15" type="Sprite" parent="."]
texture = ExtResource( 8 )
script = ExtResource( 2 )
centered = false
[node name="ColorRect" type="ColorRect" parent="ESCBackground"]
[node name="ColorRect" type="ColorRect" parent="Room15"]
margin_right = 387.0
margin_bottom = 207.0
color = Color( 0, 0, 0, 0.501961 )
[node name="description" type="Label" parent="ESCBackground/ColorRect"]
[node name="description" type="Label" parent="Room15/ColorRect"]
margin_left = 9.0
margin_top = 32.0
margin_right = 615.0
@@ -49,20 +45,20 @@ player will spawn at starting location if there is one.
If there is none, the player will spawn at origin
(0,0), top-left corner of the screen. "
[node name="room_label" type="Label" parent="ESCBackground/ColorRect"]
[node name="room_label" type="Label" parent="Room15/ColorRect"]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 15"
[node name="ColorRect2" type="ColorRect" parent="ESCBackground"]
[node name="ColorRect2" type="ColorRect" parent="Room15"]
margin_left = 461.0
margin_top = 393.0
margin_right = 847.0
margin_bottom = 433.0
color = Color( 0, 0, 0, 0.501961 )
[node name="description" type="Label" parent="ESCBackground/ColorRect2"]
[node name="description" type="Label" parent="Room15/ColorRect2"]
margin_left = 9.0
margin_top = 9.0
margin_right = 615.0
@@ -70,14 +66,14 @@ margin_bottom = 195.0
custom_fonts/font = ExtResource( 3 )
text = "Use the second door to change between costumes"
[node name="ColorRect3" type="ColorRect" parent="ESCBackground"]
[node name="ColorRect3" type="ColorRect" parent="Room15"]
margin_left = 22.0
margin_top = 505.0
margin_right = 322.0
margin_bottom = 545.0
color = Color( 0, 0, 0, 0.501961 )
[node name="description" type="Label" parent="ESCBackground/ColorRect3"]
[node name="description" type="Label" parent="Room15/ColorRect3"]
margin_left = 9.0
margin_top = 9.0
margin_right = 615.0
@@ -85,14 +81,14 @@ margin_bottom = 195.0
custom_fonts/font = ExtResource( 3 )
text = "Use the left column for say long left"
[node name="ColorRect4" type="ColorRect" parent="ESCBackground"]
[node name="ColorRect4" type="ColorRect" parent="Room15"]
margin_left = 952.0
margin_top = 502.0
margin_right = 1262.0
margin_bottom = 542.0
color = Color( 0, 0, 0, 0.501961 )
[node name="description" type="Label" parent="ESCBackground/ColorRect4"]
[node name="description" type="Label" parent="Room15/ColorRect4"]
margin_left = 9.0
margin_top = 9.0
margin_right = 615.0
@@ -123,6 +119,7 @@ esc_script = "res://game/rooms/room15/esc/left_exit.esc"
is_exit = true
tooltip_name = "Left exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -143,6 +140,7 @@ esc_script = "res://game/rooms/room15/esc/right_exit.esc"
is_exit = true
tooltip_name = "Right exit"
default_action = "walk"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -171,6 +169,7 @@ global_id = "say_long_left"
esc_script = "res://game/rooms/room15/esc/say_long.esc"
tooltip_name = "Say long test left"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -188,6 +187,7 @@ global_id = "say_long_right"
esc_script = "res://game/rooms/room15/esc/say_long.esc"
tooltip_name = "Say long test right"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
@@ -205,6 +205,7 @@ global_id = "switch_animation"
esc_script = "res://game/rooms/room15/esc/switch_animation.esc"
tooltip_name = "Switch animation"
default_action = "use"
combine_when_selected_action_is_in = [ ]
dialog_color = Color( 1, 1, 1, 1 )
animations = null
-30
View File
@@ -1,30 +0,0 @@
[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 = 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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
+22 -7
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=12 format=2]
[gd_scene load_steps=11 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/room14/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -26,9 +25,7 @@ esc_script = "res://game/rooms/room16/esc/room16.esc"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="background" parent="." instance=ExtResource( 2 )]
[node name="room_label" type="Label" parent="background"]
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
@@ -37,6 +34,26 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Node2D" type="Node2D" parent="."]
[node name="l_platform" type="Line2D" parent="Node2D"]
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="Node2D"]
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="Node2D"]
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 )
__meta__ = {
"_editor_description_": ""
}
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
@@ -106,13 +123,11 @@ align = 1
position = Vector2( 789, 362 )
global_id = "worker1"
esc_script = "res://game/rooms/room16/esc/worker_script.esc"
combine_when_selected_action_is_in = [ ]
[node name="worker2" parent="." instance=ExtResource( 10 )]
position = Vector2( 988, 364 )
global_id = "worker2"
esc_script = ""
combine_when_selected_action_is_in = [ ]
[node name="ESCLocation" type="Position2D" parent="."]
position = Vector2( 45, 513 )
-27
View File
@@ -1,27 +0,0 @@
[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 = 1289.0
margin_bottom = 555.0
mouse_filter = 2
script = ExtResource( 1 )
[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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
+19 -7
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=9 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/room14/background.tscn" type="PackedScene" id=2]
[ext_resource path="res://game/fonts/caslonantique.tres" type="DynamicFont" id=3]
[ext_resource path="res://game/characters/mark/mark.tscn" type="PackedScene" id=4]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_location.gd" type="Script" id=5]
@@ -23,16 +22,29 @@ global_id = "room17"
player_scene = ExtResource( 4 )
camera_limits = [ Rect2( 0, 0, 1280, 555 ) ]
[node name="background" parent="." instance=ExtResource( 2 )]
[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="room_label" type="Label" parent="background"]
[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, 1278.31, 672.412, 1188.64, 624.843 )
__meta__ = {
"_editor_description_": ""
}
[node name="room_label" type="Label" parent="."]
margin_right = 92.0
margin_bottom = 21.0
custom_fonts/font = ExtResource( 3 )
text = "ROOM 17"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="walkable_area" type="Navigation2D" parent="."]
script = ExtResource( 1 )
+1 -6
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=8 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=3]
[sub_resource type="Animation" id=3]
@@ -68,10 +67,6 @@ tracks/0/keys = {
script = ExtResource( 1 )
global_id = "room18"
[node name="ESCBackground" type="TextureRect" parent="."]
mouse_filter = 2
script = ExtResource( 2 )
[node name="items" type="Node2D" parent="."]
[node name="bottom_item" type="Area2D" parent="items"]
+1 -6
View File
@@ -1,7 +1,6 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_room.gd" type="Script" id=1]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_background.gd" type="Script" id=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/esc_item.gd" type="Script" id=3]
[sub_resource type="Animation" id=1]
@@ -98,10 +97,6 @@ tracks/0/keys = {
script = ExtResource( 1 )
global_id = "room19"
[node name="ESCBackground" type="TextureRect" parent="."]
mouse_filter = 2
script = ExtResource( 2 )
[node name="items" type="Node2D" parent="."]
[node name="bottom_item" type="Area2D" parent="items"]
+41
View File
@@ -8,3 +8,44 @@ play_snd res://game/sfx/Game-Menu_Looping.mp3 _music
:newgame
# 1/ Simple scene
change_scene res://game/rooms/room01/room01.tscn
# 2/ Button bridge
#change_scene res://game/rooms/room02/room02.tscn
# 3/ Broken button
#change_scene res://game/rooms/room03/room03.tscn
# 4/ wide room
#change_scene res://game/rooms/room04/room04.tscn
# 5/ items rooms
#change_scene res://game/rooms/room05/room05.tscn
# 6/ character room
#change_scene res://game/rooms/room06/room06.tscn
# 7/ long room with camera shift to object 2 if look on object 1
# and stairs with camera shift too
#change_scene res://game/rooms/room07/room07.tscn
# 8/ puzzle in superposed scene
#change_scene res://game/rooms/room08/room08.tscn
# 9/ Indy4 3 closets
#change_scene res://game/rooms/room09/room09.tscn
# 10/
#change_scene res://game/rooms/room10/room10.tscn
# 11/ Event flags tests
#change_scene res://game/rooms/room11/room11.tscn
# 12/ Event flags tests 2
#change_scene res://game/rooms/room12/room12.tscn
# 13/
#change_scene res://game/rooms/room13/room13.tscn
# 14/
#change_scene res://game/rooms/room14/room14.tscn
+4 -4
View File
@@ -1,7 +1,7 @@
keys,en,fr,de
ROOM1_look_wall_item_1,"1 I don't know what that stuff is.","Je ne sais pas ce que c'est.","Ich habe keine Ahnung, was das ist."
ROOM1_look_wall_item_2,"1 I REALLY don't know what that stuff is.","Je ne sais VRAIMENT pas ce que c'est.","Ich habe WIRKLICH keine Ahnung, was das ist!"
ROOM1_look_wall_item_3,"1 No, SERIOUSLY, I have no idea what that is!","Non, SÉRIEUSEMENT, je n'ai aucune idée de ce que c'est !","IM ERNST! Ich habe keine Ahnung, was das ist!"
ROOM1_look_wall_item_4,"1 Please stop asking me that!","Arrêtez de me demander !","Bite hör' auf, mich danach zu fragen!"
ROOM1_look_wall_item_1,"I don't know what that stuff is.","Je ne sais pas ce que c'est.","Ich habe keine Ahnung, was das ist."
ROOM1_look_wall_item_2,"I REALLY don't know what that stuff is.","Je ne sais VRAIMENT pas ce que c'est.","Ich habe WIRKLICH keine Ahnung, was das ist!"
ROOM1_look_wall_item_3,"No, SERIOUSLY, I have no idea what that is!","Non, SÉRIEUSEMENT, je n'ai aucune idée de ce que c'est !","IM ERNST! Ich habe keine Ahnung, was das ist!"
ROOM1_look_wall_item_4,"Please stop asking me that!","Arrêtez de me demander !","Bite hör' auf, mich danach zu fragen!"
ROOM6_dialog_1,"What are you doing here?","Que faites-vous ici ?","Was machst Du hier?"
ROOM6_dialog_2,"I'm selling these fine leather jackets.", "Je vends ces superbes blousons en cuir.","Ich verkaufe diese schicken Lederjacken."
1 keys en fr de
2 ROOM1_look_wall_item_1 1 I don't know what that stuff is. I don't know what that stuff is. Je ne sais pas ce que c'est. Ich habe keine Ahnung, was das ist.
3 ROOM1_look_wall_item_2 1 I REALLY don't know what that stuff is. I REALLY don't know what that stuff is. Je ne sais VRAIMENT pas ce que c'est. Ich habe WIRKLICH keine Ahnung, was das ist!
4 ROOM1_look_wall_item_3 1 No, SERIOUSLY, I have no idea what that is! No, SERIOUSLY, I have no idea what that is! Non, SÉRIEUSEMENT, je n'ai aucune idée de ce que c'est ! IM ERNST! Ich habe keine Ahnung, was das ist!
5 ROOM1_look_wall_item_4 1 Please stop asking me that! Please stop asking me that! Arrêtez de me demander ! Bite hör' auf, mich danach zu fragen!
6 ROOM6_dialog_1 What are you doing here? Que faites-vous ici ? Was machst Du hier?
7 ROOM6_dialog_2 I'm selling these fine leather jackets. Je vends ces superbes blousons en cuir. Ich verkaufe diese schicken Lederjacken.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.