princesse/collisions: régler les valeurs un poil
Meilleur feeling je trouve, à faire play test.
This commit is contained in:
@@ -197,8 +197,8 @@ animations = [{
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
|
||||
radius = 5.0
|
||||
height = 42.6667
|
||||
radius = 4.33333
|
||||
height = 39.3333
|
||||
|
||||
[sub_resource type="Animation" id="Animation_uo4aj"]
|
||||
resource_name = "death"
|
||||
@@ -263,41 +263,41 @@ slide_on_ceiling = false
|
||||
floor_constant_speed = true
|
||||
script = ExtResource("1_dkp7s")
|
||||
JUMPING_SPEED = 230
|
||||
KICK_JUMP_LIMITER = 0.73
|
||||
KICK_JUMP_LIMITER = 0.75
|
||||
COYOTE_LENGTH = 7
|
||||
COYOTE_GRAB_LENGTH = 4
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = SubResource("SpriteFrames_q52wx")
|
||||
animation = &"falling_diagonals"
|
||||
frame_progress = 0.975648
|
||||
animation = &"walk"
|
||||
frame_progress = 0.705596
|
||||
|
||||
[node name="wall_detect_left" type="RayCast2D" parent="."]
|
||||
target_position = Vector2(-8, 0)
|
||||
target_position = Vector2(-6, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="wall_detect_left2" type="RayCast2D" parent="."]
|
||||
position = Vector2(0, -16)
|
||||
target_position = Vector2(-8, 0)
|
||||
target_position = Vector2(-6, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="wall_detect_left3" type="RayCast2D" parent="."]
|
||||
position = Vector2(0, 22)
|
||||
target_position = Vector2(-8, 0)
|
||||
target_position = Vector2(-6, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="wall_detect_right" type="RayCast2D" parent="."]
|
||||
target_position = Vector2(10, 0)
|
||||
target_position = Vector2(8, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="wall_detect_right2" type="RayCast2D" parent="."]
|
||||
position = Vector2(0, -16)
|
||||
target_position = Vector2(10, 0)
|
||||
target_position = Vector2(8, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="wall_detect_right3" type="RayCast2D" parent="."]
|
||||
position = Vector2(0, 22)
|
||||
target_position = Vector2(10, 0)
|
||||
target_position = Vector2(8, 0)
|
||||
collision_mask = 16
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="."]
|
||||
@@ -308,7 +308,7 @@ drag_horizontal_enabled = true
|
||||
drag_vertical_enabled = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(1, 2)
|
||||
position = Vector2(0, 3)
|
||||
shape = SubResource("CapsuleShape2D_6r7th")
|
||||
|
||||
[node name="ground_far_detect" type="RayCast2D" parent="."]
|
||||
|
||||
Reference in New Issue
Block a user