Skip to content

embedded graphics implementation for the Game Boy Advance

License

Notifications You must be signed in to change notification settings

mogenson/embedded-graphics-gba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Graphics Game Boy Advance Display

This crate implements the embedded-graphics DrawTarget trait for the Game Boy Advance. This works when the GBA's display is used in a bitmap mode: Mode3, Mode4, or Mode5.

The GBA Tile4bpp and Tile8bpp objects also accept Drawable items to create sprites.

PaletteColor is a custom PixelColor that represents an index into a GBA color palette.

Example

screenshot

The draw.rs example loads a background image using the tinytga crate. Use the D-pad, A button, and B button to draw over the background. The start button clears the screen. The gba crate builds the example into a GBA ROM.

About

embedded graphics implementation for the Game Boy Advance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published