Race around the city collecting the flags while avoiding those that stand in the way of your mission. Make no mistake you will need to be quick to outwit your opponents, they are smart and will try to box you in. I wrote this game to prove that writing a game with scrolling scenery is possible even with the limited 6kB of RAM available. I had to compromise sound effects for features, I wanted multiple opponents, I wanted to be able to drop smoke bombs to trap the opponents but all this required memory so the sound effects had to take a back seat.
Constants.h@1:1b8125937f28, 2015-02-01 (annotated)
- Committer:
- taylorza
- Date:
- Sun Feb 01 00:43:25 2015 +0000
- Revision:
- 1:1b8125937f28
- Parent:
- 0:d85c449aca6d
Minor updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
taylorza | 0:d85c449aca6d | 1 | #include "Color565.h" |
taylorza | 0:d85c449aca6d | 2 | |
taylorza | 0:d85c449aca6d | 3 | #ifndef __CONSTANTS_H__ |
taylorza | 0:d85c449aca6d | 4 | #define __CONSTANTS_H__ |
taylorza | 0:d85c449aca6d | 5 | |
taylorza | 1:1b8125937f28 | 6 | #define MAX_LIVES 3 |
taylorza | 0:d85c449aca6d | 7 | #define MAX_SMOKE 5 |
taylorza | 0:d85c449aca6d | 8 | #define MAX_CARS 4 |
taylorza | 0:d85c449aca6d | 9 | #define MAX_FLAGS 5 |
taylorza | 0:d85c449aca6d | 10 | |
taylorza | 0:d85c449aca6d | 11 | #define FUEL_COUNTER 30 |
taylorza | 0:d85c449aca6d | 12 | |
taylorza | 0:d85c449aca6d | 13 | const uint16_t HUD_BACKGROUND = Color565::fromRGB(0, 168, 0); |
taylorza | 0:d85c449aca6d | 14 | |
taylorza | 0:d85c449aca6d | 15 | #endif |