Add new UID files and update scene configurations for dialogue components; refactor skill management and input handling

This commit is contained in:
2025-08-26 23:05:30 +02:00
parent 6e71c321f7
commit 6c733d3159
339 changed files with 18075 additions and 3491 deletions

View File

@@ -15,9 +15,9 @@ public partial class GravityMotionComponent : Node2D
{
if (LaunchComponent == null) return;
var direction = LaunchComponent.InitialDirection.X > 0f ? TargetDirection : new Vector2(-TargetDirection.X, TargetDirection.Y);
direction = direction.Normalized();
_velocity = direction * LaunchComponent.Speed;
var horizontalDirection = LaunchComponent.InitialDirection.Normalized();
var combinedDirection = (horizontalDirection + TargetDirection).Normalized();
_velocity = combinedDirection * LaunchComponent.Speed;
}
public override void _PhysicsProcess(double delta)