mgc is a library under development intended for creating small games or gadgets. This library processes images in units of 16x16 pixels.Threfore, the size of the graphic RAM needs to be at least this size.
This repository includes submodules. To clone it properly, please use the --recursive
option:
git clone --recursive <repository_url>
There are demonstrations using a Raspberry Pi Pico (RP2040) and an LCD module equipped with an ILI9341.
- Source code: samples/platformer
https://www.youtube.com/watch?v=uYc1KSSySi8
- Source code: samples/cutscene_player
- Color format: RGB565
- Color mode: indexed color
- Font size: maximum 16 pixels
- Font file format: BDF
There is currently no manual for this library, but samples and examples are gradually being created. These samples and examples use the k8x12S font. Therefore, when building, the font files must be in the following path
mgc/fonts/k8x12_bdf/k8x12S.bdf
This font can be downloaded from the creator's website. See SETUP.md for information on setting up the development environment.
mgc is released under the MIT licence. For more information, see the LICENSE file. However, for automatically generated code such as fonts, maps and tilesets, follow the licence of the original data.