princesse/réglages: 4* plus de frictions en l'air qu'au sol

et aussi je revert la longueur des scaner des wall hug
This commit is contained in:
Thomas Lavocat
2023-05-29 08:23:23 +02:00
parent df7cec57ac
commit 54a9bd5868

View File

@@ -297,6 +297,7 @@ JUMPING_SPEED = 230
KICK_JUMP_LIMITER = 0.75
COYOTE_LENGTH = 7
COYOTE_GRAB_LENGTH = 4
WALK_INCR_AIR = 4
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_q52wx")
@@ -304,31 +305,31 @@ animation = &"falling_diagonals"
frame_progress = 0.0129146
[node name="wall_detect_left" type="RayCast2D" parent="."]
target_position = Vector2(-6, 0)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_left2" type="RayCast2D" parent="."]
position = Vector2(0, -12)
target_position = Vector2(-6, 0)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_left3" type="RayCast2D" parent="."]
position = Vector2(0, 22)
target_position = Vector2(-6, 0)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_right" type="RayCast2D" parent="."]
target_position = Vector2(6, 0)
target_position = Vector2(8, 0)
collision_mask = 16
[node name="wall_detect_right2" type="RayCast2D" parent="."]
position = Vector2(0, -12)
target_position = Vector2(6, 0)
target_position = Vector2(8, 0)
collision_mask = 16
[node name="wall_detect_right3" type="RayCast2D" parent="."]
position = Vector2(0, 22)
target_position = Vector2(6, 0)
target_position = Vector2(8, 0)
collision_mask = 16
[node name="Camera2D" type="Camera2D" parent="."]