chore: update README.md

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-09-09 10:27:17 -03:00
parent dd57eb3dc3
commit 4db52642bf
1 changed files with 27 additions and 2 deletions

View File

@ -1,4 +1,29 @@
# Almost-Empty Demo Collection
# An Almost-empty GBA Test Collection
NOTE: This only builds on stage1 due to unimplemented language features that ZigGBA relies on.
### `2d_sprites.gba`
`grit` command: `grit sprite.bmp -ftc -pu32 -pn16 -gB4`
At some point during my initial PPU Implementation, I had problems with
2D-mapped vertical sprites. This is a ROM based on TONC's `sprite_demo.gba` That displays every kind of 2D-mapped sprite.
This ROM will display:
* 4BPP
* Square: 8x8, 16x16, 32x32, 64x64
* Horizontal: 16x8, 32x8, 32x16, 64x32
* Vertical: 8x16, 8x32, 16x32, 32x64
* 8BPP
* Square: 8x8, 16x16, 32x32, 64x64
* Horizontal: 16x8, 32x8, 32x16, 64x32
* Vertical: 8x16, 8x32, 16x32, 32x64
Keep in mind that all displayed sprites are 2D-mapped.
TODO: Do the same but for 1D mapped sprites. <br />
TODO: Figure out how to communicate current configurations to the user.
#### Controls
Button | Action
--- | ---
Start | Toggle Between 8bpp and 4bpp
L, R | Change the Size of the Sprite (Dimentions within the context of a Shape)
A, B | Change the Shape of the Sprite (Square, Horizontal, Vertical)
D-Pad | Move Sprite