diff --git a/core/src/com/me/asteroids/systems/PlayerInputSystem.java b/core/src/com/me/asteroids/systems/PlayerInputSystem.java index dc597aa..bed9c05 100644 --- a/core/src/com/me/asteroids/systems/PlayerInputSystem.java +++ b/core/src/com/me/asteroids/systems/PlayerInputSystem.java @@ -31,11 +31,11 @@ public class PlayerInputSystem extends EntitySystem { AccelerationComponent accelComponent = entity.getComponent(AccelerationComponent.class); if (Gdx.input.isKeyPressed(Input.Keys.D)) { - positionComponent.rotation = Utils.rotate(positionComponent.rotation, -5); + positionComponent.rotation = Utils.rotate(positionComponent.rotation, -300 * dt); } if (Gdx.input.isKeyPressed(Input.Keys.A)) { - positionComponent.rotation = Utils.rotate(positionComponent.rotation, 5); + positionComponent.rotation = Utils.rotate(positionComponent.rotation, 300 * dt); } Vector2 acceleration = accelComponent.acceleration;