Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8bb2c5c840 | ||
|
|
ddf7942890 | ||
|
|
eded968b4e | ||
|
|
890541465b | ||
|
|
b416cd6d4f | ||
|
|
2c203c8476 | ||
|
|
f1c232847f | ||
|
|
904c6e7f15 | ||
|
|
82d1375871 | ||
|
|
4d9cb93483 | ||
|
|
4de204a122 | ||
|
|
9ba305b6a1 | ||
|
|
93baf56fd5 | ||
|
|
f061e1905f | ||
|
|
cb1b579544 | ||
|
|
954fd873bd | ||
|
|
eed1540c93 | ||
|
|
01e8fbf4fe | ||
|
|
9ffce48c38 | ||
|
|
a3d54fa9d3 | ||
|
|
f50b7da9eb | ||
|
|
775338c4d2 | ||
|
|
c8ad334936 | ||
|
|
4aae35ee49 | ||
|
|
c56a32555e | ||
|
|
b07d850b82 | ||
|
|
c9510f8902 | ||
|
|
8f2083bd9f | ||
|
|
f8eb3cb378 | ||
|
|
5ef5874d11 | ||
|
|
770fdde083 | ||
|
|
d9d5bb3259 | ||
|
|
d2a6aca452 | ||
|
|
df188449f3 | ||
|
|
315c3c86d6 | ||
|
|
a80640d94d | ||
|
|
9aa9903b41 | ||
|
|
15367da9b4 | ||
|
|
fb5fb19df1 | ||
|
|
a5f45800ba | ||
|
|
0f998f94b6 | ||
|
|
6452b486fc | ||
|
|
90a542edc9 | ||
|
|
96a3dd44e3 | ||
|
|
3326f51434 | ||
|
|
fe4a15c76b | ||
|
|
81322e787a | ||
|
|
955a5c0556 | ||
|
|
e39b9eaeb7 | ||
|
|
adb3d8d345 | ||
|
|
fef374fe95 | ||
|
|
62d8bb5f51 | ||
|
|
d01b62b8f7 | ||
|
|
a3fb8debbb | ||
|
|
1aa29a0539 | ||
|
|
fa9ec1e5cd | ||
|
|
5dd4c27430 | ||
|
|
f6d6e287f1 |
No files matched your search
@@ -0,0 +1,37 @@
|
||||
[gd_scene format=3 uid="uid://bla1cfndgad0"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://m5dwatby4pfc" path="res://art/text_box.png" id="1_4xg4g"]
|
||||
[ext_resource type="Script" uid="uid://byj4ibepgm6oa" path="res://dialogue.gd" id="1_tgtc2"]
|
||||
|
||||
[node name="Dialogue" type="TextureRect" unique_id=733911232]
|
||||
visible = false
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("1_4xg4g")
|
||||
script = ExtResource("1_tgtc2")
|
||||
|
||||
[node name="Panel" type="Panel" parent="." unique_id=1878574619]
|
||||
self_modulate = Color(1, 1, 1, 0)
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Text" type="RichTextLabel" parent="Panel" unique_id=1494828842]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 8.0
|
||||
offset_top = 265.0
|
||||
offset_right = -11.0
|
||||
offset_bottom = -263.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
bbcode_enabled = true
|
||||
fit_content = true
|
||||
@@ -0,0 +1,51 @@
|
||||
[gd_scene format=3 uid="uid://bcu7ftukipiyy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d0lvnnd3mqfxh" path="res://old_computer.gd" id="1_6jyhx"]
|
||||
[ext_resource type="Texture2D" uid="uid://brppyauh1xyif" path="res://art/computer/background.png" id="2_2wyuv"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2wyuv"]
|
||||
bg_color = Color(0.28627452, 0.25490198, 0.22745098, 1)
|
||||
|
||||
[node name="OldComputer" type="CanvasLayer" unique_id=1944134941]
|
||||
visible = false
|
||||
script = ExtResource("1_6jyhx")
|
||||
|
||||
[node name="BackgroundPanel" type="Panel" parent="." unique_id=1876350245]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ForegroundPanel" type="Panel" parent="BackgroundPanel" unique_id=1797726425]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_2wyuv")
|
||||
|
||||
[node name="ScreenPanel" type="Panel" parent="BackgroundPanel/ForegroundPanel" unique_id=528166777]
|
||||
layout_mode = 0
|
||||
offset_left = 82.0
|
||||
offset_top = 42.0
|
||||
offset_right = 122.81183
|
||||
offset_bottom = 85.64739
|
||||
scale = Vector2(27.099607, 14.530945)
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="BackgroundPanel" unique_id=856709145]
|
||||
position = Vector2(618, 349)
|
||||
texture = ExtResource("2_2wyuv")
|
||||
|
||||
[node name="ConsoleText" type="RichTextLabel" parent="." unique_id=715961645]
|
||||
offset_left = 150.0
|
||||
offset_top = 105.0
|
||||
offset_right = 1102.0
|
||||
offset_bottom = 652.0
|
||||
bbcode_enabled = true
|
||||
text = ">> Pharaoh OS 2000 Boot Sequence
|
||||
>> WARN: Detected anomalies!
|
||||
>> WARN: Memory integrity at %d%%!
|
||||
>> User: Please load backup data disk (1 of 4)
|
||||
>> Player: Press interact [E] or jump [Space] to exit."
|
||||
@@ -0,0 +1,88 @@
|
||||
[gd_scene format=3 uid="uid://rcq5arl8mdes"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bdv4qahk8mumv" path="res://slideshower.gd" id="1_7e6iu"]
|
||||
[ext_resource type="Texture2D" uid="uid://pwn1pdrp6ruh" path="res://art/keyart_thumb.png" id="2_puxm7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_puxm7"]
|
||||
bg_color = Color(0.8203125, 0.8203125, 0.8203125, 1)
|
||||
|
||||
[node name="Slideshower" type="Control" unique_id=776393005]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_7e6iu")
|
||||
|
||||
[node name="VSplitContainer" type="VSplitContainer" parent="." unique_id=35480294]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 3.0
|
||||
offset_top = 4.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
split_offsets = PackedInt32Array(642)
|
||||
split_offset = 642
|
||||
|
||||
[node name="ImageFrame" type="Panel" parent="VSplitContainer" unique_id=1582351824]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="SlideContainer" type="HBoxContainer" parent="VSplitContainer/ImageFrame" unique_id=975465325]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="SlideImage" type="TextureRect" parent="VSplitContainer/ImageFrame/SlideContainer" unique_id=720362532]
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_puxm7")
|
||||
expand_mode = 2
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="SlideImage2" type="TextureRect" parent="VSplitContainer/ImageFrame/SlideContainer" unique_id=746302187]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_puxm7")
|
||||
expand_mode = 2
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="TextFrame" type="Panel" parent="VSplitContainer" unique_id=1381001186]
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_puxm7")
|
||||
|
||||
[node name="SlideText" type="RichTextLabel" parent="VSplitContainer/TextFrame" unique_id=1168262970]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.86
|
||||
anchor_bottom = 1.0
|
||||
offset_right = 11.780029
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
theme_override_font_sizes/normal_font_size = 21
|
||||
theme_override_font_sizes/bold_font_size = 21
|
||||
theme_override_font_sizes/bold_italics_font_size = 21
|
||||
theme_override_font_sizes/italics_font_size = 21
|
||||
theme_override_font_sizes/mono_font_size = 21
|
||||
text = "The Pharaoh's Jetpack!"
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="VSplitContainer/TextFrame" unique_id=1558725691]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.097
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.79
|
||||
offset_left = 1133.0
|
||||
offset_top = -0.013999939
|
||||
offset_right = -14.0
|
||||
offset_bottom = 0.020000458
|
||||
grow_horizontal = 2
|
||||
text = "Continue [E]"
|
||||
|
||||
[connection signal="pressed" from="VSplitContainer/TextFrame/ContinueButton" to="." method="_on_continue_button_pressed"]
|
||||
|
After Width: | Height: | Size: 130 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfqc03jxmymdy"
|
||||
path="res://.godot/imported/Pharaoh.png-b23c3a0f85bea8b766379c1c8242fe8c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/Pharaoh.png"
|
||||
dest_files=["res://.godot/imported/Pharaoh.png-b23c3a0f85bea8b766379c1c8242fe8c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 444 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 439 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 70 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://brppyauh1xyif"
|
||||
path="res://.godot/imported/background.png-26b98ec3cc5bed410faa484fde97db25.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/computer/background.png"
|
||||
dest_files=["res://.godot/imported/background.png-26b98ec3cc5bed410faa484fde97db25.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 424 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d0cd1alr8k706"
|
||||
path="res://.godot/imported/interact_button.png-3356a9459d993b6fc378d0efcbed3cae.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/interact_button.png"
|
||||
dest_files=["res://.godot/imported/interact_button.png-3356a9459d993b6fc378d0efcbed3cae.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 424 B |
|
After Width: | Height: | Size: 93 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://csa0jku42e2q3"
|
||||
path="res://.godot/imported/1.png-be292bb4085d2b3fba4748c9259c4dbd.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/numbers/1.png"
|
||||
dest_files=["res://.godot/imported/1.png-be292bb4085d2b3fba4748c9259c4dbd.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 98 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://5p4gwkndi1un"
|
||||
path="res://.godot/imported/2.png-7eebbc475a29d976e42436727060df80.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/numbers/2.png"
|
||||
dest_files=["res://.godot/imported/2.png-7eebbc475a29d976e42436727060df80.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 97 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dtsrcmnqjjuwq"
|
||||
path="res://.godot/imported/3.png-ebfbf280803cfb699406cf40ae0d5948.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/numbers/3.png"
|
||||
dest_files=["res://.godot/imported/3.png-ebfbf280803cfb699406cf40ae0d5948.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 117 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c1m4qu2pobdhc"
|
||||
path="res://.godot/imported/4.png-3ede4dd94b7768fa3734a425aa677929.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/numbers/4.png"
|
||||
dest_files=["res://.godot/imported/4.png-3ede4dd94b7768fa3734a425aa677929.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 461 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://m5djssna67e1"
|
||||
path="res://.godot/imported/frame3.png-5f06f474fd9005328c0dc7516fb0f5cf.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/player/crouch/frame3.png"
|
||||
dest_files=["res://.godot/imported/frame3.png-5f06f474fd9005328c0dc7516fb0f5cf.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b2nldodte5p6s"
|
||||
path="res://.godot/imported/sarco_closed.png-7349b4ce605c1946e60060ded9253e83.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/sarco_closed.png"
|
||||
dest_files=["res://.godot/imported/sarco_closed.png-7349b4ce605c1946e60060ded9253e83.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 458 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://djlqqmqpsd0kc"
|
||||
path="res://.godot/imported/sign.png-f68c0bf044084530e7373ad6ed8f7c3f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/sign.png"
|
||||
dest_files=["res://.godot/imported/sign.png-f68c0bf044084530e7373ad6ed8f7c3f.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 2.7 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d1njkrglsofqk"
|
||||
path="res://.godot/imported/Activate.png-5a9b65792bff5759f1905879cea1ebaa.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Activate.png"
|
||||
dest_files=["res://.godot/imported/Activate.png-5a9b65792bff5759f1905879cea1ebaa.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 1.4 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dkhnrtsstc3gs"
|
||||
path="res://.godot/imported/Daydreaming.png-653e4d4bd093a39da88f576e50d6c4f0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Daydreaming.png"
|
||||
dest_files=["res://.godot/imported/Daydreaming.png-653e4d4bd093a39da88f576e50d6c4f0.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 1.8 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://2mb7loqx4035"
|
||||
path="res://.godot/imported/Glow.png-7fece8dff73930115c57f2c0ae3578d8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Glow.png"
|
||||
dest_files=["res://.godot/imported/Glow.png-7fece8dff73930115c57f2c0ae3578d8.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 3.3 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c5kfj40gjnltf"
|
||||
path="res://.godot/imported/Goatcaphagus.png-d86b36347399a0816eebbbd8281279fc.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Goatcaphagus.png"
|
||||
dest_files=["res://.godot/imported/Goatcaphagus.png-d86b36347399a0816eebbbd8281279fc.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 663 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://3jk04ddh4tme"
|
||||
path="res://.godot/imported/Journey.png-73c5508ef5224e4becee36594c39a18b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Journey.png"
|
||||
dest_files=["res://.godot/imported/Journey.png-73c5508ef5224e4becee36594c39a18b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 2.4 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dd6rkyvutqrxb"
|
||||
path="res://.godot/imported/Opensofar.png-a0b612c8052ea0cd9e0750c52238989d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Opensofar.png"
|
||||
dest_files=["res://.godot/imported/Opensofar.png-a0b612c8052ea0cd9e0750c52238989d.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 356 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bh6teffdplxy7"
|
||||
path="res://.godot/imported/PossessedbyOC.png-96605a3f22a6b73e1293b2d1be720757.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/PossessedbyOC.png"
|
||||
dest_files=["res://.godot/imported/PossessedbyOC.png-96605a3f22a6b73e1293b2d1be720757.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 3.5 MiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c2e5dbfb16dhq"
|
||||
path="res://.godot/imported/Power_source.png-669b9d6c712b93bed5f0d8805876b0d5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/slides/Power_source.png"
|
||||
dest_files=["res://.godot/imported/Power_source.png-669b9d6c712b93bed5f0d8805876b0d5.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
|
After Width: | Height: | Size: 422 B |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://m5dwatby4pfc"
|
||||
path="res://.godot/imported/text_box.png-d58c3f415558f4d17ce4db7eb8cebb71.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/text_box.png"
|
||||
dest_files=["res://.godot/imported/text_box.png-d58c3f415558f4d17ce4db7eb8cebb71.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
@@ -0,0 +1,11 @@
|
||||
extends AudioStreamPlayer2D
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
#AudioServer.
|
||||
pass
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://544kxhmunfcp
|
||||
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_im0tn"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 16)
|
||||
size = Vector2(16, 14)
|
||||
|
||||
[node name="Block" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
class_name Dialogue
|
||||
extends Control
|
||||
|
||||
func show_text(text: String) -> Dialogue:
|
||||
visible = true
|
||||
$Panel/Text.text = "[center][font_size=28][color=BROWN]%s" % text
|
||||
return self
|
||||
|
||||
func dismiss_after(secs: float) -> Dialogue:
|
||||
await get_tree().create_timer(secs).timeout
|
||||
return dismiss()
|
||||
|
||||
func dismiss() -> Dialogue:
|
||||
visible = false
|
||||
return self
|
||||
@@ -0,0 +1 @@
|
||||
uid://byj4ibepgm6oa
|
||||
@@ -0,0 +1,11 @@
|
||||
extends Pickup
|
||||
|
||||
@export var disk_num: int
|
||||
|
||||
func _ready() -> void:
|
||||
$DiskNumber.texture = load("res://art/numbers/%d.png" % disk_num)
|
||||
|
||||
func _on_picked_up() -> void:
|
||||
%Player2D.give_disk(disk_num)
|
||||
%Player2D.give_objective("disk%d" % disk_num, disk_num, "Install data disk %d" % disk_num)
|
||||
print("Picked up disk ", disk_num)
|
||||
@@ -0,0 +1 @@
|
||||
uid://d1uqjaar8v5vi
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://b1e1nx60ng3tq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://d1uqjaar8v5vi" path="res://disk.gd" id="1_olhq3"]
|
||||
[ext_resource type="Texture2D" uid="uid://b0l3mbvieqbnb" path="res://art/empty_tablet.png" id="3_olhq3"]
|
||||
[ext_resource type="AudioStream" uid="uid://f2xmq6cgiiwj" path="res://sound/coin.wav" id="4_5qg3x"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
radius = 7.0
|
||||
height = 20.0
|
||||
|
||||
[node name="Disk" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_olhq3")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture = ExtResource("3_olhq3")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
scale = Vector2(1.3291091, 1)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=1778061188]
|
||||
stream = ExtResource("4_5qg3x")
|
||||
volume_db = 1.0
|
||||
|
||||
[node name="DiskNumber" type="Sprite2D" parent="." unique_id=1317449795]
|
||||
|
||||
[connection signal="picked_up" from="." to="." method="_on_picked_up"]
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,24 @@
|
||||
[gd_scene format=3 uid="uid://hqmkjtv5shyk"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://brlrpnqrsi2vn" path="res://spike.gd" id="1_bl7j6"]
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_24rqj"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
|
||||
size = Vector2(15, 10)
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_bl7j6")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, 2)
|
||||
scale = Vector2(-1, -1)
|
||||
texture = ExtResource("2_24rqj")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
position = Vector2(-0.5, -1)
|
||||
shape = SubResource("RectangleShape2D_xfwl5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,17 @@
|
||||
extends Node2D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
$AudioStreamPlayer2D.play()
|
||||
visible = false
|
||||
%Player2D.coins += 1
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
queue_free()
|
||||
@@ -0,0 +1 @@
|
||||
uid://7qhq76giye1v
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3 uid="uid://be757jqlv785s"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://7qhq76giye1v" path="res://hidden_coin.gd" id="1_4tl78"]
|
||||
[ext_resource type="Texture2D" uid="uid://cr2wdd0yn1syy" path="res://art/coin_glow.png" id="2_17b6t"]
|
||||
[ext_resource type="Texture2D" uid="uid://dftfxivu3peog" path="res://art/coin.png" id="3_n84lr"]
|
||||
[ext_resource type="AudioStream" uid="uid://f2xmq6cgiiwj" path="res://sound/coin.wav" id="4_rxg23"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
|
||||
height = 26.0
|
||||
|
||||
[node name="HiddenCoin" type="Node2D" unique_id=1739014101]
|
||||
visible = false
|
||||
script = ExtResource("1_4tl78")
|
||||
|
||||
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=2052227436]
|
||||
color = Color(0, 0.5492828, 0.05646421, 1)
|
||||
energy = 4.0
|
||||
texture = ExtResource("2_17b6t")
|
||||
texture_scale = 1.3
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
|
||||
texture = ExtResource("3_n84lr")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
shape = SubResource("CapsuleShape2D_6qpsl")
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=1778061188]
|
||||
stream = ExtResource("4_rxg23")
|
||||
volume_db = 1.0
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://ch0417iiviaxb"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dcesonmhay5vo" path="res://hidden_vertical_long_block.gd" id="1_llak8"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_se82m"]
|
||||
|
||||
[node name="HiddenHorizontalLongBlock" type="RigidBody2D" unique_id=925152188]
|
||||
rotation = 3.1415927
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
script = ExtResource("1_llak8")
|
||||
|
||||
[node name="Block" parent="." unique_id=1409784601 instance=ExtResource("2_se82m")]
|
||||
|
||||
[node name="Block2" parent="." unique_id=54235726 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(15.999999, -9.536743e-07)
|
||||
|
||||
[node name="Block3" parent="." unique_id=474997430 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(-15, 0)
|
||||
|
||||
[node name="Block4" parent="." unique_id=1125897933 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(32, -1.9073486e-06)
|
||||
|
||||
[node name="Block5" parent="." unique_id=1104682129 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(-31, 0)
|
||||
|
||||
[node name="Block6" parent="." unique_id=200247655 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(48, -1.9073486e-06)
|
||||
|
||||
[node name="Block7" parent="." unique_id=519163182 instance=ExtResource("2_se82m")]
|
||||
position = Vector2(-47, 3.8146973e-06)
|
||||
@@ -0,0 +1,11 @@
|
||||
extends Interactable
|
||||
|
||||
@export var sign_text = ""
|
||||
@export var text_dismiss_timer = 2
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
modulate = Color.DARK_CYAN
|
||||
|
||||
func _on_interacted() -> void:
|
||||
%Dialogue.show_text(sign_text).dismiss_after(text_dismiss_timer)
|
||||
@@ -0,0 +1 @@
|
||||
uid://b64hyvumk366h
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://dt43trxumfv0i"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b64hyvumk366h" path="res://hidden_sign.gd" id="1_a20ku"]
|
||||
[ext_resource type="Texture2D" uid="uid://djlqqmqpsd0kc" path="res://art/sign.png" id="2_soj2u"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0cd1alr8k706" path="res://art/interact_button.png" id="3_7o2b3"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 32)
|
||||
|
||||
[node name="HiddenSign" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_a20ku")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
position = Vector2(0, -16)
|
||||
texture = ExtResource("2_soj2u")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
|
||||
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1864817335]
|
||||
visible = false
|
||||
position = Vector2(0, -8.000002)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("3_7o2b3")
|
||||
|
||||
[connection signal="interacted" from="." to="." method="_on_interacted"]
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
||||
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|
||||
@@ -0,0 +1,44 @@
|
||||
extends Node2D
|
||||
|
||||
@export var paired_teleporter: String
|
||||
var checked_teleport
|
||||
var telecam_speed_mult = 4
|
||||
var enabled = true
|
||||
var cooldown = 2
|
||||
|
||||
func _ready() -> void:
|
||||
modulate = Color.PURPLE
|
||||
add_to_group("TELEPORTERS")
|
||||
add_to_group("Hidden")
|
||||
|
||||
func check_for_pair() -> String:
|
||||
print(paired_teleporter)
|
||||
return paired_teleporter
|
||||
|
||||
func disable():
|
||||
enabled = false
|
||||
$Sprite2D.modulate = Color.DARK_ORANGE
|
||||
|
||||
func enable():
|
||||
enabled = true
|
||||
$Sprite2D.modulate = Color.WHITE
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _on_contact(body) -> void:
|
||||
#get_tree().call_group("TELEPORTERS","disable")
|
||||
for teleporter in get_tree().get_nodes_in_group("TELEPORTERS"):
|
||||
if teleporter != self:
|
||||
if teleporter.paired_teleporter == paired_teleporter and enabled:
|
||||
%Player2D.get_node("Camera2D").position_smoothing_enabled = false
|
||||
if %Player2D.teleport_cooldown > 0:
|
||||
return
|
||||
body.set_position(teleporter.get_position())
|
||||
%Player2D.on_teleport()
|
||||
disable()
|
||||
await get_tree().create_timer(cooldown).timeout
|
||||
enable()
|
||||
@@ -0,0 +1 @@
|
||||
uid://btxx0p5ccar5f
|
||||
@@ -0,0 +1,40 @@
|
||||
[gd_scene format=3 uid="uid://7bjqgxckho"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://btxx0p5ccar5f" path="res://hidden_teleporter.gd" id="1_52wed"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0tvtt4eu8jmt" path="res://art/block/portal.png" id="2_rx1y0"]
|
||||
[ext_resource type="Texture2D" uid="uid://55ihxa2emnep" path="res://art/block/portal2.png" id="3_5admx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d4a5x8gwhl2wc" path="res://art/block/portal3.png" id="4_tfiuq"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_tuehi"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_rx1y0")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_5admx")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_tfiuq")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7k7bx"]
|
||||
radius = 9.0
|
||||
|
||||
[node name="HiddenTeleporter" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_52wed")
|
||||
|
||||
[node name="Sprite2D" type="AnimatedSprite2D" parent="." unique_id=395479262]
|
||||
sprite_frames = SubResource("SpriteFrames_tuehi")
|
||||
autoplay = "default"
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("CircleShape2D_7k7bx")
|
||||
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_contact"]
|
||||
@@ -0,0 +1,10 @@
|
||||
extends RigidBody2D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
add_to_group("Hidden")
|
||||
modulate = Color.DARK_CYAN
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
@@ -0,0 +1 @@
|
||||
uid://dcesonmhay5vo
|
||||
@@ -0,0 +1,31 @@
|
||||
[gd_scene format=3 uid="uid://b5ssjxl1l3fx0"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dcesonmhay5vo" path="res://hidden_vertical_long_block.gd" id="1_tmhet"]
|
||||
[ext_resource type="PackedScene" uid="uid://ckqable762x8v" path="res://block.tscn" id="2_667v4"]
|
||||
|
||||
[node name="HiddenVerticalLongBlock" type="RigidBody2D" unique_id=925152188]
|
||||
visible = false
|
||||
rotation = 1.5707964
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
script = ExtResource("1_tmhet")
|
||||
|
||||
[node name="Block" parent="." unique_id=1409784601 instance=ExtResource("2_667v4")]
|
||||
|
||||
[node name="Block2" parent="." unique_id=54235726 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(15.999999, -9.536743e-07)
|
||||
|
||||
[node name="Block3" parent="." unique_id=474997430 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(-15, 0)
|
||||
|
||||
[node name="Block4" parent="." unique_id=1125897933 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(32, -1.9073486e-06)
|
||||
|
||||
[node name="Block5" parent="." unique_id=1104682129 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(-31, 0)
|
||||
|
||||
[node name="Block6" parent="." unique_id=200247655 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(48, -1.9073486e-06)
|
||||
|
||||
[node name="Block7" parent="." unique_id=519163182 instance=ExtResource("2_667v4")]
|
||||
position = Vector2(-47, 3.8146973e-06)
|
||||
@@ -17,7 +17,6 @@ dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.cte
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/high_quality_mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
@@ -26,8 +25,6 @@ compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
mipmaps/preserve_alpha_test_coverage=false
|
||||
mipmaps/alpha_test_threshold=0.5
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
class_name Interactable
|
||||
extends Node2D
|
||||
|
||||
signal interacted
|
||||
|
||||
var checked_teleport
|
||||
var telecam_speed_mult = 4
|
||||
var enabled = true
|
||||
var cooldown = 2
|
||||
var _is_interactable = false
|
||||
|
||||
func disable():
|
||||
enabled = false
|
||||
$Sprite2D.modulate = Color.DARK_ORANGE
|
||||
|
||||
func enable():
|
||||
enabled = true
|
||||
$Sprite2D.modulate = Color.WHITE
|
||||
|
||||
func is_interactable() -> bool:
|
||||
return _is_interactable
|
||||
|
||||
func interact() -> void:
|
||||
if not is_interactable():
|
||||
return
|
||||
interacted.emit()
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func _on_approach(body) -> void:
|
||||
if body!=%Player2D:
|
||||
return
|
||||
_is_interactable = true
|
||||
self.add_to_group("nearby_interactables")
|
||||
$Sprite2D/ButtonPrompt.show()
|
||||
|
||||
func _on_abandon(body) -> void:
|
||||
if body!=%Player2D:
|
||||
return
|
||||
_is_interactable = false
|
||||
self.remove_from_group("nearby_interactables")
|
||||
$Sprite2D/ButtonPrompt.hide()
|
||||
@@ -0,0 +1 @@
|
||||
uid://dbg7h6gp6hun8
|
||||
@@ -0,0 +1,25 @@
|
||||
extends Control
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$Slideshower.play_slideshow([
|
||||
{ "image": "Daydreaming",
|
||||
"text": "Ever since he was a wee lad, Mr. Rhombini had always had one dream - to fly around in a blinged up jetpack." },
|
||||
{ "image": "res://art/keyart_thumb.png",
|
||||
"text": "The internet has been abuzz with talks of a legendary Pharaoh's jetpack. Mr. Rhombini's day has come." },
|
||||
{ "image": "Journey",
|
||||
"text": "Under the cover of night, Mr. Rhombini sneaks into the famous pharaoh's pyramid. This night, of all nights, it seems to glow with strange energy." },
|
||||
{ "image": "Goatcaphagus",
|
||||
"text": "Mr. Rhombini stumbles upon an unusual sarcophagus, a blend of ancient craftsmanship and advanced technology. The antenna have been disconnected." },
|
||||
{ "image": "Activate",
|
||||
"text": "Mr. Rhombini excitedly connects the antenna. The sarcophagus begins to hum." },
|
||||
{ "image": "Opensofar",
|
||||
"text": "The sarcophagus swings open to reveal, not a dead body, but an old computer. The computer begins to boot up, but an error message is visible on the main screen." },
|
||||
{ "images": ["PossessedbyOC", "Power_source"],
|
||||
"text": "However, Mr. Rhombini's attention is instantly grabbed by the other object inside the open sarcophagus." },
|
||||
{ "image": "Glow",
|
||||
"text": "The Pharaoh's jetpack! Mr. Rhombini wastes no time in putting it on." }
|
||||
])
|
||||
|
||||
func _on_slideshower_finished_playing() -> void:
|
||||
get_tree().change_scene_to_file("res://world.tscn")
|
||||
@@ -0,0 +1 @@
|
||||
uid://bo6557y41ps7i
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3 uid="uid://p65fagt04vv8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bo6557y41ps7i" path="res://intro.gd" id="1_ayt76"]
|
||||
[ext_resource type="PackedScene" uid="uid://rcq5arl8mdes" path="res://Slideshower.tscn" id="1_s2ta7"]
|
||||
|
||||
[node name="Intro" type="Control" unique_id=1423273784]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_ayt76")
|
||||
|
||||
[node name="Slideshower" parent="." unique_id=776393005 instance=ExtResource("1_s2ta7")]
|
||||
layout_mode = 1
|
||||
|
||||
[connection signal="finished_playing" from="Slideshower" to="." method="_on_slideshower_finished_playing"]
|
||||
@@ -0,0 +1,14 @@
|
||||
extends Node2D
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
@@ -0,0 +1 @@
|
||||
uid://cvguf2l65n7xa
|
||||
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://b1ccvtwwb1cl7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c8m4d77hcr0pj" path="res://spike.tscn" id="1_phdmj"]
|
||||
[ext_resource type="Script" uid="uid://cvguf2l65n7xa" path="res://long_floor_spike.gd" id="1_rwckv"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_phdmj"]
|
||||
size = Vector2(74, 9)
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_rwckv")
|
||||
|
||||
[node name="Spike" parent="." unique_id=324768327 instance=ExtResource("1_phdmj")]
|
||||
|
||||
[node name="Spike2" parent="." unique_id=1119131696 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(15, 0)
|
||||
|
||||
[node name="Spike5" parent="." unique_id=356301870 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(30, 0)
|
||||
|
||||
[node name="Spike3" parent="." unique_id=1414181030 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(-15, 0)
|
||||
|
||||
[node name="Spike4" parent="." unique_id=333001001 instance=ExtResource("1_phdmj")]
|
||||
position = Vector2(-30, 0)
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=2124972792]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=371031870]
|
||||
position = Vector2(0, 5.5)
|
||||
shape = SubResource("RectangleShape2D_phdmj")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -0,0 +1,8 @@
|
||||
extends RichTextLabel
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
var new_text = "OBJECTIVES:\n"
|
||||
for objective in %Player2D.get_current_objectives():
|
||||
new_text = new_text + objective + "\n"
|
||||
text = new_text
|
||||
@@ -0,0 +1 @@
|
||||
uid://oyyhhy1gemg0
|
||||
@@ -0,0 +1,57 @@
|
||||
extends CanvasLayer
|
||||
|
||||
var disks_wanted = [1, 2, 3, 4]
|
||||
var disks_loaded = []
|
||||
|
||||
var starting_integrity = 2
|
||||
var total_integrity = starting_integrity + len(disks_wanted)
|
||||
|
||||
func _ready() -> void:
|
||||
$ConsoleText.text = $ConsoleText.text % get_memory_integrity()
|
||||
|
||||
func load_disk(disk_num: int) -> bool:
|
||||
if !disk_num or (disk_num in disks_loaded):
|
||||
return false
|
||||
|
||||
disks_loaded.push_back(disk_num)
|
||||
disks_wanted.remove_at(disks_wanted.find(disk_num))
|
||||
|
||||
print("Loaded up disk ", disk_num)
|
||||
printline(
|
||||
">> Loaded data disk %d (of %d). Memory integrity now at %d%%" %
|
||||
[disk_num, len(disks_wanted) + len(disks_loaded), get_memory_integrity()]
|
||||
)
|
||||
|
||||
if has_finished_initialization():
|
||||
printline(
|
||||
">> System initialization complete. Beginning reactivation sequence."
|
||||
)
|
||||
printline(
|
||||
">> Player: Press [E] or [Space] to return to the outside world."
|
||||
)
|
||||
|
||||
return true
|
||||
|
||||
func get_next_disk_num() -> int:
|
||||
if disks_wanted.is_empty():
|
||||
return 0
|
||||
return disks_wanted.front()
|
||||
|
||||
func get_memory_integrity():
|
||||
return 100.0 / total_integrity * (starting_integrity + len(disks_loaded))
|
||||
|
||||
func has_finished_initialization() -> bool:
|
||||
return disks_wanted.is_empty()
|
||||
|
||||
func open() -> void:
|
||||
visible = true
|
||||
|
||||
func printline(line: String) -> void:
|
||||
open()
|
||||
$ConsoleText.text += "\n" + line
|
||||
|
||||
func close() -> void:
|
||||
if has_finished_initialization():
|
||||
get_tree().quit()
|
||||
|
||||
visible = false
|
||||
@@ -0,0 +1 @@
|
||||
uid://d0lvnnd3mqfxh
|
||||
@@ -0,0 +1,31 @@
|
||||
extends Interactable
|
||||
|
||||
func _on_interacted() -> void:
|
||||
%OldComputer.open()
|
||||
|
||||
#Accomodate some collision antics.
|
||||
var new_spawn_point = global_position + Vector2(0,-10)
|
||||
|
||||
if %Player2D.spawn_point != new_spawn_point:
|
||||
%Player2D.spawn_point = new_spawn_point
|
||||
%OldComputer.printline(">> Respawn point set to %s" % new_spawn_point)
|
||||
|
||||
var wanted_disk = %OldComputer.get_next_disk_num()
|
||||
|
||||
if %Player2D.complete_objective("sarc"):
|
||||
%OldComputer.open()
|
||||
%Player2D.give_objective(
|
||||
"disk%d" % wanted_disk,
|
||||
wanted_disk, "Locate data disk %d" % wanted_disk
|
||||
)
|
||||
return
|
||||
|
||||
if not (%Player2D.take_disk(wanted_disk) and %OldComputer.load_disk(wanted_disk)):
|
||||
return
|
||||
|
||||
%Player2D.complete_objective("disk%d" % wanted_disk)
|
||||
wanted_disk = %OldComputer.get_next_disk_num()
|
||||
if (not wanted_disk) or %Player2D.has_disk(wanted_disk):
|
||||
return
|
||||
|
||||
%Player2D.give_objective("disk%d" % wanted_disk, wanted_disk, "Locate data disk %d" % wanted_disk)
|
||||
@@ -0,0 +1 @@
|
||||
uid://bh588bpddschq
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://dr8h8xij3qw2h"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bh588bpddschq" path="res://pharaoh.gd" id="1_mt7kg"]
|
||||
[ext_resource type="Texture2D" uid="uid://b2nldodte5p6s" path="res://art/sarco_closed.png" id="2_mt7kg"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0cd1alr8k706" path="res://art/interact_button.png" id="3_6vea8"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 32)
|
||||
|
||||
[node name="Pharaoh" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_mt7kg")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
position = Vector2(0, -16)
|
||||
texture = ExtResource("2_mt7kg")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
|
||||
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1864817335]
|
||||
visible = false
|
||||
position = Vector2(0, -24)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("3_6vea8")
|
||||
|
||||
[connection signal="interacted" from="." to="." method="_on_interacted"]
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
||||
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|
||||
@@ -0,0 +1,20 @@
|
||||
class_name Pickup
|
||||
extends Node2D
|
||||
|
||||
signal picked_up
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
print(body)
|
||||
$AudioStreamPlayer2D.play(0)
|
||||
visible = false
|
||||
picked_up.emit()
|
||||
await get_tree().create_timer(0.2).timeout
|
||||
queue_free()
|
||||
@@ -0,0 +1 @@
|
||||
uid://bun3ype8fkpv8
|
||||
@@ -5,21 +5,30 @@ const DASH_SPEED = 600
|
||||
const HORIZONTAL_DASH_MULT = 1.8
|
||||
const FRICTION = 100
|
||||
const GRAVITY_MULT = 0.8
|
||||
|
||||
const JUMP_VELOCITY = -410.0
|
||||
|
||||
const DASH_LENGTH = 0.2
|
||||
const BACKGROUND_COLOR = Color.INDIAN_RED
|
||||
|
||||
var death_cooldown = 0.0
|
||||
var fall_timer = 0.0
|
||||
var teleport_cooldown = 0
|
||||
var jumps = 0
|
||||
var dashes = 1
|
||||
var dashing = false
|
||||
var death_threshold = 1000
|
||||
var death_threshold = 2000
|
||||
var coins = 0
|
||||
|
||||
var spawn_point
|
||||
var last_ground_point
|
||||
|
||||
var data_disks = []
|
||||
var objectives = {}
|
||||
|
||||
func _ready() -> void:
|
||||
spawn_point = position
|
||||
DisplayServer.window_set_title("JUMPS EQUALS JUMPS")
|
||||
give_objective("sarc", 0, "Open the Sarcophagus")
|
||||
#%Dialogue.show_text("Hello world!").dismiss_after(2)
|
||||
|
||||
func refresh_dash(new_dashes):
|
||||
if new_dashes:
|
||||
@@ -28,7 +37,6 @@ func refresh_dash(new_dashes):
|
||||
dashes = 1
|
||||
if dashes > 0:
|
||||
$Jetpack/DashIndicator.show()
|
||||
|
||||
|
||||
func refresh_jump(new_jumps):
|
||||
if new_jumps:
|
||||
@@ -37,22 +45,58 @@ func refresh_jump(new_jumps):
|
||||
jumps = 1
|
||||
if jumps > 0:
|
||||
$Jetpack/JumpIndicator.show()
|
||||
|
||||
|
||||
func give_disk(disk_num: int) -> void:
|
||||
data_disks.push_back(disk_num)
|
||||
|
||||
func take_disk(disk_num) -> bool:
|
||||
if not has_disk(disk_num):
|
||||
return false
|
||||
|
||||
data_disks.remove_at(data_disks.find(disk_num))
|
||||
return true
|
||||
|
||||
func has_disk(disk_num: int) -> bool:
|
||||
return disk_num in data_disks
|
||||
|
||||
func give_objective(id: String, priority: int, description: String) -> void:
|
||||
objectives[id] = {
|
||||
"priority": priority,
|
||||
"description": description,
|
||||
"completed": false
|
||||
}
|
||||
|
||||
func has_objective(id: String) -> bool:
|
||||
return objectives.has(id) and not objectives[id].completed
|
||||
|
||||
func get_current_objectives() -> Array[String]:
|
||||
var current_objectives = objectives.values()
|
||||
current_objectives.sort_custom(func(a, b): return a.priority < b.priority)
|
||||
return current_objectives.filter(func(objective): return not objective.completed).map(func(objective): return objective.description)
|
||||
|
||||
func complete_objective(id: String) -> bool:
|
||||
if not has_objective(id):
|
||||
return false
|
||||
objectives[id].completed = true
|
||||
return true
|
||||
|
||||
func on_teleport():
|
||||
refresh_jump(1)
|
||||
teleport_cooldown = 1
|
||||
$Camera2D.position_smoothing_enabled = true
|
||||
await get_tree().create_timer(1).timeout
|
||||
teleport_cooldown = 0
|
||||
func spawn_ghost(position):
|
||||
|
||||
func spawn_ghost(ghost_position):
|
||||
var ghost = preload("res://ghost.tscn")
|
||||
ghost = ghost.instantiate()
|
||||
get_parent().add_child(ghost)
|
||||
print(ghost)
|
||||
print(ghost.position)
|
||||
ghost.position = position
|
||||
ghost.position = ghost_position
|
||||
|
||||
func on_death(instant = false, player_position = position):
|
||||
death_cooldown += 1
|
||||
if !instant:
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
get_tree().paused = true
|
||||
@@ -68,13 +112,32 @@ func on_death(instant = false, player_position = position):
|
||||
spawn_ghost(player_position)
|
||||
get_tree().paused = false
|
||||
|
||||
position = %LevelStart.position
|
||||
#position = %LevelStart.position
|
||||
velocity = Vector2(0,0)
|
||||
position = spawn_point + Vector2(0,-100)
|
||||
await get_tree().create_timer(0.1).timeout
|
||||
death_cooldown = 0
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
if Input.is_action_just_released("restart") or (Input.is_action_pressed("controller_restart_left") and Input.is_action_pressed("controller_restart_right")):
|
||||
get_tree().reload_current_scene()
|
||||
|
||||
if is_on_floor():
|
||||
last_ground_point = global_position
|
||||
#spawn_point = last_ground_point
|
||||
|
||||
if %OldComputer.visible:
|
||||
if Input.is_action_just_released("interact") or Input.is_action_just_released("jump"):
|
||||
%OldComputer.close()
|
||||
return
|
||||
|
||||
if Input.is_action_just_released("interact"):
|
||||
for interactable in get_tree().get_nodes_in_group("nearby_interactables"):
|
||||
interactable.interact()
|
||||
|
||||
if Input.is_action_just_pressed("jump"):
|
||||
%OldComputer.close()
|
||||
|
||||
if is_on_floor():
|
||||
velocity.y = JUMP_VELOCITY
|
||||
elif !is_on_floor() and jumps >= 1:
|
||||
@@ -84,12 +147,15 @@ func _process(delta: float) -> void:
|
||||
$Jetpack/DoubleJumpSound.play()
|
||||
if jumps == 0:
|
||||
$Jetpack/JumpIndicator.hide()
|
||||
|
||||
if Input.is_action_just_released("jump"):
|
||||
velocity.y = -(0.001 * JUMP_VELOCITY)
|
||||
|
||||
if Input.is_action_pressed("jump") and is_on_wall_only():
|
||||
print("WALL HANGING")
|
||||
#velocity.y = 0
|
||||
#velocity.x = 0
|
||||
|
||||
|
||||
var direction = Input.get_axis("move_left","move_right")
|
||||
|
||||
if direction < 0:
|
||||
@@ -98,16 +164,14 @@ func _process(delta: float) -> void:
|
||||
elif direction > 0:
|
||||
$Sprite2D.flip_h = false
|
||||
$Sprite2D/HatSprite.flip_h = false
|
||||
if Input.is_action_pressed("dash_down") and is_on_floor():
|
||||
print("Crouching")
|
||||
$Sprite2D.play("crouch")
|
||||
print("MODULATE: " + str($Parallax2D/Sprite2D.modulate))
|
||||
$Parallax2D/Sprite2D.modulate = $Parallax2D/Sprite2D.modulate - Color(
|
||||
move_toward(Color.GREEN.r,$Parallax2D/Sprite2D.modulate.r,0.001),
|
||||
move_toward(Color.GREEN.g,$Parallax2D/Sprite2D.modulate.g,0.001),
|
||||
move_toward(Color.GREEN.b,$Parallax2D/Sprite2D.modulate.b,0.001)
|
||||
)
|
||||
|
||||
if Input.is_action_pressed("dash_down") and is_on_floor():
|
||||
$Sprite2D.play("crouch")
|
||||
$Parallax2D/Sprite2D.modulate = Color.CYAN
|
||||
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.show()
|
||||
|
||||
elif Input.is_action_just_pressed("dash") and dashes > 0:
|
||||
dashing = true
|
||||
dashes -= 1
|
||||
@@ -129,11 +193,12 @@ func _process(delta: float) -> void:
|
||||
velocity.x = move_toward(velocity.x, 0, FRICTION)
|
||||
$Sprite2D.play("idle")
|
||||
$Sprite2D/HatSprite.play("idle")
|
||||
$Parallax2D/Sprite2D.modulate = Color(1,1,1,1)
|
||||
$Parallax2D/Sprite2D.modulate = BACKGROUND_COLOR
|
||||
|
||||
|
||||
|
||||
#print("PLAYER X POSITION: " + str(position.y))
|
||||
if get_tree():
|
||||
for hidden_object in get_tree().get_nodes_in_group("Hidden"):
|
||||
hidden_object.hide()
|
||||
|
||||
#Falling to death.
|
||||
if position.y >= death_threshold:
|
||||
print("SLASH KILL")
|
||||
@@ -160,7 +225,6 @@ func _process(delta: float) -> void:
|
||||
#get_tree().reload_current_scene()
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
|
||||
if not is_on_floor():
|
||||
velocity += (get_gravity() * GRAVITY_MULT) * delta
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
[ext_resource type="Script" uid="uid://cojhnj15psd2x" path="res://player_2d.gd" id="1_sy00s"]
|
||||
[ext_resource type="Shader" uid="uid://mmf86jusrkrr" path="res://shaders/warp_shader.gdshader" id="3_gt2ls"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpdxs6gjmexgh" path="res://art/background.png" id="3_p3026"]
|
||||
[ext_resource type="Script" uid="uid://544kxhmunfcp" path="res://background_music.gd" id="3_sxtm6"]
|
||||
[ext_resource type="Texture2D" uid="uid://biv3f67rqumak" path="res://art/level_start.png" id="4_nj6as"]
|
||||
[ext_resource type="Script" uid="uid://3bqq3mfbby2c" path="res://warp_shader.gd" id="4_pmt5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddhhtwgtowokp" path="res://art/player/crouch/frame1.png" id="6_3prq1"]
|
||||
@@ -10,11 +11,12 @@
|
||||
[ext_resource type="Texture2D" uid="uid://dyxbitw8hbd3s" path="res://art/player/crouch/frame2.png" id="7_lu0ka"]
|
||||
[ext_resource type="Texture2D" uid="uid://bfyd1tro3s0gl" path="res://art/player/crystal2.png" id="7_oy4pt"]
|
||||
[ext_resource type="Texture2D" uid="uid://dh7a1knyqn5nd" path="res://art/player/running/frame3.png" id="7_pmt5n"]
|
||||
[ext_resource type="Texture2D" uid="uid://lk0f1qyswyxv" path="res://art/player/idle/frame1.png" id="8_3prq1"]
|
||||
[ext_resource type="Texture2D" uid="uid://lk0f1qyswyxv" path="res://art/player/running/frame1.png" id="8_3prq1"]
|
||||
[ext_resource type="Texture2D" uid="uid://yf13nw31k8ua" path="res://art/player/running/frame4.png" id="8_nj6as"]
|
||||
[ext_resource type="Texture2D" uid="uid://du5i0tg6u1lal" path="res://art/player/crystal3.png" id="8_ukfft"]
|
||||
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/idle/frame2.png" id="9_lu0ka"]
|
||||
[ext_resource type="Texture2D" uid="uid://lmje8plw76e1" path="res://art/player/running/frame2.png" id="9_lu0ka"]
|
||||
[ext_resource type="Texture2D" uid="uid://bko8dvawpul3c" path="res://art/player/crystal4.png" id="9_ur4nw"]
|
||||
[ext_resource type="Texture2D" uid="uid://m5djssna67e1" path="res://art/player/crouch/frame3.png" id="9_w0gjo"]
|
||||
[ext_resource type="Texture2D" uid="uid://ba4kjeulthw1g" path="res://art/hats/dunce1.png" id="10_5s8kx"]
|
||||
[ext_resource type="Texture2D" uid="uid://cn31x2l44je2t" path="res://art/dash_glow.png" id="10_ur4nw"]
|
||||
[ext_resource type="Texture2D" uid="uid://biscdhn8jh8ha" path="res://art/jump_glow.png" id="11_3lee2"]
|
||||
@@ -43,6 +45,9 @@ animations = [{
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("7_lu0ka")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("9_w0gjo")
|
||||
}],
|
||||
"loop": 1,
|
||||
"name": &"crouch",
|
||||
@@ -119,16 +124,24 @@ animations = [{
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fj7yv"]
|
||||
size = Vector2(10, 16)
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_ix7pg"]
|
||||
radius = 6.0
|
||||
height = 12.0
|
||||
|
||||
[node name="Player2D" type="CharacterBody2D" unique_id=889851478]
|
||||
safe_margin = 0.06
|
||||
script = ExtResource("1_sy00s")
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=299359239]
|
||||
stream = ExtResource("12_5s8kx")
|
||||
playback_type = 1
|
||||
script = ExtResource("3_sxtm6")
|
||||
|
||||
[node name="CanvasLayer2" type="CanvasLayer" parent="." unique_id=1854423107]
|
||||
|
||||
[node name="WarpShader" type="MeshInstance2D" parent="CanvasLayer2" unique_id=88397728]
|
||||
material = SubResource("ShaderMaterial_pmt5n")
|
||||
position = Vector2(0, -1)
|
||||
mesh = SubResource("QuadMesh_nj6as")
|
||||
script = ExtResource("4_pmt5n")
|
||||
|
||||
@@ -138,7 +151,7 @@ texture = ExtResource("4_nj6as")
|
||||
|
||||
[node name="Parallax2D" type="Parallax2D" parent="." unique_id=270393374]
|
||||
repeat_size = Vector2(1280, 720)
|
||||
autoscroll = Vector2(5, 0)
|
||||
autoscroll = Vector2(1, 0)
|
||||
follow_viewport = false
|
||||
ignore_camera_scroll = true
|
||||
|
||||
@@ -158,7 +171,7 @@ position = Vector2(0, 2)
|
||||
sprite_frames = SubResource("SpriteFrames_fvyjh")
|
||||
animation = &"crouch"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.95473504
|
||||
frame_progress = 0.030440537
|
||||
|
||||
[node name="HatSprite" type="AnimatedSprite2D" parent="Sprite2D" unique_id=1954184475]
|
||||
visible = false
|
||||
@@ -169,6 +182,8 @@ animation = &"running"
|
||||
autoplay = "idle"
|
||||
frame_progress = 0.8061519
|
||||
|
||||
[node name="DaydreamSprite" type="Sprite2D" parent="Sprite2D" unique_id=67766652]
|
||||
|
||||
[node name="Jetpack" type="AnimatedSprite2D" parent="." unique_id=657113514]
|
||||
position = Vector2(0, 1)
|
||||
sprite_frames = SubResource("SpriteFrames_5s8kx")
|
||||
@@ -208,8 +223,5 @@ stream = ExtResource("20_l50qk")
|
||||
stream = ExtResource("20_1741q")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1294571021]
|
||||
shape = SubResource("RectangleShape2D_fj7yv")
|
||||
|
||||
[node name="BackgroundMusic" type="AudioStreamPlayer2D" parent="." unique_id=2123463449]
|
||||
stream = ExtResource("12_5s8kx")
|
||||
volume_db = -5.0
|
||||
position = Vector2(0, 3)
|
||||
shape = SubResource("CapsuleShape2D_ix7pg")
|
||||
@@ -11,7 +11,7 @@ config_version=5
|
||||
[application]
|
||||
|
||||
config/name="JumpRope"
|
||||
run/main_scene="uid://iivvrut0lfsr"
|
||||
run/main_scene="uid://p65fagt04vv8"
|
||||
config/features=PackedStringArray("4.8", "Forward Plus")
|
||||
boot_splash/image="uid://dhue32shjdpt8"
|
||||
config/icon="res://icon.svg"
|
||||
@@ -22,6 +22,10 @@ window/size/viewport_width=1280
|
||||
window/size/viewport_height=720
|
||||
window/stretch/mode="canvas_items"
|
||||
|
||||
[global_group]
|
||||
|
||||
Hidden=""
|
||||
|
||||
[gui]
|
||||
|
||||
common/auto_focus_strategy=1
|
||||
@@ -119,7 +123,7 @@ move_left={
|
||||
)]
|
||||
}
|
||||
jump={
|
||||
"deadzone": 0.2,
|
||||
"deadzone": 0.0,
|
||||
"events": [Object(InputEventJoypadButton,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
@@ -360,6 +364,35 @@ controller_restart_right={
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
interact={
|
||||
"deadzone": 0.2,
|
||||
"events": [Object(InputEventKey,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"window_id": 0,
|
||||
"alt_pressed": false,
|
||||
"shift_pressed": false,
|
||||
"ctrl_pressed": false,
|
||||
"meta_pressed": false,
|
||||
"pressed": false,
|
||||
"keycode": 0,
|
||||
"physical_keycode": 69,
|
||||
"key_label": 0,
|
||||
"unicode": 101,
|
||||
"location": 0,
|
||||
"echo": false,
|
||||
"script": null
|
||||
), Object(InputEventJoypadButton,
|
||||
"resource_local_to_scene": false,
|
||||
"resource_name": "",
|
||||
"device": -1,
|
||||
"button_index": 1,
|
||||
"pressure": 0.0,
|
||||
"pressed": true,
|
||||
"script": null
|
||||
)]
|
||||
}
|
||||
|
||||
[input_devices]
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
extends Interactable
|
||||
|
||||
@export var sign_text = ""
|
||||
@export var text_dismiss_timer = 2
|
||||
|
||||
func _on_interacted() -> void:
|
||||
%Dialogue.show_text(sign_text).dismiss_after(text_dismiss_timer)
|
||||
@@ -0,0 +1 @@
|
||||
uid://dvo0iux2pcggi
|
||||
@@ -0,0 +1,30 @@
|
||||
[gd_scene format=3 uid="uid://bnkbkfto83owf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dvo0iux2pcggi" path="res://sign.gd" id="1_q3tny"]
|
||||
[ext_resource type="Texture2D" uid="uid://djlqqmqpsd0kc" path="res://art/sign.png" id="2_q3tny"]
|
||||
[ext_resource type="Texture2D" uid="uid://d0cd1alr8k706" path="res://art/interact_button.png" id="3_e8cgb"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_eumkw"]
|
||||
size = Vector2(26, 32)
|
||||
|
||||
[node name="Sign" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_q3tny")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
position = Vector2(0, -16)
|
||||
texture = ExtResource("2_q3tny")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="Sprite2D" unique_id=2050186824]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite2D/Area2D" unique_id=1560168165]
|
||||
shape = SubResource("RectangleShape2D_eumkw")
|
||||
|
||||
[node name="ButtonPrompt" type="Sprite2D" parent="Sprite2D" unique_id=1864817335]
|
||||
visible = false
|
||||
position = Vector2(0, -8.000002)
|
||||
scale = Vector2(0.8, 0.8)
|
||||
texture = ExtResource("3_e8cgb")
|
||||
|
||||
[connection signal="interacted" from="." to="." method="_on_interacted"]
|
||||
[connection signal="body_entered" from="Sprite2D/Area2D" to="." method="_on_approach"]
|
||||
[connection signal="body_exited" from="Sprite2D/Area2D" to="." method="_on_abandon"]
|
||||
@@ -0,0 +1,57 @@
|
||||
class_name Slideshower
|
||||
extends Control
|
||||
|
||||
signal finished_playing
|
||||
|
||||
var slides = []
|
||||
var slide = 0
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
func play_slideshow(new_slides) -> void:
|
||||
slides = new_slides
|
||||
play_slide(0)
|
||||
|
||||
func _make_image_path(image_name: String) -> String:
|
||||
if image_name.begins_with("res://"):
|
||||
return image_name
|
||||
return "res://art/slides/%s.png" % image_name
|
||||
|
||||
func play_slide(index) -> bool:
|
||||
if index < 0 or index >= len(slides):
|
||||
return false
|
||||
|
||||
slide = index
|
||||
var slide_object = slides[index]
|
||||
$VSplitContainer/TextFrame/SlideText.text = slide_object.text
|
||||
|
||||
if "image" in slides[index]:
|
||||
$VSplitContainer/ImageFrame/SlideContainer/SlideImage.texture = load(_make_image_path(slide_object.image))
|
||||
$VSplitContainer/ImageFrame/SlideContainer/SlideImage2.visible = false
|
||||
else:
|
||||
$VSplitContainer/ImageFrame/SlideContainer/SlideImage.texture = load(_make_image_path(slide_object.images[0]))
|
||||
$VSplitContainer/ImageFrame/SlideContainer/SlideImage2.visible = true
|
||||
$VSplitContainer/ImageFrame/SlideContainer/SlideImage2.texture = load(_make_image_path(slide_object.images[1]))
|
||||
return true
|
||||
|
||||
func next_slide() -> bool:
|
||||
var success = play_slide(slide + 1)
|
||||
if not success:
|
||||
finished_playing.emit()
|
||||
return success
|
||||
|
||||
func prev_slide() -> bool:
|
||||
return play_slide(slide - 1)
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
if Input.is_action_just_released("interact") or Input.is_action_just_released("jump") or Input.is_action_just_released("move_right"):
|
||||
next_slide()
|
||||
|
||||
if Input.is_action_just_released("move_left"):
|
||||
prev_slide()
|
||||
|
||||
func _on_continue_button_pressed() -> void:
|
||||
next_slide()
|
||||
@@ -0,0 +1 @@
|
||||
uid://bdv4qahk8mumv
|
||||
@@ -7,9 +7,8 @@ func _process(delta: float) -> void:
|
||||
pass
|
||||
|
||||
func on_contact(body: Node2D) -> void:
|
||||
if body==%Player2D:
|
||||
if body==%Player2D and %Player2D.death_cooldown == 0:
|
||||
print("SLASH KILL")
|
||||
%Player2D/Jetpack/DeathSound.play()
|
||||
%Player2D.on_death(false,%Player2D.position)
|
||||
print(body)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[ext_resource type="Texture2D" uid="uid://bu5wgerfu7cbc" path="res://art/spike.png" id="2_7k7bx"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xfwl5"]
|
||||
size = Vector2(15, 12)
|
||||
size = Vector2(15, 7.5)
|
||||
|
||||
[node name="Spike" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_7k7bx")
|
||||
@@ -17,7 +17,7 @@ texture = ExtResource("2_7k7bx")
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
|
||||
position = Vector2(-0.5, 0)
|
||||
position = Vector2(0, 4.75)
|
||||
shape = SubResource("RectangleShape2D_xfwl5")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
@@ -23,7 +23,7 @@ animations = [{
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_7k7bx"]
|
||||
radius = 14.0
|
||||
radius = 9.0
|
||||
|
||||
[node name="Teleporter" type="Node2D" unique_id=1201409437]
|
||||
script = ExtResource("1_tuehi")
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
[gd_scene format=3 uid="uid://byfgwmvln8ukh"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://blbaaqyrt8dtk" path="res://art/block/block.png" id="1_j20nc"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_f3sb7"]
|
||||
size = Vector2(16, 16)
|
||||
|
||||
[node name="Block" type="RigidBody2D" unique_id=1409784601]
|
||||
gravity_scale = 0.0
|
||||
freeze = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1866755047]
|
||||
shape = SubResource("RectangleShape2D_f3sb7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1680278216]
|
||||
texture_filter = 1
|
||||
rotation = 1.5707964
|
||||
texture = ExtResource("1_j20nc")
|
||||
@@ -0,0 +1,9 @@
|
||||
extends RigidBody2D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
pass
|
||||