cd
into game folder- Run
make
to compile - Run
sample2D
- W, S to move vertically. SPACE to shoot. To use keyboard controls, the mouse pointer must be outside the frame.
- MOUSE-LEFT to click and drag vertically. LEFT-CLICK anywhere except on turret or buckets, and INSIDE the frame to shoot.
- CTRL + LEFT or CTRL + RIGHT to move RED bucket.
- ALT + LEFT or ALT + RIGHT to move GREEN bucket.
- Holding MOUSE-LEFT and dragging will also work on the buckets.
- P to pause and unpause game
- N, M to increase and decrease speed of falling bricks
- UP, DOWN to increase and decrease ZOOM
- LEFT, RIGHT to PAN. To pan with the mouse use MOUSE-RIGHT to click and drag sideways.
- Shoot black bricks.
- Collect red bricks in red bucket.
- Collect green bricks in green bucket.
- Don't let the bricks fall past the screen.
- Failing at any of the above results in losing a life. You begin with 9 lives.
- Keyboard controls for the turret only work while the mouse pointer is OUTSIDE the game frame/window.
- PAN will only work when
ZOOM > x1
.
- Pause button
- Automatically centered panning and zooming. Basically, zooming in, panning hard left or right, and then zooming out will not cause you to lose sight of the game.