.nbTiles is the number of unique 8x8 tile you need to draw a sprite/frame
I don't know if Stef fixed this issue but, if you read the wiki, you also see the size property
Code: Select all
u16 size; //since we use width/height in pixel, useful info on sprite size
//TODO : size is not SGDK compliant, you need to use size>>8
ex:
VDP_setSprite(0, 0, 0, sonic.size>>8, TILE_ATTR_FULL(PAL1,1,0,0,1), 0);
and for palette, i never found a better tool that the dead debabelizer...
got a VM with XP + debabelizer only for this !