**Accelerate:**

If Velocity > Max_Speed Then

**Get Angle of this Motion**:

Current_X_Velocity + Sin ( ShipAngle ) * Acceleration * dt

Current_Y_Velocity - Cos ( ShipAngle ) * Acceleration * dt

Use the Angle:

**Set X_Velocity**: Sin (MotionAngle) * Old_Velocity

**Set Y_Velocity**:-Cos (MotionAngle) * Old_Velocity

Endif

Here is the capx:

CAPX

(at update_Spaceship/Apply_Input marked with comments)

(Use Arrow Keys and Ctrl)

Hope you can help me with sin/cos and the math ;)

Thank you