clearifing something up with sprites [SOLVED!]

Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

Re: clearifing something up with sprites

Post by Tomdev » Fri Jan 16, 2009 2:03 pm

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

afireohno
Posts: 6
Joined: Thu Jan 01, 2009 9:37 pm

Re: clearifing something up with sprites

Post by afireohno » Fri Jan 16, 2009 2:43 pm

You forgot to

Code: Select all

oamUpdate(&oamMain);

Tomdev
Posts: 82
Joined: Thu Jan 08, 2009 9:15 pm

Re: clearifing something up with sprites

Post by Tomdev » Fri Jan 16, 2009 4:13 pm

really really ^ 100 thanks to you all. this was exactly what i needed and it works! :mrgreen:

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests