kick: wall jump analogique

YO LES CHEUMS§§ 9A FAIT LONGTEMPS QUE J4AI PAS COMIT2§§
ALORS 9A SERA TOUT EN CAPSLOCK AUJOURD4HUI§§

En vrai ça va bien deux phrases le capslock.
Bon la princesse avait un saut analogique, le wall kick c'est bien
d'être cohérent, le feeling est bon, des petites pressions sur sauter
contre un mur permettent de remonter vite le long de celui ci.

A vos claviers pour tester!!
This commit is contained in:
Thomas Lavocat
2023-10-13 20:05:09 +02:00
parent 7f86dca933
commit 0b8a459fc0
2 changed files with 78 additions and 25 deletions

View File

@@ -455,12 +455,12 @@ shape = SubResource("CapsuleShape2D_6r7th")
[node name="ground_far_detect" type="RayCast2D" parent="."]
position = Vector2(4, 0)
target_position = Vector2(0, 42)
target_position = Vector2(0, 48)
collision_mask = 16
[node name="ground_far_detect2" type="RayCast2D" parent="."]
position = Vector2(-4, 0)
target_position = Vector2(0, 42)
target_position = Vector2(0, 48)
collision_mask = 16
[node name="Death player" type="AnimationPlayer" parent="."]
@@ -484,9 +484,9 @@ texture = ExtResource("8_8c83t")
offset = Vector2(0, -13)
texture_scale = 0.34
[node name="wall_detect_left2" type="RayCast2D" parent="."]
position = Vector2(0, -6.66667)
target_position = Vector2(-8, 0)
[node name="wall_detect_right" type="RayCast2D" parent="."]
position = Vector2(0, 5)
target_position = Vector2(8, 0)
collision_mask = 16
[node name="wall_detect_right2" type="RayCast2D" parent="."]
@@ -499,9 +499,14 @@ position = Vector2(0, 16.6667)
target_position = Vector2(8, 0)
collision_mask = 16
[node name="wall_detect_right" type="RayCast2D" parent="."]
[node name="wall_detect_left" type="RayCast2D" parent="."]
position = Vector2(0, 5)
target_position = Vector2(8, 0)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_left2" type="RayCast2D" parent="."]
position = Vector2(0, -6.66667)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_left3" type="RayCast2D" parent="."]
@@ -509,9 +514,32 @@ position = Vector2(0, 16.6667)
target_position = Vector2(-8, 0)
collision_mask = 16
[node name="wall_detect_left" type="RayCast2D" parent="."]
position = Vector2(0, 5)
target_position = Vector2(-8, 0)
[node name="wall_far_detect_left" type="RayCast2D" parent="."]
target_position = Vector2(-30, 0)
collision_mask = 16
[node name="wall_far_detect_left2" type="RayCast2D" parent="."]
position = Vector2(0, -15)
target_position = Vector2(-30, 0)
collision_mask = 16
[node name="wall_far_detect_left3" type="RayCast2D" parent="."]
position = Vector2(0, 24)
target_position = Vector2(-30, 0)
collision_mask = 16
[node name="wall_far_detect_right" type="RayCast2D" parent="."]
target_position = Vector2(30, 0)
collision_mask = 16
[node name="wall_far_detect_right2" type="RayCast2D" parent="."]
position = Vector2(0, -16)
target_position = Vector2(30, 0)
collision_mask = 16
[node name="wall_far_detect_right3" type="RayCast2D" parent="."]
position = Vector2(0, 24)
target_position = Vector2(30, 0)
collision_mask = 16
[connection signal="animation_finished" from="Death player" to="." method="_on_death_player_animation_finished"]