Skip to content

Best way to associate tile maps with tiles? #341

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

You must be logged in to vote

Hey!

The quick answer is 0 is the top left, and it's row major.

We use tiled for our examples, the best one is The Purple Night for this. The trick we use here is to make tile 0 be transparent because tiled, at least in this case, starts your tiles at 1 and uses 0 to represent no tile. So rather simply a saturating subtraction of 1 converts from tiled tile space to GBA tile space.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jembishop
Comment options

Answer selected by jembishop
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