Skip to content

GBA don't display all tiles that I pass #336

Locked Answered by corwinkuiper
rzru asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! I've had a look through, and I've found two issues.

  1. You're using affine 256 colours, but you've got TileSet::new(roads::roads.tiles, TileFormat::FourBpp);, this is trying to use the tileset as paletted 16. Should instead use TileSet::new(roads::roads.tiles, TileFormat::EightBpp); (@gwilymk maybe this can be automatic).
  2. And a bug! Even if you do this it still might not work due to some alignment issues in agb. I've made a PR to fix this (#337). Once it's merged in I'll release 0.12.2, so you can continue!

Thanks for your kind words and good luck with your game!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@rzru
Comment options

@rzru
Comment options

@rzru
Comment options

@corwinkuiper
Comment options

@rzru
Comment options

Answer selected by corwinkuiper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants