princesse: hitbox ajustée
+ collisions avec les pics améliorée
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -197,7 +197,8 @@ animations = [{
|
|||||||
}]
|
}]
|
||||||
|
|
||||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6r7th"]
|
||||||
height = 52.0
|
radius = 5.0
|
||||||
|
height = 50.0
|
||||||
|
|
||||||
[sub_resource type="Animation" id="Animation_uo4aj"]
|
[sub_resource type="Animation" id="Animation_uo4aj"]
|
||||||
resource_name = "death"
|
resource_name = "death"
|
||||||
@@ -267,7 +268,6 @@ WALK_INCR_AIR = 4
|
|||||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||||
sprite_frames = SubResource("SpriteFrames_q52wx")
|
sprite_frames = SubResource("SpriteFrames_q52wx")
|
||||||
animation = &"jump_impulsion"
|
animation = &"jump_impulsion"
|
||||||
frame_progress = 0.443433
|
|
||||||
|
|
||||||
[node name="wall_detect_left" type="RayCast2D" parent="."]
|
[node name="wall_detect_left" type="RayCast2D" parent="."]
|
||||||
target_position = Vector2(-10, 0)
|
target_position = Vector2(-10, 0)
|
||||||
@@ -283,7 +283,7 @@ drag_horizontal_enabled = true
|
|||||||
drag_vertical_enabled = true
|
drag_vertical_enabled = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
position = Vector2(2, 0)
|
position = Vector2(1, 0)
|
||||||
shape = SubResource("CapsuleShape2D_6r7th")
|
shape = SubResource("CapsuleShape2D_6r7th")
|
||||||
|
|
||||||
[node name="ground_far_detect" type="RayCast2D" parent="."]
|
[node name="ground_far_detect" type="RayCast2D" parent="."]
|
||||||
|
|||||||
Reference in New Issue
Block a user