Page 3 of 3

Re: clearifing something up with sprites

Posted: Fri Jan 16, 2009 2:03 pm
by Tomdev
ok first i changed the code to work with 16x16 sprites 256 colors. no difference with your plan Sylus :| ,

the grit rule is this:

Code: Select all

# Set the warning/log level to 3
-W3

# Tell grit to include a palette (the first index in it will be transparent)
-p

# Tile the image
-gt

# Set the bit depth to 4 (16 colors)
-gB4
and i'm using an png image 256 colors 16x16 but i'm always getting that black screen

Re: clearifing something up with sprites

Posted: Fri Jan 16, 2009 2:43 pm
by afireohno
You forgot to

Code: Select all

oamUpdate(&oamMain);

Re: clearifing something up with sprites

Posted: Fri Jan 16, 2009 4:13 pm
by Tomdev
really really ^ 100 thanks to you all. this was exactly what i needed and it works! :mrgreen: