#163894 - ZachG - Tue Oct 14, 2008 4:39 pm
I have 16x16 tiles that I use to make my maps. The problem is that they're viewed as 8x8. For instance, if I wanted to have my first 16x16 tile show up, I'd have to put the values 0x0000, 0x0001, 0x0010, and 0x0011 into my map instead of just 0x0000. It's going to make collision detection too tedious.
Is there an option that I can set in grit to make it parse them as 16x16, or is there an option when I'm setting my control register (see below) to tell it that the tiles are 16x16?
-Zach
p.s. Control Register initialization
p.p.s. Grit file
Is there an option that I can set in grit to make it parse them as 16x16, or is there an option when I'm setting my control register (see below) to tell it that the tiles are 16x16?
-Zach
p.s. Control Register initialization
Code: |
BG2_CR = BG_TILE_BASE(0) | BG_MAP_BASE(8) | BG_COLOR_256 | TEXTBG_SIZE_256x256; |
p.p.s. Grit file
Code: |
# Set the warning level to 3
-W3 # Include the palette -p # Tile the image -gt # 8 bit, 256 color -gB8 # Perform reductions -mRtpf # Map layout standard format -mLs # Column major formatting -tc |