remplissage, menu, gamin audio et autre

This commit is contained in:
Dukantic
2024-10-22 22:11:03 +02:00
parent 8bfc2c8515
commit b9c3f980f6
18 changed files with 2649 additions and 479 deletions

View File

@@ -48,7 +48,8 @@ public partial class Player : CharacterBody2D
public override void _Ready()
{
this.AddToGroup("player");
cam.PositionSmoothingEnabled = false;
this.AddToGroup("player");
}
@@ -95,7 +96,7 @@ public partial class Player : CharacterBody2D
}
Vector2 direction = Input.GetVector("left", "right", "up", "down");
direction = direction.Normalized();
//direction = direction.Normalized();
if (direction != Vector2.Zero)
{
velocity = direction * Speed * (float)delta;