Compare commits

...

10 commits

Author SHA1 Message Date
JHDev2006
1c30067f7b fixed barrels not giving score, when destroyed 2025-10-25 18:00:21 +01:00
JHDev2006
37f7c77aa3 alr quick final change to positioning 2025-10-25 17:40:36 +01:00
JHDev2006
750b64f443 added github contributors to credits and fixed up a quick sprite offset with hammer bros 2025-10-25 17:35:41 +01:00
John Cooper McDonald
51e1907b01
Fix Hammer Bro crash (#669) 2025-10-25 17:33:45 +01:00
John Cooper McDonald
0eb791a697
Make Pokey slower + make Pokey and Dry Bones turn at ledges (#668)
* Make Pokey slower

* Pokey and Dry Bones turn at ledges
2025-10-25 17:10:19 +01:00
guzlad
cd605ece65
GameOver screen no longer allows 'right' button, only 'up' and 'down', can be scrolled. (#667) 2025-10-25 16:25:48 +01:00
JoeMama
830f02e8ed adjustdd hammer bro animation to allow for height 2025-10-25 13:16:53 +01:00
JoeMama
479da718f6 fixed game over behaviour, not correctly being set 2025-10-25 12:55:27 +01:00
JoeMama
0f0f1484a0 fixed a quick crash 2025-10-25 12:49:40 +01:00
JoeMama
397c375df9 quick fix with checkpoint flags not appaearing in custom levels 2025-10-25 12:42:22 +01:00
12 changed files with 620 additions and 99 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Before After
Before After

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=84 format=3 uid="uid://bgeh6ex0lbqfq"]
[gd_scene load_steps=88 format=3 uid="uid://bgeh6ex0lbqfq"]
[ext_resource type="Script" uid="uid://b3stoe2kp1nv1" path="res://Scripts/UI/Credits.gd" id="1_db8c5"]
[ext_resource type="AudioStream" uid="uid://cdhsj02wqdt7y" path="res://Assets/Audio/BGM/Credits.mp3" id="1_k57dj"]
@ -125,14 +125,6 @@ region = Rect2(0, 32, 16, 16)
atlas = ExtResource("4_g2gtw")
region = Rect2(32, 96, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o2gfq"]
atlas = ExtResource("4_g2gtw")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2d"]
atlas = ExtResource("4_g2gtw")
region = Rect2(80, 48, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_g72p5"]
atlas = ExtResource("4_g2gtw")
region = Rect2(48, 32, 16, 16)
@ -273,6 +265,30 @@ region = Rect2(16, 96, 16, 16)
atlas = ExtResource("4_g2gtw")
region = Rect2(96, 80, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_o2gfq"]
atlas = ExtResource("4_g2gtw")
region = Rect2(0, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_wkf2d"]
atlas = ExtResource("4_g2gtw")
region = Rect2(80, 48, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_i07m6"]
atlas = ExtResource("4_g2gtw")
region = Rect2(48, 96, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_cgqty"]
atlas = ExtResource("4_g2gtw")
region = Rect2(80, 96, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_gbi86"]
atlas = ExtResource("4_g2gtw")
region = Rect2(64, 96, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_x68qv"]
atlas = ExtResource("4_g2gtw")
region = Rect2(32, 0, 16, 16)
[sub_resource type="AtlasTexture" id="AtlasTexture_7s4gc"]
atlas = ExtResource("14_4e2pw")
region = Rect2(144, 0, 64, 64)
@ -1099,6 +1115,7 @@ script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Sound" type="Control" parent="Labels"]
visible = false
layout_mode = 3
anchors_preset = 5
anchor_left = 0.5
@ -1215,9 +1232,9 @@ metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label2" type="Label" parent="Labels/Sound"]
layout_mode = 0
offset_left = 8.0
offset_top = 96.0
offset_top = 112.0
offset_right = 48.0
offset_bottom = 112.0
offset_bottom = 128.0
text = "SFXs"
uppercase = true
@ -1319,75 +1336,13 @@ metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="TextureRect" type="TextureRect" parent="Labels/Sound"]
layout_mode = 0
offset_left = 120.0
offset_top = 8.0
offset_top = 120.0
offset_right = 248.0
offset_bottom = 120.0
offset_bottom = 232.0
texture = ExtResource("9_shsp7")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/Sound"]
layout_mode = 0
offset_left = 8.0
offset_top = 184.0
offset_right = 104.0
offset_bottom = 200.0
text = "PROGRAMMING"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Labels/Sound/Label3"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_g2gtw")
[node name="Label2" type="Label" parent="Labels/Sound/Label3"]
layout_mode = 0
offset_top = 16.0
offset_right = 40.0
offset_bottom = 32.0
text = "JOEMAMA"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Sound/Label3/Label2"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_o2gfq")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/Sound/Label3"]
layout_mode = 0
offset_top = 32.0
offset_right = 104.0
offset_bottom = 48.0
text = "ALOELUCIDITY"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Sound/Label3/Label3"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_wkf2d")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Localizers" type="Control" parent="Labels"]
visible = false
layout_mode = 3
@ -2381,6 +2336,538 @@ texture = ExtResource("13_17gvw")
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Github" type="Control" parent="Labels"]
layout_mode = 3
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -128.0
offset_right = 128.0
offset_bottom = 240.0
grow_horizontal = 2
[node name="Label3" type="Label" parent="Labels/Github"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -80.0
offset_top = 8.0
offset_right = 80.0
offset_bottom = 24.0
grow_horizontal = 2
text = "GITHUB CONTRIBUTORS"
uppercase = true
[node name="HSeparator" type="HSeparator" parent="Labels/Github/Label3"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -4.0
grow_horizontal = 2
grow_vertical = 0
theme_override_styles/separator = SubResource("StyleBoxLine_g2gtw")
[node name="Label2" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 40.0
offset_right = 24.0
offset_bottom = 56.0
text = "JOEMAMA"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label2"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_o2gfq")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label3" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 48.0
offset_top = 40.0
offset_right = 152.0
offset_bottom = 56.0
text = "ALOELUCIDITY"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label3"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_wkf2d")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label4" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 56.0
offset_right = 16.0
offset_bottom = 72.0
text = "GUZLAD"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label4"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_wkf2d")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label5" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 24.0
offset_top = 56.0
offset_right = 120.0
offset_bottom = 72.0
text = "KirbyKid256"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label5"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_wkf2d")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label6" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 72.0
offset_right = 64.0
offset_bottom = 88.0
text = "kittenchilly"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label6"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_wkf2d")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label7" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 72.0
offset_top = 72.0
offset_right = 160.0
offset_bottom = 88.0
text = "skyanultra"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label7"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_i07m6")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label8" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 128.0
offset_top = 56.0
offset_right = 176.0
offset_bottom = 72.0
text = "jeodc"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label8"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_cgqty")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label9" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 88.0
offset_right = 16.0
offset_bottom = 104.0
text = "Nabbup"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label9"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_gbi86")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label10" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 40.0
offset_top = 88.0
offset_right = 120.0
offset_bottom = 104.0
text = "jdaster64"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label10"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_gbi86")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label11" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 48.0
offset_top = 104.0
offset_right = 112.0
offset_bottom = 120.0
text = "amer241"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label11"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label12" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 104.0
offset_right = 40.0
offset_bottom = 120.0
text = "falkimore"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label12"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label13" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 56.0
offset_top = 120.0
offset_right = 152.0
offset_bottom = 136.0
text = "kustaagames"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label13"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label15" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 128.0
offset_top = 88.0
offset_right = 192.0
offset_bottom = 104.0
text = "renhoex"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label15"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label16" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 136.0
offset_top = 104.0
offset_right = 184.0
offset_bottom = 120.0
text = "a2937"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label16"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label17" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 136.0
offset_right = 40.0
offset_bottom = 152.0
text = "trsitan35"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label17"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label18" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 48.0
offset_top = 136.0
offset_right = 128.0
offset_bottom = 152.0
text = "basilicon"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label18"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label19" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 152.0
offset_right = 80.0
offset_bottom = 168.0
text = "nathanmarioman"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label19"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label20" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 136.0
offset_top = 136.0
offset_right = 200.0
offset_bottom = 152.0
text = "cst1229"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label20"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label21" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 88.0
offset_top = 152.0
offset_right = 176.0
offset_bottom = 168.0
text = "dankcoffee"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label21"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label22" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 168.0
offset_right = 24.0
offset_bottom = 184.0
text = "valham1"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label22"]
visible = false
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_x68qv")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label14" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = -40.0
offset_top = 120.0
offset_right = 32.0
offset_bottom = 136.0
text = "leanycat"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label14"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_8ybgs")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="Label23" type="Label" parent="Labels/Github/Label3"]
layout_mode = 0
offset_left = 24.0
offset_top = 168.0
offset_right = 120.0
offset_bottom = 184.0
text = "TheOliveOli"
uppercase = true
[node name="TextureRect" type="TextureRect" parent="Labels/Github/Label3/Label23"]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_right = 16.0
offset_bottom = 16.0
grow_horizontal = 0
texture = SubResource("AtlasTexture_c51sb")
stretch_mode = 2
script = ExtResource("11_d4vu4")
metadata/_custom_type_script = "uid://ca3bew33g45eq"
[node name="SpecialThanks" type="Control" parent="Labels"]
visible = false
layout_mode = 3

View file

@ -73,12 +73,20 @@ layout_mode = 2
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 10
focus_neighbor_left = NodePath("../Control")
focus_neighbor_top = NodePath("../SelectableLabel2")
focus_neighbor_right = NodePath("../Control")
focus_neighbor_bottom = NodePath("../SelectableLabel2")
text = "MENU_CONTINUE"
[node name="SelectableLabel2" parent="CanvasLayer/VBoxContainer" instance=ExtResource("5_l878x")]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 10
focus_neighbor_left = NodePath("../Control")
focus_neighbor_top = NodePath("../SelectableLabel")
focus_neighbor_right = NodePath("../Control")
focus_neighbor_bottom = NodePath("../SelectableLabel")
text = "PAUSE_QUIT"
[node name="Timer" type="Timer" parent="."]

View file

@ -93,6 +93,7 @@ metadata/_custom_type_script = "uid://dlq6o2rg1x7in"
[node name="ScoreNoteSpawner" type="Node" parent="."]
script = ExtResource("8_m378g")
add_score = true
metadata/_custom_type_script = "uid://5octqlf4ohel"
[node name="ExplosionDetection" type="Node" parent="." node_paths=PackedStringArray("hitbox")]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=25 format=3 uid="uid://bxsay5e6dhcqb"]
[gd_scene load_steps=26 format=3 uid="uid://bxsay5e6dhcqb"]
[ext_resource type="Script" uid="uid://n123x5yuqpjd" path="res://Scripts/Classes/Entities/Enemies/DryBones.gd" id="1_8c647"]
[ext_resource type="Texture2D" uid="uid://c5snfukhcacyf" path="res://Assets/Sprites/Enemies/DryBones.png" id="2_qya46"]
@ -11,6 +11,7 @@
[ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="7_qya46"]
[ext_resource type="Script" uid="uid://dlq6o2rg1x7in" path="res://Scripts/Classes/Components/BasicEnemyMovement.gd" id="10_br3pe"]
[ext_resource type="Script" uid="uid://ba18grqjixded" path="res://Scripts/Classes/Components/ExplosionDetection.gd" id="11_l4h6l"]
[ext_resource type="Script" uid="uid://blfnd65xcx78c" path="res://Scripts/Classes/Components/LedgeDetectionCast.gd" id="12_w4qtl"]
[sub_resource type="AtlasTexture" id="AtlasTexture_w4qtl"]
atlas = ExtResource("2_qya46")
@ -196,14 +197,22 @@ rect = Rect2(-10, -13, 20, 23)
script = ExtResource("7_qya46")
metadata/_custom_type_script = "uid://5octqlf4ohel"
[node name="BasicEnemyMovement" type="Node" parent="."]
[node name="BasicEnemyMovement" type="Node" parent="." node_paths=PackedStringArray("ledge_detection_cast")]
script = ExtResource("10_br3pe")
ledge_detection_cast = NodePath("../LedgeDetectionCast")
[node name="ExplosionDetection" type="Node" parent="." node_paths=PackedStringArray("hitbox")]
script = ExtResource("11_l4h6l")
hitbox = NodePath("../Hitbox")
metadata/_custom_type_script = "uid://ba18grqjixded"
[node name="LedgeDetectionCast" type="RayCast2D" parent="."]
position = Vector2(-2, -2)
target_position = Vector2(0, 3)
collision_mask = 2
script = ExtResource("12_w4qtl")
metadata/_custom_type_script = "uid://blfnd65xcx78c"
[connection signal="killed" from="." to="." method="summon_particle" unbinds=1]
[connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="." method="die_from_hammer"]
[connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="ScoreNoteSpawner" method="spawn_note" binds= [200]]

View file

@ -69,14 +69,14 @@ loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:position")
tracks/0/path = NodePath("MovementJoint:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(8, -12), Vector2(-8, -12)]
"values": [Vector2(8, 0), Vector2(-8, 0)]
}
[sub_resource type="Animation" id="Animation_scjjh"]
@ -84,14 +84,14 @@ length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite:position")
tracks/0/path = NodePath("MovementJoint:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, -12)]
"values": [Vector2(0, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2vqj5"]
@ -187,25 +187,28 @@ on_screen_enabler = NodePath("VisibleOnScreenEnabler2D")
score_note_adder = NodePath("ScoreNoteSpawner")
metadata/_custom_type_script = "uid://bpydbpyjk1mt4"
[node name="Sprite" type="AnimatedSprite2D" parent="."]
[node name="MovementJoint" type="Node2D" parent="."]
[node name="Sprite" type="AnimatedSprite2D" parent="MovementJoint"]
position = Vector2(0, -12)
scale = Vector2(-1, 1)
rotation = 3.1415927
scale = Vector2(1, -1)
sprite_frames = SubResource("SpriteFrames_cl1av")
animation = &"Idle"
frame_progress = 0.755197
offset = Vector2(2, 0)
offset = Vector2(2, 1)
flip_h = true
script = ExtResource("3_hx42c")
metadata/_custom_type_script = "uid://caq1qiwmy0mox"
[node name="Hammer" type="Sprite2D" parent="Sprite"]
[node name="Hammer" type="Sprite2D" parent="MovementJoint/Sprite"]
visible = false
show_behind_parent = true
position = Vector2(0, -17)
texture = SubResource("AtlasTexture_hx42c")
flip_h = true
[node name="ResourceSetterNew" type="Node" parent="Sprite/Hammer" node_paths=PackedStringArray("node_to_affect")]
[node name="ResourceSetterNew" type="Node" parent="MovementJoint/Sprite/Hammer" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("7_pvn5i")
node_to_affect = NodePath("..")
property_name = "texture"
@ -213,7 +216,7 @@ mode = 1
resource_json = ExtResource("6_0w8yj")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="ResourceSetterNew" type="Node" parent="Sprite" node_paths=PackedStringArray("node_to_affect")]
[node name="ResourceSetterNew" type="Node" parent="MovementJoint/Sprite" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("7_pvn5i")
node_to_affect = NodePath("..")
property_name = "sprite_frames"
@ -274,7 +277,7 @@ metadata/_custom_type_script = "uid://dri2d5jtu0fbq"
[node name="GibSpawner" type="Node" parent="." node_paths=PackedStringArray("visuals")]
script = ExtResource("8_1mp8k")
visuals = NodePath("../Sprite")
visuals = NodePath("../MovementJoint/Sprite")
metadata/_custom_type_script = "uid://c3gg32ivrlq8n"
[node name="VisibleOnScreenEnabler2D" type="VisibleOnScreenEnabler2D" parent="."]
@ -324,7 +327,7 @@ metadata/_custom_type_script = "uid://d4a7yp6e55u8t"
[connection signal="block_bounced" from="BlockBouncingDetection" to="ScoreNoteSpawner" method="spawn_note" binds= [1000]]
[connection signal="fireball_hit" from="FireballDetection" to="." method="die_from_object"]
[connection signal="fireball_hit" from="FireballDetection" to="ScoreNoteSpawner" method="spawn_note" binds= [1000]]
[connection signal="gib_about_to_spawn" from="GibSpawner" to="Sprite/Hammer" method="hide"]
[connection signal="gib_about_to_spawn" from="GibSpawner" to="MovementJoint/Sprite/Hammer" method="hide"]
[connection signal="screen_entered" from="VisibleOnScreenEnabler2D" to="." method="on_screen_entered"]
[connection signal="timeout" from="Timer" to="." method="charge"]
[connection signal="moving_shell_entered" from="ShellDetection" to="." method="die_from_object"]

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=22 format=3 uid="uid://beggmeixrin75"]
[gd_scene load_steps=23 format=3 uid="uid://beggmeixrin75"]
[ext_resource type="Script" uid="uid://b1b6aiai213ci" path="res://Scripts/Classes/Entities/Enemies/Pokey.gd" id="1_b54ls"]
[ext_resource type="Texture2D" uid="uid://dj46y8vhqlqjw" path="res://Assets/Sprites/Enemies/Pokey.png" id="2_8aome"]
@ -15,6 +15,7 @@
[ext_resource type="Script" uid="uid://dlq6o2rg1x7in" path="res://Scripts/Classes/Components/BasicEnemyMovement.gd" id="11_8aome"]
[ext_resource type="Script" uid="uid://5octqlf4ohel" path="res://Scripts/Classes/Components/ScoreNoteSpawner.gd" id="12_b54ls"]
[ext_resource type="Script" uid="uid://ctfbuoxtnnl0q" path="res://Scripts/Classes/Components/EditorPropertyExposer.gd" id="13_30hxr"]
[ext_resource type="Script" uid="uid://blfnd65xcx78c" path="res://Scripts/Classes/Components/LedgeDetectionCast.gd" id="16_rjgwh"]
[sub_resource type="AtlasTexture" id="AtlasTexture_g6vo0"]
atlas = ExtResource("2_8aome")
@ -357,8 +358,11 @@ shape = SubResource("RectangleShape2D_mpg4k")
position = Vector2(0, -168)
rect = Rect2(-10, 0, 20, 176)
[node name="BasicEnemyMovement" type="Node" parent="." node_paths=PackedStringArray("visuals")]
[node name="BasicEnemyMovement" type="Node" parent="." node_paths=PackedStringArray("ledge_detection_cast", "visuals")]
script = ExtResource("11_8aome")
ledge_detection_cast = NodePath("../LedgeDetectionCast")
move_speed = 16
second_quest_speed = 20
visuals = NodePath("../Parts")
metadata/_custom_type_script = "uid://dlq6o2rg1x7in"
@ -375,6 +379,12 @@ properties = Array[String](["length"])
process_mode = 3
script = SubResource("GDScript_30hxr")
[node name="LedgeDetectionCast" type="RayCast2D" parent="."]
position = Vector2(-4, -5)
target_position = Vector2(0, 8)
collision_mask = 2
script = ExtResource("16_rjgwh")
[connection signal="killed" from="." to="." method="summon_part_gibs" unbinds=1]
[connection signal="fireball_hit" from="FireballDetection" to="." method="die_from_object"]
[connection signal="hammer_player_hit" from="EnemyPlayerDetection" to="." method="die_from_hammer"]

View file

@ -640,7 +640,7 @@ settings_category = "difficulty"
[node name="GameOverStyle" parent="PanelContainer/MarginContainer/VBoxContainer/Difficulty" groups=["Options"] instance=ExtResource("3_dl6kk")]
layout_mode = 2
option_key = "game_over"
option_key = "game_over_behaviour"
title = "DIFFI_GAME_OVER"
value_descs = Array[String](["DESC_GAME_OVER_0", "DESC_GAME_OVER_1", "DESC_GAME_OVER_2"])
values = ["DIFFI_GAME_OVER_WLD", "DIFFI_GAME_OVER_LVL", "DIFFI_GAME_OVER_GME"]

View file

@ -20,7 +20,8 @@ func _ready() -> void:
func _process(delta: float) -> void:
target_player = get_tree().get_first_node_in_group("Players")
direction = sign(target_player.global_position.x - global_position.x)
$Sprite.scale.x = direction
$MovementJoint/Sprite.scale.x = -direction
if $TrackJoint.is_attached: $MovementAnimations.play("RESET")
func _physics_process(delta: float) -> void:
@ -67,16 +68,16 @@ func do_hammer_throw() -> void:
$HammerTimer.start(randf_range(2, 5))
func throw_hammer() -> void:
$Sprite/Hammer.show()
$Sprite.play("Hammer")
$MovementJoint/Sprite/Hammer.show()
$MovementJoint/Sprite.play("Hammer")
await get_tree().create_timer(0.5, false).timeout
spawn_hammer()
$Sprite.play("Idle")
$Sprite/Hammer.hide()
$MovementJoint/Sprite.play("Idle")
$MovementJoint/Sprite/Hammer.hide()
func spawn_hammer() -> void:
var node = HAMMER.instantiate()
node.global_position = $Sprite/Hammer.global_position
node.global_position = $MovementJoint/Sprite/Hammer.global_position
node.direction = direction
if $TrackJoint.is_attached:
get_parent().owner.add_sibling(node)

View file

@ -35,7 +35,7 @@ func _ready() -> void:
if Settings.file.difficulty.checkpoint_style != 0:
queue_free()
return
elif Settings.file.difficulty.checkpoint_style == 0:
elif Settings.file.difficulty.checkpoint_style == 0 and [Global.GameMode.CUSTOM_LEVEL, Global.GameMode.LEVEL_EDITOR].has(Global.current_game_mode) == false:
queue_free()
return
if passed and PipeArea.exiting_pipe_id == -1 and Global.current_game_mode != Global.GameMode.LEVEL_EDITOR and Level.vine_return_level == "" and passed_checkpoints[passed_checkpoints.size() - 1] == id:

View file

@ -37,6 +37,7 @@ func set_value(value_name := "", value := 0) -> void:
"inf_lives": inf_lives_changed,
"flagpole_lives": flag_lives_changed,
"game_over": game_over_changed,
"game_over_behaviour": game_over_changed,
"level_design": level_design_changed,
"extra_checkpoints": extra_checkpoints_changed,
"back_scroll": backscroll_changed

View file

@ -103,6 +103,7 @@ func value_changed(property, new_value) -> void:
func close() -> void:
hide()
active = false
if get_tree() == null: return
await get_tree().create_timer(0.1).timeout
closed.emit()
for i in %Container.get_children():