diff --git a/Assets/Sprites/UI/Staff.png b/Assets/Sprites/UI/Staff.png index 476d33f..a1dbe9c 100644 Binary files a/Assets/Sprites/UI/Staff.png and b/Assets/Sprites/UI/Staff.png differ diff --git a/Scenes/Levels/Credits.tscn b/Scenes/Levels/Credits.tscn index 31e986e..46ce3cc 100644 --- a/Scenes/Levels/Credits.tscn +++ b/Scenes/Levels/Credits.tscn @@ -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 = -32.0 +offset_top = 40.0 +offset_right = 32.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 = 56.0 +offset_top = 40.0 +offset_right = 160.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 = -32.0 +offset_top = 56.0 +offset_right = 24.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 = 32.0 +offset_top = 56.0 +offset_right = 128.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 = -32.0 +offset_top = 72.0 +offset_right = 72.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 = 80.0 +offset_top = 72.0 +offset_right = 168.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 = 136.0 +offset_top = 56.0 +offset_right = 184.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 = -32.0 +offset_top = 88.0 +offset_right = 24.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 = 48.0 +offset_top = 88.0 +offset_right = 128.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 = 56.0 +offset_top = 104.0 +offset_right = 120.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 = -32.0 +offset_top = 104.0 +offset_right = 48.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 = 64.0 +offset_top = 120.0 +offset_right = 160.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 = 136.0 +offset_top = 88.0 +offset_right = 200.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 = 144.0 +offset_top = 104.0 +offset_right = 192.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 = -32.0 +offset_top = 136.0 +offset_right = 48.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 = 56.0 +offset_top = 136.0 +offset_right = 136.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 = -32.0 +offset_top = 152.0 +offset_right = 88.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 = 144.0 +offset_top = 136.0 +offset_right = 208.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 = 96.0 +offset_top = 152.0 +offset_right = 184.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 = -32.0 +offset_top = 168.0 +offset_right = 32.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 = -32.0 +offset_top = 120.0 +offset_right = 40.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 = 32.0 +offset_top = 168.0 +offset_right = 128.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 diff --git a/Scenes/Prefabs/Entities/Enemies/HammerBro.tscn b/Scenes/Prefabs/Entities/Enemies/HammerBro.tscn index aa2eb34..24bcb77 100644 --- a/Scenes/Prefabs/Entities/Enemies/HammerBro.tscn +++ b/Scenes/Prefabs/Entities/Enemies/HammerBro.tscn @@ -196,7 +196,7 @@ 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" diff --git a/Scripts/Classes/Entities/Enemies/HammerBro.gd b/Scripts/Classes/Entities/Enemies/HammerBro.gd index d6c174a..c2ece88 100644 --- a/Scripts/Classes/Entities/Enemies/HammerBro.gd +++ b/Scripts/Classes/Entities/Enemies/HammerBro.gd @@ -20,6 +20,7 @@ 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) + $MovementJoint/Sprite.scale.x = -direction if $TrackJoint.is_attached: $MovementAnimations.play("RESET")