Merge pull request #342 from KirbyKid256/pulls/small-crouch-hitbox-fix

Hitbox Change for When Small and Crouching
This commit is contained in:
guzlad
2025-10-10 00:39:37 +02:00
committed by GitHub
8 changed files with 64 additions and 31 deletions

View File

@@ -712,7 +712,7 @@ position = Vector2(0, -13)
collision_layer = 0
collision_mask = 384
[node name="SmallShape" type="CollisionShape2D" parent="LavaPoisonDetect"]
[node name="SmallShape" type="CollisionShape2D" parent="LavaPoisonDetect" groups=["SmallCollisions"]]
position = Vector2(0, 5.75)
shape = SubResource("RectangleShape2D_uwhl4")
debug_color = Color(1, 0, 0, 0.419608)
@@ -1050,8 +1050,8 @@ one_way_collision = true
script = ExtResource("35_nbkfn")
[node name="BigCollision" type="CollisionPolygon2D" parent="." groups=["BigCollisions"]]
visible = false
polygon = PackedVector2Array(-4, -2, -2, 0, 2, 0, 4, -2, 4, -23, 1, -28, -1, -28, -4, -23)
one_way_collision = true
script = ExtResource("35_nbkfn")
[node name="FootL" type="CollisionShape2D" parent="." groups=["StepCollision"]]
@@ -1096,22 +1096,21 @@ collision_layer = 0
collision_mask = 4
[node name="SmallShape" type="CollisionShape2D" parent="BlockCollision" node_paths=PackedStringArray("link") groups=["SmallCollisions"]]
visible = false
position = Vector2(0, -16.875)
position = Vector2(0, -3.375)
shape = SubResource("RectangleShape2D_d7xah")
debug_color = Color(1, 0, 0, 0.419608)
script = ExtResource("21_jl70t")
offset = Vector2(0, 13.5)
link = NodePath("../../SmallCollision")
metadata/scalable = false
[node name="BigShape" type="CollisionShape2D" parent="BlockCollision" node_paths=PackedStringArray("link") groups=["BigCollisions"]]
position = Vector2(0, -32)
position = Vector2(0, -6)
shape = SubResource("RectangleShape2D_34tqy")
disabled = true
debug_color = Color(1, 0, 0, 0.419608)
script = ExtResource("21_jl70t")
offset = Vector2(0, 26)
link = NodePath("../../BigCollision")
metadata/scalable = false
[node name="TimerWarn" type="AudioStreamPlayer" parent="."]
process_mode = 3