YXPCCCTT format

From SMWiki
Revision as of 16:17, 7 July 2010 by Ersanio (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The YXPCCCTT format (not to be confused with the YXPPCCCT format) is used to store layer tilemap properites. The information is stored in binary and makes up a single byte.

Format

76543210
YXPCCCTT

X  : X flip
Y  : Y flip
P  : Priority 
CCC: Palette 
TT : Bits 9 and 8 of tile number

VRAM (Layer 3)

Layer 3 uses the YXPCCCTT format for it's tile properties. In the VRAM, each layer 3 tile is stored in two byte words, one byte containing the tile number and the other the tile properties (YXPCCCTT format, as above).


Personal tools