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

83 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.

Demonstration

This is a demo using Raspberry Pi Pico (rp2040) and an LCD module equipped with ILI9341.

Source code: samples/platformer

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.