Platform game written for the GHI/OutrageousCircuits RETRO game device. Navigate the caves collecting all the pickups and avoiding the creatures and haunted mine carts that patrol the caves. Oh and remember to watch out for the poisonous plants... This game demonstrates the ability to have multiple animated sprites where the sprites can overlap the background environment. See how the player moves past the fence and climbs the wall in the 3rd screen.

Dependencies:   mbed

LCD_ST7735/Bitmap4bpp.h

Committer:
taylorza
Date:
2015-02-01
Revision:
11:9ae9a88a1da8
Parent:
7:2fd875c1d9b1

File content as of revision 11:9ae9a88a1da8:

#ifndef __BITMAP4BPP_H__
#define __BITMAP4BPP_H__

class Bitmap4bpp
{
    public:
        Bitmap4bpp(uint16_t width, uint16_t height);
        ~Bitmap4bpp();
        
        inline uint16_t getWidth() { return _width; }
        inline uint16_t getHeight() { return _height; }
        inline uint16_t getStride() { return _stride; }
        
        inline uint8_t *getBitmapData() { return _pBitmapData; }            
                
        void clear();
    private:
        uint16_t    _width;
        uint16_t    _height;
        uint16_t    _stride;
        uint8_t     *_pBitmapData;                
};

#endif //__BITMAP4BPP_H__