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.

Dependencies:   mbed

Auto generated API documentation and code listings for RETRO-CityRally

Classes

Color565 Color palete support for 16bit RGB colors with 565 color format
LCD_ST7735 LCD_ST7735 is a simple driver for the ST7735 LCD controller

Code

Assets.h [code]
Base.h [code]
Beeper.cpp [code]
Beeper.h [code]
Bitmap1bpp.cpp [code]
Bitmap1bpp.h [code]
Bitmap2bpp.cpp [code]
Bitmap2bpp.h [code]
Bitmap4bpp.cpp [code]
Bitmap4bpp.h [code]
Block.h [code]
Canvas.h [code]
Color565.cpp [code]
Color565.h [code]
Constants.h [code]
Enemy.h [code]
Fix16.cpp [code]
Fix16.h [code]
Flag.h [code]
font_IBM.h [code]
Game.cpp [code]
Game.h [code]
GameEngine.h [code]
GameInput.cpp [code]
GameInput.h [code]
GameObject.cpp [code]
GameObject.h [code]
GameScreen.h [code]
ImageFrame.h [code]
LCD_ST7735.cpp [code]
LCD_ST7735.h [code]
main.cpp [code]
Map.h [code]
Player.h [code]
Point.h [code]
RallyCar.h [code]
Rect.h [code]
Smoke.h [code]
Sprite.h [code]
SpriteSheet.h [code]
TileViewer.cpp [code]
TileViewer.h [code]