Top Level Namespace
Defined in:
Constant Summary
-
TILEMAP_HORIZONTAL_FLIP =
1_u16 << 10
-
TILEMAP_VERTICAL_FLIP =
1_u16 << 11
Method Summary
-
bmp_to_gba(color : BMP::Color) : UInt16
Lossyly convert from bmp 24/32bpp color to GBA 16bpp palette color.
- gba_main
-
raise(error : String) : NoReturn
Raises an Exception with the message.
Method Detail
def bmp_to_gba(color : BMP::Color) : UInt16
#
Lossyly convert from bmp 24/32bpp color to GBA 16bpp palette color.