mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Prevents small crouch if it's not a used animation
Also added some functions for debugging and toggling visible collisions. Also fixed some inconsistencies with both small and big collisions.
This commit is contained in:
@@ -711,7 +711,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)
|
||||
@@ -1057,6 +1057,7 @@ 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"]]
|
||||
|
Reference in New Issue
Block a user