git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

commit 933737214ca122f2a32e46127a956f7ada344a74
parent 4316aebb656dc683a8367bcca1313a6a7001610e
Author: bbbbbr <bbbbbr@users.noreply.github.com>
Date:   Sat, 11 Jun 2022 20:23:22 -0700

Merge pull request #377 from bbbbbr/examples_apa_image

Examples: APA image: Readme fixups
Diffstat:
Mgbdk-lib/examples/gb/apa_image/Readme.md12+++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gbdk-lib/examples/gb/apa_image/Readme.md b/gbdk-lib/examples/gb/apa_image/Readme.md @@ -6,16 +6,18 @@ This example shows how to use APA graphics mode and png2asset to convert and dis This sample project can be used to make a minimal program which displays a logo The image is displayed with: -```draw_image();``` +`draw_image();` This call will automatically switch to APA graphics mode and install it's start and mid-frame ISRs which switch the tile source, enabling it to display more than 256 tiles. The screen hardware map is configured such that each tile used is unique, and indexed sequentially from left-to-right, top-to-bottom (20 x 18 = 360 tiles total). png2asset is called with these values in order to produce a compatible image: - -keep_duplicate_tiles : Don't remove duplicate tiles (required for APA bitmap image display) - -map : Use "map style" output, not metasprite - -tiles_only : Only keep tiles, no map (since APA mode expects tiles in linear order) - -bpp 2 : Use 2bpp output +- `keep_duplicate_tiles` : Don't remove duplicate tiles (required for APA bitmap image display) +- `map` : Use "map style" output, not metasprite +- `tiles_only` : Only keep tiles, no map (since APA mode expects tiles in linear order) +- `bpp 2` : Use 2bpp output Pixel art originally by RodrixAP under Creative Commons Attribution 2.0 Generic (CC BY 2.0) + https://www.flickr.com/photos/rodrixap/10591266994/in/album-72157637154901153/ +

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.