Finally here guys! Thanks to the gaming monsters gbdk tutorials (And some of his dinos offline adventure from GitHub) I finally created it starting from scratch!
Created
February 20, 2020 13:12
-
-
Save koopthekoopa/38f3286b7c4a7b06f31c9838a4c2d7a3 to your computer and use it in GitHub Desktop.
This is the source of Alien Ship Attack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles data | |
Number of Tiles : 81 | |
*/ | |
const unsigned char bg_data[] = { | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04, | |
0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00, | |
0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40, | |
0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08, | |
0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x40, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00, | |
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, | |
0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles map | |
TileMap Size : 20 x 18 | |
*/ | |
const unsigned char bg_map[] = { | |
0x00,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x05,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x06,0x01,0x01,0x01,0x07,0x08,0x01,0x01,0x09,0x01,0x01,0x0A,0x01,0x0B,0x01,0x01,0x01,0x0C,0x01,0x01,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x0E,0x01,0x01,0x01,0x01,0x01,0x01,0x0F,0x10,0x01,0x01,0x11,0x12,0x01,0x01,0x13,0x01,0x01,0x01,0x02,0x01,0x01,0x14,0x01,0x15,0x16,0x01,0x01,0x17,0x01,0x18,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x19,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x1A,0x01,0x01,0x01,0x1B,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x0B,0x01,0x01,0x18,0x01,0x01,0x1C,0x01,0x01,0x01,0x01,0x1D,0x01,0x1E,0x01,0x1F,0x01,0x20,0x01,0x01,0x01,0x21,0x01,0x01,0x01,0x01,0x01,0x22,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x09,0x23,0x12,0x01,0x01,0x02,0x24,0x25,0x23,0x01,0x26,0x04,0x01,0x27,0x28,0x01,0x29,0x0D,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x2A,0x01,0x01,0x01,0x01,0x01,0x2B,0x01,0x01,0x2C,0x01,0x2D,0x01,0x01,0x01,0x01,0x01,0x01,0x2E,0x01,0x01,0x01,0x2F,0x30,0x02,0x01,0x31,0x2A,0x32,0x01,0x33,0x01,0x34,0x01,0x01,0x01,0x35,0x01,0x01,0x36,0x01,0x37,0x01,0x01,0x01,0x01,0x38,0x01,0x39,0x10,0x01,0x01,0x01,0x01,0x01,0x01,0x3A,0x01,0x01,0x3B,0x3C,0x01,0x3D,0x01,0x3E,0x01,0x11,0x01,0x3F,0x01,0x01,0x40,0x41,0x01,0x01,0x01,0x01,0x01,0x2E,0x01,0x01,0x01,0x42,0x01,0x01,0x01,0x32,0x21,0x01,0x43,0x44,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x3D,0x01,0x01,0x01,0x45,0x01,0x01,0x01,0x46,0x01,0x47,0x01,0x01,0x45,0x01,0x01,0x01,0x0B,0x01,0x01,0x01,0x01,0x48,0x44,0x01,0x01,0x3B,0x01,0x01,0x01,0x01,0x49,0x01,0x17,0x01,0x01,0x4A,0x01,0x01,0x47,0x01,0x01,0x4B,0x01,0x01,0x01,0x4C,0x01,0x01,0x4D,0x2D,0x01,0x01,0x01,0x01,0x4E,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x43,0x01,0x01,0x01,0x4F,0x01,0x01,0x01,0x50,0x01,0x01 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles data | |
Number of Tiles : 92 | |
*/ | |
const unsigned char gameover_data[] = { | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x02,0x02,0x02,0x06, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xF0,0x08,0x08,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7E,0x7E,0x81,0x81,0x81,0x81, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00, | |
0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00, | |
0x02,0x02,0x02,0x02,0x02,0x02,0x12,0x12,0x02,0x02,0x01,0x01,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x78,0x78,0x08,0x08,0x09,0x09,0x19,0x19,0xE8,0xE8,0x00,0x00,0x00,0x00, | |
0xE7,0xE7,0x34,0x14,0xF4,0xF4,0x14,0x14,0x14,0x14,0xF4,0xF4,0x00,0x00,0x00,0x00, | |
0xB8,0xB8,0x45,0x45,0x45,0x45,0x45,0x45,0x45,0x45,0x44,0x44,0x00,0x00,0x00,0x00, | |
0xE0,0xE0,0x10,0x10,0xF0,0xF0,0x00,0x00,0x10,0x10,0xE0,0xE0,0x00,0x00,0x00,0x00, | |
0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x81,0x7E,0x7E,0x00,0x00,0x00,0x00, | |
0x44,0x44,0x45,0x45,0x29,0x29,0x29,0x29,0x11,0x11,0x10,0x10,0x00,0x00,0x00,0x00, | |
0xE7,0xE7,0x14,0x14,0xF4,0xF4,0x04,0x04,0x14,0x14,0xE4,0xE4,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40, | |
0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08, | |
0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04, | |
0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x40, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00, | |
0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01, | |
0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles map | |
TileMap Size : 20 x 18 | |
*/ | |
const unsigned char gameover_map[] = { | |
0x00,0x01,0x01,0x01,0x02,0x01,0x01,0x01,0x03,0x01,0x01,0x01,0x01,0x01,0x01,0x04,0x01,0x01,0x01,0x01,0x01,0x05,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x06,0x01,0x01,0x01,0x07,0x08,0x01,0x01,0x09,0x01,0x01,0x0A,0x01,0x0B,0x01,0x01,0x01,0x0C,0x01,0x01,0x01,0x01,0x0D,0x01,0x01,0x01,0x01,0x0E,0x01,0x01,0x01,0x01,0x01,0x01,0x0F,0x10,0x11,0x01,0x12,0x13,0x14,0x01,0x15,0x01,0x01,0x01,0x02,0x01,0x01,0x16,0x01,0x17,0x18,0x01,0x01,0x19,0x1A,0x1B,0x1C,0x1D,0x1E,0x1F,0x20,0x01,0x01,0x21,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x22,0x01,0x01,0x01,0x23,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x0B,0x01,0x01,0x24,0x01,0x01,0x25,0x01,0x01,0x01,0x01,0x26,0x01,0x27,0x01,0x28,0x01,0x29,0x01,0x01,0x01,0x2A,0x01,0x01,0x01,0x01,0x01,0x2B,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x09,0x2C,0x13,0x01,0x01,0x02,0x2D,0x2E,0x2C,0x01,0x2F,0x04,0x01,0x30,0x31,0x01,0x32,0x0D,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x33,0x01,0x01,0x01,0x01,0x01,0x34,0x01,0x01,0x35,0x01,0x36,0x01,0x01,0x01,0x01,0x01,0x01,0x37,0x01,0x01,0x01,0x38,0x39,0x02,0x01,0x3A,0x33,0x3B,0x01,0x3C,0x01,0x3D,0x01,0x01,0x01,0x3E,0x01,0x01,0x3F,0x01,0x40,0x01,0x01,0x01,0x01,0x41,0x01,0x42,0x43,0x01,0x01,0x01,0x01,0x01,0x01,0x44,0x01,0x01,0x45,0x46,0x01,0x47,0x01,0x48,0x01,0x12,0x01,0x49,0x01,0x01,0x4A,0x4B,0x01,0x01,0x01,0x01,0x01,0x37,0x01,0x01,0x01,0x4C,0x01,0x01,0x01,0x3B,0x2A,0x01,0x4D,0x4E,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x47,0x01,0x01,0x01,0x4F,0x01,0x01,0x01,0x50,0x01,0x51,0x01,0x01,0x4F,0x01,0x01,0x01,0x0B,0x01,0x01,0x01,0x01,0x52,0x4E,0x01,0x01,0x45,0x01,0x01,0x01,0x01,0x53,0x01,0x54,0x01,0x01,0x55,0x01,0x01,0x51,0x01,0x01,0x56,0x01,0x01,0x01,0x57,0x01,0x01,0x58,0x36,0x01,0x01,0x01,0x01,0x59,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x4D,0x01,0x01,0x01,0x5A,0x01,0x01,0x01,0x5B,0x01,0x01 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles data | |
Number of Tiles : 84 | |
*/ | |
const unsigned char logo_data[] = { | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00, | |
0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x3F,0x00,0x3F,0x1E,0x21,0x1E,0xFF,0x00, | |
0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00, | |
0x00,0x00,0x00,0x00,0xFE,0xFC,0xFE,0xFC,0xFF,0x00,0xFF,0x01,0xFE,0x01,0xFF,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x00,0xC0,0xE0,0x20,0xC0,0xEF,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00, | |
0x07,0x03,0x00,0x03,0x17,0x00,0x37,0x18,0x37,0x18,0x37,0x18,0x2F,0x10,0xFF,0x00, | |
0xBF,0xC0,0x3F,0xC0,0xFF,0x00,0xFF,0x00,0xF0,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F, | |
0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0x3F,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0, | |
0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xF0,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F, | |
0xFF,0x0F,0xF0,0x0F,0xFF,0x00,0xFF,0x00,0x7F,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80, | |
0x80,0x00,0x00,0x00,0xE0,0x00,0xB0,0x60,0xB0,0x60,0x80,0x60,0xA0,0x40,0xEC,0x00, | |
0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x07,0x00,0x06,0x07,0x06,0x07,0x06,0x07, | |
0xFF,0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,0xC0,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00, | |
0xF7,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F,0xF7,0x0F, | |
0xBF,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0,0xBF,0xC0, | |
0xFF,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80,0xFF,0x80, | |
0xFC,0x08,0xFC,0x08,0xFC,0x08,0xFC,0x08,0xFF,0x00,0xFD,0x03,0xFD,0x03,0xFC,0x03, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x80,0x00,0x80,0x00,0x80, | |
0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x06,0x07,0x07,0x00,0x01,0x00,0x01,0x00, | |
0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0x3F,0xC0,0xFF,0xC0, | |
0xF0,0x0F,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xF1,0x0E,0xF7,0x0E, | |
0x3F,0xC0,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00, | |
0xF0,0x0F,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFE,0x01,0xFF,0x01, | |
0x7F,0x80,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0x7F,0x80,0xFF,0x80, | |
0xFD,0x03,0xFD,0x03,0xFD,0x03,0xFC,0x03,0xFD,0x03,0xFF,0x00,0xF4,0x08,0xFC,0x08, | |
0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00, | |
0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xFF,0xC0,0xFF,0xC0,0xFF,0x00,0x2F,0x10,0x37,0x18,0x37,0x18,0x37,0x18,0x07,0x10, | |
0xF9,0x06,0xFE,0x01,0xFE,0x01,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00, | |
0xFF,0x00,0xBF,0xC0,0xBF,0xC0,0x8F,0x70,0xEF,0x30,0xCF,0x30,0xF7,0x0F,0xF7,0x0F, | |
0xFC,0x03,0xF5,0x0E,0xF5,0x0E,0x8F,0x70,0xAF,0x70,0x8F,0x70,0xFF,0x80,0xFF,0x80, | |
0x7F,0x80,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00, | |
0xFC,0x08,0xFC,0x08,0xEC,0x00,0xA0,0x40,0x80,0x60,0xB0,0x60,0xB0,0x60,0xC0,0x20, | |
0x00,0x03,0x07,0x03,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x7F,0x80,0xBF,0xC0,0xFF,0x00,0x3F,0x1E,0x3F,0x1E,0x1F,0x00,0x01,0x00,0x01,0x00, | |
0xF0,0x0F,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xF7,0xFF,0xFF,0xFF, | |
0x7F,0x80,0xFF,0x00,0xFF,0x00,0xFF,0x01,0xFF,0x01,0xFF,0x00,0xFE,0xFC,0xFE,0xFC, | |
0xF0,0x0F,0xFF,0x0F,0xFF,0x00,0xF0,0xE0,0xC0,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0xC0,0xC0, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x18, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x07,0x0C,0x0C, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xC0, | |
0x01,0x01,0x03,0x03,0x06,0x06,0x0C,0x0C,0x18,0x18,0x30,0x30,0x60,0x60,0x7F,0x7F, | |
0x80,0x80,0x0F,0x0F,0x19,0x19,0x07,0x07,0x0D,0x0D,0x19,0x19,0x19,0x19,0xCF,0xCF, | |
0x00,0x00,0x1F,0x1F,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99, | |
0x00,0x00,0x0F,0x0F,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x8F,0x8F, | |
0x00,0x00,0x9F,0x9F,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x9F,0x9F, | |
0x00,0x00,0x19,0x19,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x0F,0x0F, | |
0x18,0x18,0x98,0x98,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x99,0x98,0x98, | |
0x00,0x00,0xF0,0xF0,0x98,0x98,0xF8,0xF8,0x80,0x80,0x80,0x80,0x98,0x98,0xF0,0xF0, | |
0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x18,0x0C,0x0C,0x07,0x07, | |
0x40,0x40,0x07,0x07,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x4C,0x4C,0xCC,0xCC,0x87,0x87, | |
0x00,0x00,0x8F,0x8F,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0x8C,0x8C, | |
0x00,0x00,0xF8,0xF8,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC, | |
0x00,0x00,0xF8,0xF8,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xF8,0xF8, | |
0x00,0x00,0x78,0x78,0xCC,0xCC,0x3C,0x3C,0x6C,0x6C,0xCC,0xCC,0xCC,0xCC,0x7C,0x7C, | |
0x00,0x00,0xF9,0xF9,0xCD,0xCD,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC,0xCC, | |
0x00,0x00,0x86,0x86,0x86,0x86,0xCC,0xCC,0xCC,0xCC,0x78,0x78,0x78,0x78,0x30,0x30, | |
0x00,0x00,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x01,0x01,0xFF,0xFF,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x98,0x98,0xFF,0xFF,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xC0,0xC0,0xFF,0xFF,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x30,0x30,0xFE,0xFE,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0x30,0x30,0x30,0x30,0x37,0x37, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x9E,0x9E, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1E,0x1E, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x3E, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x30,0x30,0x30,0x79,0x79, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0, | |
0x0C,0x0C,0x0F,0x0F,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x00,0x00,0x1F,0x1F, | |
0x37,0x37,0xE6,0xE6,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x00,0x00,0xFF,0xFF, | |
0x33,0x33,0x3F,0x3F,0x30,0x30,0x30,0x30,0x33,0x33,0x1E,0x1E,0x00,0x00,0xFF,0xFF, | |
0x33,0x33,0x30,0x30,0x1E,0x1E,0x03,0x03,0x33,0x33,0x1E,0x1E,0x00,0x00,0xFF,0xFF, | |
0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x00,0x00,0xFF,0xFF, | |
0x33,0x33,0x33,0x33,0x31,0x31,0x30,0x30,0x33,0x33,0x19,0x19,0x00,0x00,0xFF,0xFF, | |
0x30,0x30,0x00,0x00,0xE0,0xE0,0x30,0x30,0x33,0x33,0xE3,0xE3,0x00,0x00,0xFF,0xFF, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x33,0x33,0x33,0x33,0x00,0x00,0xFF,0xFF, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles map | |
TileMap Size : 20 x 18 | |
*/ | |
const unsigned char logo_map[] = { | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0D,0x0E,0x0F,0x10,0x0F,0x11,0x12,0x13,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1D,0x1E,0x1F,0x20,0x21,0x22,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x23,0x24,0x25,0x26,0x27,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x2A,0x00,0x00,0x00,0x00,0x2B,0x00,0x2C,0x2D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2E,0x2F,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3A,0x3B,0x3C,0x3D,0x00,0x00,0x00,0x00,0x3E,0x3F,0x3F,0x40,0x41,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x42,0x3F,0x3F,0x43,0x00,0x00,0x00,0x00,0x00,0x44,0x45,0x46,0x47,0x47,0x48,0x49,0x4A,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4B,0x4C,0x4D,0x4E,0x4D,0x4F,0x50,0x51,0x52,0x53,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gb/gb.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <rand.h> | |
#include "title_data.c" | |
#include "title_map.c" | |
#include "bg_data.c" | |
#include "bg_map.c" | |
#include "gameover_data.c" | |
#include "gameover_map.c" | |
#include "logo_data.c" | |
#include "meta_sprites.c" | |
#include "logo_map.c" | |
#include "player.c" | |
UINT8 i; | |
UBYTE hasdinojustmovedy,apressed,running,gameover,splashscreen; | |
UINT8 dinomanimationframe,obstanimationframe,lastspriteid, currentBeat, skipgeneratingobstacles,speed; | |
UINT16 lastscreenquadrantrendered,currentscreenquadrant,nextscene,screenpixeloffset, laststarttime, timerCounter; | |
INT8 jumpindex,lastobstacleindex; | |
GameCharacter ship; | |
GameCharacter alien; | |
UBYTE spritesize = 8; | |
void performantdelay(UINT8 numloops){ | |
UINT8 i; | |
for(i = 0; i < numloops; i++){ | |
wait_vbl_done(); | |
} | |
} | |
UBYTE checkcollisions(GameCharacter* one, GameCharacter* two){ | |
return (one->x >= two->x && one->x <= two->x + two->width) && (one->y >= two->y && one->y <= two->y + two->height) || (two->x >= one->x && two->x <= one->x + one->width) && (two->y >= one->y && two->y <= one->y + one->height); | |
} | |
void movegamecharacter(GameCharacter* character, UINT8 x, UINT8 y){ | |
move_sprite(character->spritids[0], x, y); | |
move_sprite(character->spritids[1], x + spritesize, y); | |
move_sprite(character->spritids[2], x, y + spritesize); | |
move_sprite(character->spritids[3], x + spritesize, y + spritesize); | |
} | |
void setupship(){ | |
ship.x = 80; | |
ship.y = 130; | |
ship.width = 16; | |
ship.height = 16; | |
// load sprites for ship | |
set_sprite_tile(0, 0); | |
ship.spritids[0] = 0; | |
set_sprite_tile(1, 1); | |
ship.spritids[1] = 1; | |
set_sprite_tile(2, 2); | |
ship.spritids[2] = 2; | |
set_sprite_tile(3, 3); | |
ship.spritids[3] = 3; | |
movegamecharacter(&ship, ship.x, ship.y); | |
} | |
void playgameover(){ | |
//Sound : Game Over sound | |
NR10_REG = 0x7D; //or 1E or 1D for louder sound / 2E / 3E / 4E... for more "vibe" | |
NR11_REG = 0xBF; | |
NR12_REG = 0xF6; //B7, C7, D7...F7 for longer sound | |
NR13_REG = 0x7C; | |
NR14_REG = 0x86; | |
} | |
void setupalien(){ | |
alien.x = 30; | |
alien.y = 0; | |
alien.width = 16; | |
alien.height = 16; | |
// load sprites for bug | |
set_sprite_tile(4, 4); | |
alien.spritids[0] = 4; | |
set_sprite_tile(5, 5); | |
alien.spritids[1] = 5; | |
set_sprite_tile(6, 6); | |
alien.spritids[2] = 6; | |
set_sprite_tile(7, 7); | |
alien.spritids[3] = 7; | |
movegamecharacter(&alien, alien.x, alien.y); | |
} | |
void playmusicnext(); | |
void fadeout(); | |
void fadein(); | |
void bgsplashdraw1(){ | |
DISPLAY_OFF; | |
set_bkg_data(0, 114, logo_data); | |
set_bkg_tiles(0, 0, 20, 18, logo_map); | |
SHOW_BKG; | |
DISPLAY_ON; | |
} | |
bgsplashdraw2(){ | |
DISPLAY_OFF; | |
set_bkg_data(0, 114, title_data); | |
set_bkg_tiles(0, 0, 20, 18, title_map); | |
SHOW_BKG; | |
DISPLAY_ON; | |
} | |
void enablesound(){ | |
// turn on sound | |
NR52_REG = 0x80; // turn on sound registers | |
// there are 8 buts in this order, a 1 enables that chanel a 0 disables | |
// 7 Channel 4 to Main SO2 output level control (Left) | |
// 6 Channel 3 to Main SO2 output level control (Left) | |
// 5 Channel 2 to Main SO2 output level control (Left) | |
// 4 Channel 1 to Main SO2 output level control (Left) | |
// 3 Channel 4 to Main SO1 output level control (Right) | |
// 2 Channel 3 to Main SO1 output level control (Right) | |
// 1 Channel 2 to Main SO1 output level control (Right) | |
// 0 Channel 1 to Main SO1 output level control (Right) | |
// so if you construct chanel 1 on as 0001 0001 (left and right chanel) which ix x11 in hex | |
NR51_REG = 0xFF; // set all chanels | |
// NR50 controls volume | |
// again 8 bytes | |
// 7 Output Vin to Main SO2 output level control (1: on; 0: off) LEAVE ALONE | |
// 6-4 SO2 (Left) Main Output level (volume) | |
} | |
void startgame(){ | |
fadeout(); | |
game(); | |
} | |
void game(){ | |
DISPLAY_OFF; | |
set_sprite_data(0, 8, Sprites); | |
setupship(); | |
setupalien(); | |
set_bkg_data(0, 114, bg_data); | |
set_bkg_tiles(0, 0, 20, 18, bg_map); | |
SHOW_BKG; | |
SHOW_SPRITES; | |
DISPLAY_ON; | |
fadein(); | |
while(!checkcollisions(&ship, &alien)){ | |
if(joypad() & J_LEFT){ | |
movesound(); | |
ship.x -= 4; | |
movegamecharacter(&ship, ship.x, ship.y); | |
} | |
if(joypad() & J_RIGHT){ | |
movesound(); | |
ship.x += 4; | |
movegamecharacter(&ship, ship.x, ship.y); | |
} | |
alienactivate(); | |
movegamecharacter(&alien,alien.x,alien.y); | |
performantdelay(5); | |
} | |
gameoverscreen(); | |
} | |
void spawnalien(){ | |
NR10_REG = 0x16; | |
NR11_REG = 0x10; | |
NR12_REG = 0x73; | |
NR13_REG = 0x00; | |
NR14_REG = 0x83; | |
NR13_REG = 0x00; | |
NR12_REG = 0x73; | |
} | |
void alienactivate(){ | |
alien.y += 12; | |
if(alien.y >= 144){ | |
alien.y=0; | |
alien.x = ship.x; | |
spawnalien(); | |
} | |
} | |
void movesound(){ | |
NR41_REG = 0x01; | |
NR42_REG = 0x11; | |
NR43_REG = 0x00; | |
NR44_REG = 0xC0; | |
} | |
void gameoverscreen(){ | |
HIDE_SPRITES; | |
playgameover(); | |
delay(500); | |
fadeout(); | |
drawgameover(); | |
fadein(); | |
waitpad(J_A|J_B|J_SELECT|J_START); | |
DISPLAY_ON; | |
SHOW_SPRITES; | |
startgame(); | |
} | |
void drawgameover(){ | |
set_bkg_data(0, 114, gameover_data); | |
set_bkg_tiles(0, 0, 20, 18, gameover_map); | |
} | |
void load(){ | |
enablesound(); | |
wait_vbl_done(); | |
bgsplashdraw1(); | |
delay(2800); | |
fadeout(); | |
bgsplashdraw2(); | |
fadein(); | |
// set music playing in bg | |
disable_interrupts(); | |
add_TIM(playmusicnext); | |
enable_interrupts(); | |
TAC_REG = 0x06; // Not sure what this actually does but it overrides a default for the timer I think | |
set_interrupts(TIM_IFLAG|VBL_IFLAG); | |
// wait for any of these buttons to be pressed | |
waitpad(J_A|J_B|J_SELECT|J_START); | |
// remove music time interupt handler | |
disable_interrupts(); | |
remove_TIM(playmusicnext); | |
startgame(); | |
} | |
void main(){ | |
load(); | |
} | |
void fadeout(){ | |
for(i=0;i<4;i++){ | |
switch(i){ | |
case 0: | |
BGP_REG = 0xE4; | |
break; | |
case 1: | |
BGP_REG = 0xF9; | |
break; | |
case 2: | |
BGP_REG = 0xFE; | |
break; | |
case 3: | |
BGP_REG = 0xFF; | |
break; | |
} | |
delay(100); | |
} | |
} | |
void fadein(){ | |
for(i=0;i<3;i++){ | |
switch(i){ | |
case 0: | |
BGP_REG = 0xFE; | |
break; | |
case 1: | |
BGP_REG = 0xF9; | |
break; | |
case 2: | |
BGP_REG = 0xE4; | |
break; | |
} | |
delay(100); | |
} | |
} | |
//Define note names | |
typedef enum { | |
C3, Cd3, D3, Dd3, E3, F3, Fd3, G3, Gd3, A3, Ad3, B3, | |
C4, Cd4, D4, Dd4, E4, F4, Fd4, G4, Gd4, A4, Ad4, B4, | |
C5, Cd5, D5, Dd5, E5, F5, Fd5, G5, Gd5, A5, Ad5, B5, | |
C6, Cd6, D6, Dd6, E6, F6, Fd6, G6, Gd6, A6, Ad6, B6, | |
C7, Cd7, D7, Dd7, E7, F7, Fd7, G7, Gd7, A7, Ad7, B7, | |
C8, Cd8, D8, Dd8, E8, F8, Fd8, G8, Gd8, A8, Ad8, B8, | |
SILENCE | |
} pitch; | |
const UWORD frequencies[] = { //values based on a formula used by the GB processor | |
44, 156, 262, 363, 457, 547, 631, 710, 786, 854, 923, 986, | |
1046, 1102, 1155, 1205, 1253, 1297, 1339, 1379, 1417, 1452, 1486, 1517, | |
1546, 1575, 1602, 1627, 1650, 1673, 1694, 1714, 1732, 1750, 1767, 1783, | |
1798, 1812, 1825, 1837, 1849, 1860, 1871, 1881, 1890, 1899, 1907, 1915, | |
1923, 1930, 1936, 1943, 1949, 1954, 1959, 1964, 1969, 1974, 1978, 1982, | |
1985, 1988, 1992, 1995, 1998, 2001, 2004, 2006, 2009, 2011, 2013, 2015, | |
0 | |
}; | |
//Define Instrument names | |
//Instruments should be confined to one channel | |
//due to different registers used between ch1, 2, 3, 4 | |
typedef enum { | |
NONE, | |
MELODY, //channel 1 | |
HARMONY, //channel 1 | |
SNARE, //channel 4 | |
CYMBAL //channel 4 | |
} instrument; | |
//Define a note as having a pitch, instrument, and volume envelope | |
typedef struct { | |
instrument i; | |
pitch p; | |
UBYTE env; | |
} note; | |
//function to set sound registers based on notes chosen | |
void setNote(note *n){ | |
switch((*n).i){ | |
case MELODY: | |
NR10_REG = 0x00U; //pitch sweep | |
NR11_REG = 0x84U; //wave duty | |
NR12_REG = (*n).env; //envelope | |
NR13_REG = (UBYTE)frequencies[(*n).p]; //low bits of frequency | |
NR14_REG = 0x80U | ((UWORD)frequencies[(*n).p]>>8); //high bits of frequency (and sound reset) | |
break; | |
} | |
} | |
note song_intro[40] = { //notes to be played on channel 1 | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, D5, 0x83U}, | |
{MELODY, E5, 0x83U}, | |
{MELODY, G5, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, G5, 0x83U}, | |
{MELODY, E5, 0x83U}, | |
{MELODY, D5, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, B6, 0x83U}, | |
{MELODY, B6, 0x83U}, | |
{MELODY, A6, 0x83U}, | |
{MELODY, G6, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, G5, 0x83U}, | |
{MELODY, E5, 0x83U}, | |
{MELODY, D5, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, D6, 0x83U}, | |
{MELODY, Dd6, 0x83U}, | |
{MELODY, E6, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, E4, 0x77U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, E4, 0x77U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, E4, 0x77U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, D5, 0x83U}, | |
{MELODY, E5, 0x83U}, | |
{MELODY, G5, 0x83U}, | |
{NONE, SILENCE, 0x00U}, | |
{MELODY, B6, 0x83U}, | |
}; | |
void playChannel1(){ | |
setNote(&song_intro[currentBeat]); | |
NR51_REG |= 0x11U; //enable sound on channel 1 | |
} | |
void playmusicnext(){ | |
if (timerCounter == 52){ // as on splashscreen and CPU looping fast only play every 350 cycles | |
timerCounter=0; | |
currentBeat = currentBeat == 40 ? 0 : currentBeat+1; | |
playChannel1(); //every beat, play the sound for that beat | |
} | |
timerCounter++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del *.gb | |
c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -c -o main.o main.c | |
c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o alienship_attack.gb main.o | |
del *.o | |
del *.map | |
del *.sym | |
del *.lst | |
del *.sav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
META_SPRITES.C | |
Tile Source File. | |
Info: | |
Form : All tiles as one unit. | |
Format : Gameboy 4 color. | |
Compression : None. | |
Counter : None. | |
Tile size : 8 x 8 | |
Tiles : 0 to 7 | |
Palette colors : None. | |
SGB Palette : None. | |
CGB Palette : None. | |
Convert to metatiles : No. | |
This file was generated by GBTD v2.2 | |
*/ | |
/* Start of tile array. */ | |
unsigned char Sprites[] = | |
{ | |
0x01,0x00,0x03,0x03,0x1F,0x01,0xA3,0x03, | |
0xC1,0xC1,0x81,0x82,0x03,0xE4,0x67,0x9B, | |
0x80,0x00,0xC0,0xC0,0xF8,0x80,0xC5,0xC0, | |
0x83,0x83,0x81,0x41,0xC0,0x27,0xE6,0xD9, | |
0x7F,0x8F,0x3F,0x41,0x0F,0x30,0x01,0x1E, | |
0x00,0x11,0x00,0x20,0x00,0x20,0x00,0x40, | |
0xFE,0xF1,0xFC,0x82,0xF0,0x0C,0x80,0x78, | |
0x00,0x88,0x00,0x04,0x00,0x04,0x00,0x02, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x07,0x07,0x08,0x2F,0x17,0x6D,0x15, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0xE0,0xE0,0x10,0xF4,0xE8,0xB6,0xA8, | |
0x68,0x10,0x2D,0x15,0x05,0x09,0x03,0x0C, | |
0x00,0x33,0x00,0x20,0x00,0x20,0x00,0x40, | |
0x16,0x08,0xB4,0xA8,0xA0,0x90,0xC0,0x30, | |
0x00,0xCC,0x00,0x04,0x00,0x04,0x00,0x02 | |
}; | |
/* End of META_SPRITES.C */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
META_SPRITES.H | |
Include File. | |
Info: | |
Form : All tiles as one unit. | |
Format : Gameboy 4 color. | |
Compression : None. | |
Counter : None. | |
Tile size : 8 x 8 | |
Tiles : 0 to 7 | |
Palette colors : None. | |
SGB Palette : None. | |
CGB Palette : None. | |
Convert to metatiles : No. | |
This file was generated by GBTD v2.2 | |
*/ | |
/* Bank of tiles. */ | |
#define SpritesBank 0 | |
/* Start of tile array. */ | |
extern unsigned char Sprites[]; | |
/* End of META_SPRITES.H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <gb/gb.h> | |
//generical character structure: id, position, graphics | |
typedef struct GameCharacter { | |
UBYTE spritids[4]; // all characters use 4 sprites | |
UINT8 x; | |
UINT8 y; | |
UINT8 width; | |
UINT8 height; | |
} GameCharacter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles data | |
Number of Tiles : 111 | |
*/ | |
const unsigned char title_data[] = { | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0xC0,0xC0, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03, | |
0x03,0x03,0x07,0x07,0x0D,0x0D,0x19,0x19,0x31,0x31,0x79,0x79,0xC7,0xC7,0x81,0x81, | |
0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC1,0xC1,0xC1,0xC1,0xC3,0xC3, | |
0x00,0x00,0xC0,0xC0,0xF0,0xF0,0xE0,0xE0,0xE7,0xE7,0xE7,0xE7,0xC0,0xC0,0xC8,0xC8, | |
0x03,0x03,0x03,0x03,0x03,0x03,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06, | |
0x06,0x06,0x07,0x07,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x41,0x41,0x81,0x81,0xE3,0xE3,0x78,0x78,0x1F,0x1F,0x07,0x07,0x00,0x00,0x00,0x00, | |
0xC3,0xC3,0xC3,0xC3,0xC7,0xC7,0xC7,0xC7,0x0F,0x0F,0xC6,0xC6,0xF1,0xF1,0x3E,0x3E, | |
0x8E,0x8E,0x9E,0x9E,0x1C,0x1C,0x3C,0x3C,0x39,0x39,0x39,0x39,0x73,0x73,0x33,0x33, | |
0x00,0x00,0x00,0x00,0x78,0x78,0xEC,0xEC,0xCC,0xCC,0xCC,0xCC,0x9C,0x9C,0x84,0x84, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x60,0x60,0xFC,0xFC,0xE6,0xE6, | |
0x00,0x00,0x00,0x00,0x01,0x01,0x07,0x07,0x06,0x06,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x1F,0x1F,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0xF8,0xF8,0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0xF0,0xF0,0xFC,0xFC,0x3F,0x3F,0x07,0x07,0x01,0x01,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0xFC,0xFC,0x3F,0x3F, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80, | |
0x06,0x06,0x0E,0x0E,0x0C,0x0C,0x0C,0x0C,0x1C,0x1C,0x18,0x18,0x18,0x18,0x38,0x38, | |
0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x83,0x83,0xE1,0xE1,0x78,0x78,0x1F,0x1F,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x81,0x81,0xC1,0xC1,0xF1,0xF1,0x03,0x03,0xC7,0xC7,0xF1,0xF1,0x3E,0x3E,0x0F,0x0F, | |
0xE7,0xE7,0xCF,0xCF,0xCE,0xCE,0xCE,0xCE,0x9C,0x9C,0x9C,0x9C,0x3C,0x3C,0x88,0x88, | |
0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00,0x04,0x04, | |
0xF8,0xF8,0xC4,0xC4,0xC7,0xC7,0xC2,0xC2,0xE2,0xE2,0xE2,0xE2,0xF0,0xF0,0x78,0x78, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x38,0x38,0x38,0x38,0x70,0x70,0x70,0x70, | |
0x07,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xFE,0xFE,0xFF,0xFF,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x30,0x30,0xF0,0xF0,0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xE0,0xE0,0x78,0x78,0x1F,0x1F,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x0C,0x0C,0x0C,0x0C,0x1C,0x1C,0xC6,0xC6,0xF1,0xF1,0x3E,0x3E,0x0F,0x0F,0x01,0x01, | |
0x78,0x78,0x38,0x38,0x38,0x38,0x39,0x39,0xF1,0xF1,0x03,0x03,0x83,0x83,0xE3,0xE3, | |
0xF0,0xF0,0xFE,0xFE,0xE7,0xE7,0xC7,0xC7,0xCE,0xCE,0xCE,0xCE,0x9C,0x9C,0x9C,0x9C, | |
0x0C,0x0C,0x0E,0x0E,0x0C,0x0C,0x20,0x20,0x38,0x38,0x39,0x39,0x79,0x79,0x71,0x71, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0xF8,0xF8, | |
0x00,0x00,0x00,0x00,0x06,0x06,0x06,0x06,0x06,0x06,0x03,0x03,0x03,0x03,0x03,0x03, | |
0x7C,0x7C,0x1F,0x1F,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x3C,0x3C,0x18,0x18,0xC0,0xC0,0xF1,0xF1,0x3E,0x3E,0x0F,0x0F,0x01,0x01,0x00,0x00, | |
0xF3,0xF3,0xE3,0xE3,0xE7,0xE7,0xC7,0xC7,0x27,0x27,0x8F,0x8F,0xFF,0xFF,0x7C,0x7C, | |
0x8C,0x8C,0x8C,0x8C,0x9C,0x9C,0x1C,0x1C,0x1C,0x1C,0x38,0x38,0x78,0x78,0xF0,0xF0, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x03,0x03, | |
0x00,0x00,0x00,0x00,0x08,0x08,0x18,0x18,0x38,0x38,0x78,0x78,0xB8,0xB8,0x38,0x38, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04, | |
0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x01,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0xFF,0xFF, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xF0, | |
0x1F,0x1F,0x1F,0x1F,0x04,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0xC0,0xC0,0xF0,0xF0,0x3E,0x3E,0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00, | |
0x06,0x06,0x0F,0x0F,0x18,0x18,0x30,0x30,0x88,0x88,0xE0,0xE0,0x7C,0x7C,0x1F,0x1F, | |
0x38,0x38,0xB8,0xB8,0xF8,0xF8,0x38,0x38,0x38,0x38,0x38,0x38,0x78,0x78,0x18,0x18, | |
0x0C,0x0C,0x7C,0x7C,0x3C,0x3C,0x3A,0x3A,0x70,0x70,0x70,0x70,0xE1,0xE1,0xE1,0xE1, | |
0x00,0x00,0x00,0x00,0x10,0x10,0xF0,0xF0,0xE0,0xE0,0xF8,0xF8,0xC0,0xC0,0xC3,0xC3, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0, | |
0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xF8,0xF8,0x1C,0x1C,0x0E,0x0E,0x06,0x06,0x07,0x07,0x03,0x03,0x03,0x03,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80, | |
0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xC0,0xC0,0xF0,0xF0,0x3E,0x3E,0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xE3,0xE3,0xC3,0xC3,0x03,0x03,0x83,0x83,0xE3,0xE3,0x7C,0x7C,0x1F,0x1F,0x03,0x03, | |
0x87,0x87,0x86,0x86,0x80,0x80,0x0F,0x0F,0xDC,0xDC,0x1C,0x1C,0x1F,0x1F,0xC1,0xC1, | |
0x60,0x60,0x70,0x70,0x70,0x70,0xE1,0xE1,0xE3,0xE3,0xE7,0xE7,0xCE,0xCE,0xCE,0xCE, | |
0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0x31,0x31,0x31,0x31,0x31,0x31,0x03,0x03, | |
0x00,0x00,0x00,0x00,0xC0,0xC0,0xE0,0xE0,0xE0,0xE0,0xC0,0xC0,0xC0,0xC0,0x9C,0x9C, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x38,0x38, | |
0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x80,0x80,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xE0,0xE0,0x60,0x60,0x63,0x63, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x10,0xF0,0xF0,0xE0,0xE0, | |
0xF1,0xF1,0x3E,0x3E,0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xCE,0xCE,0x0E,0x0E,0x87,0x87,0xE3,0xE3,0x7C,0x7C,0x1F,0x1F,0x03,0x03,0x00,0x00, | |
0x03,0x03,0x07,0x07,0x07,0x07,0xCF,0xCF,0x0E,0x0E,0x1E,0x1E,0xC6,0xC6,0xF0,0xF0, | |
0xBE,0xBE,0x38,0x38,0x60,0x60,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0x60,0x60,0xF0,0xF0, | |
0x38,0x38,0x70,0x70,0x70,0x70,0x60,0x60,0x40,0x40,0x40,0x40,0x80,0x80,0x00,0x00, | |
0x7F,0x7F,0x1E,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x3E,0x3E,0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x33,0x33,0x83,0x83,0xE3,0xE3,0x7C,0x7C,0x1F,0x1F,0x03,0x03,0x00,0x00,0x00,0x00, | |
0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x1F,0x3F,0x3F,0x30,0x30,0x70,0x70,0x20,0x20, | |
0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0xFC,0xFF,0xFF,0x3F,0x3F,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xF0,0xF0,0xFC,0xFC,0x3F,0x3F, | |
0xE0,0xE0,0xF0,0xF0,0x78,0x78,0x1C,0x1C,0x0E,0x0E,0x07,0x07,0x03,0x03,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xC0,0xC0, | |
0xE0,0xE0,0x70,0x70,0x38,0x38,0x1C,0x1C,0x0E,0x0E,0x07,0x07,0x03,0x03,0x01,0x01, | |
0xE0,0xE0,0xE0,0xE0,0x70,0x70,0x3C,0x3C,0x1F,0x1F,0x0F,0x0F,0x03,0x03,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0xF0,0xF0,0xFC,0xFC, | |
0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x18,0x30,0x30,0x30,0x30,0x30,0x30,0x70,0x70, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF8,0xF8,0xDC,0xDC,0x8C,0x8C,0x86,0x86, | |
0x3F,0x3F,0x0F,0x0F,0x03,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x80,0x80,0xF0,0xF0,0xFE,0xFE,0x7F,0x7F,0x0F,0x0F,0x01,0x01,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0xE0,0xE0,0xF8,0xF8,0x7E,0x7E,0x0F,0x0F, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xE0, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x0F,0x0F,0x7F,0x7F, | |
0x00,0x00,0x01,0x01,0x07,0x07,0x1F,0x1F,0x7C,0x7C,0xF8,0xF8,0xE0,0xE0,0x00,0x00, | |
0xE0,0xE0,0xC0,0xC0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x3F,0x3F,0x33,0x33,0x71,0x71, | |
0x39,0x39,0x6C,0x6C,0xC6,0xC6,0x86,0x86,0x06,0x06,0x04,0x04,0x0C,0x0C,0x8C,0x8C, | |
0x87,0x87,0xC3,0xC3,0xC3,0xC3,0x63,0x63,0x33,0x33,0x1E,0x1E,0x00,0x00,0x40,0x40, | |
0xFF,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0xFE,0xFE,0xF0,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x0F,0x0F,0x19,0x19,0x31,0x31,0x11,0x11,0x01,0x01,0x01,0x01,0x01,0x01, | |
0x30,0x30,0x30,0x30,0xB8,0xB8,0x98,0x98,0x8C,0x8C,0x87,0x87,0x81,0x81,0x00,0x00, | |
0xCD,0xCD,0xCF,0xCF,0x6E,0x6E,0x60,0x60,0x60,0x60,0xC0,0xC0,0x80,0x80,0x00,0x00, | |
0xC0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x18,0x18,0x70,0x70,0xC0,0xC0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, | |
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Generated By GameBoyPngConverter | |
Tiles map | |
TileMap Size : 20 x 18 | |
*/ | |
const unsigned char title_map[] = { | |
0x00,0x00,0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x01,0x04,0x05,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x00,0x00,0x00,0x0E,0x0F,0x10,0x11,0x12,0x13,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x00,0x00,0x00,0x00,0x1C,0x1D,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x20,0x21,0x22,0x23,0x24,0x25,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x00,0x00,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2E,0x2F,0x30,0x30,0x30,0x30,0x31,0x00,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x39,0x39,0x39,0x39,0x39,0x3A,0x3B,0x00,0x00,0x3C,0x3D,0x3E,0x3F,0x40,0x41,0x42,0x43,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x45,0x46,0x00,0x00,0x00,0x00,0x47,0x48,0x49,0x4A,0x4B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4C,0x4D,0x00,0x00,0x00,0x00,0x00,0x00,0x4E,0x4F,0x50,0x00,0x00,0x00,0x51,0x52,0x53,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x54,0x55,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x55,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x57,0x58,0x00,0x00,0x00,0x00,0x00,0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5A,0x5B,0x00,0x00,0x00,0x00,0x5C,0x5D,0x5E,0x5F,0x60,0x61,0x62,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x64,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x66,0x67,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x68,0x69,0x6A,0x6B,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6C,0x6D,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6E | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment