From 7edd8e4ca8dab0eff98093cb857520fac676d699 Mon Sep 17 00:00:00 2001 From: Thomas Lavocat Date: Fri, 28 Apr 2023 21:05:08 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9glage:=20la=20princesse=20bouge=20mieux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Réglage plus fin de la gravité et des déplacements horizontaux. --- princesse.tscn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/princesse.tscn b/princesse.tscn index 9b23e79..6356368 100644 --- a/princesse.tscn +++ b/princesse.tscn @@ -201,11 +201,15 @@ height = 52.0 [node name="Princesse" type="CharacterBody2D"] script = ExtResource("1_dkp7s") -WALKING_SPEED = 300 +WALKING_SPEED = 250 +FALLING_SPEED = 275 +JUMPING_SPEED = 275 +WALK_INCR_AIR = 6 [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = SubResource("SpriteFrames_q52wx") animation = &"wall_stick" +frame_progress = 0.433902 [node name="PlatformDetector" type="RayCast2D" parent="."] collision_mask = 8