Skip to content
/ mgc Public

MGC is a library designed to help create small games and gadgets.

License

Notifications You must be signed in to change notification settings

nyannkov/mgc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mgc

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.

Cloning the Repository

This repository includes submodules. To clone it properly, please use the --recursive option:

git clone --recursive <repository_url>

Demonstrations

There are demonstrations using a Raspberry Pi Pico (RP2040) and an LCD module equipped with an ILI9341.

samples/platformer

samples/cutscene_player

https://www.youtube.com/watch?v=uYc1KSSySi8

Specification

Image format

  • Color format: RGB565
  • Color mode: indexed color

Font

  • Font size: maximum 16 pixels
  • Font file format: BDF

How to use

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.

License

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.