Matt's Source Code Portal

Home About Links Problems My Graphics BaseCode Contact

This page explains navigating with the camera class in the BaseCode, and other aspects controlled by keyboard/mouse input. All of these are merely the default controls, and can be easily changed.

Full Screen

Pressing Alt+Enter at any time toggles full-screen mode. In full-screen mode, moving the mouse will update the camera, while mouse movement will have no effect in windowed mode.

Wireframe

Pressing F toggle wireframe-mode. I would use W, but it's part of camera movement.

Screen Capture

If CapturingScreen is set to true in God.cpp, pressing C will begin screen capture.

Camera Movement

W, S, A, D moves the camera around. W and S move into and out of the screen (along the direction of the camera's look vector.) A and D strafe (move along the camera's left/right vector.) The direction of the camera can be controlled with the mouse in full screen, or with the 2, 4, 6, 8 keys on the number pad in either windowed or full screen mode. If it doesn't work, try pressing NumLock.