0 Members and 2 Guests are viewing this topic.
In your update method, do: if (Keyboard.IsKeyPressed(Keyboard.Key.W)) { View view = window.GetView(); view.Move(new Vector2f(0, -1)); window.SetView(view); }Remember to set the modified view for window!