Top-down Shooter Prototype
A Bare-Bones Top-Down Shooter
Top-down Shooter Prototype Documentation

A simple top-down game with graphics, particle effects, and sound. There is a turret represented by a brain with a blue ring which will rotate to face you and will fire its gun if you get too close. Your character is a brain with a gold ring which can also shoot in the direction that it is facing. You control your character using the keyboard or an XBox controller (see the tables below). The background is a simple image and the world size is its width and height, which are larger than the window. The camera follows the player but it stops at the edges of the world so that you never see anything that is outside the world. Bullets persist until they run into something, either the player, the turret, or the edges of the world. The turret does not move. Neither the turret nor the player character can die.

screenshot.png

Keyboard Controls

Key
Action
F1 Help (this document)
F2 Toggle frame rate display
Up arrow Move forwards when pressed
Down arrow Retreat when pressed
Left arrow Rotate counterclockwise when pressed
Right arrow Rotate clockwise when pressed
Space Shoot
A Strafe left
D Strafe right
Backspace Restart game
PrtScr (hold down) Save screenshot to a PNG file

X-Box Controller

Control
Action
Right Trigger Forward speed
Right Thumb Rotation speed and direction
Right Button Shoot
DPad Left Strafe left
DPad Right Strafe right

The LARC Engine

This code uses the LARC Engine and is part of the LARC Code Base.