princesse: hitbox ajustée

+ collisions avec les pics améliorée
This commit is contained in:
Thomas Lavocat
2023-05-01 15:02:39 +02:00
parent 0ba905966d
commit 7498b1b3bd
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -197,7 +197,8 @@ animations = [{
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
height = 52.0
radius = 5.0
height = 50.0
[sub_resource type="Animation" id="Animation_uo4aj"]
resource_name = "death"
@@ -267,7 +268,6 @@ WALK_INCR_AIR = 4
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_q52wx")
animation = &"jump_impulsion"
frame_progress = 0.443433
[node name="wall_detect_left" type="RayCast2D" parent="."]
target_position = Vector2(-10, 0)
@@ -283,7 +283,7 @@ drag_horizontal_enabled = true
drag_vertical_enabled = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(2, 0)
position = Vector2(1, 0)
shape = SubResource("CapsuleShape2D_6r7th")
[node name="ground_far_detect" type="RayCast2D" parent="."]