gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > ...big problem...sprite data

#40284 - ghost Leinad - Sun Apr 17, 2005 1:26 am

ok..i have one problem...(yes i know, another one)

i can't add more data for new sprites!!!!

my data for the sprites is gettin' bigger, but now when i add (just add, i dont even use that data in my code) more data and compile my screen goes black, or the other sprites seems like garbage...

but i repeat..i dont even use that data in my code!!!!

my ROM size is 200 kb actually
i have differents headers for diferents kind of sprites...(maybe ten at this time)..should i use just one big header???

ahhh...and just a few days ago I found a problem...when i compiled my code, the sprite for the food went all wrong and i solve this changing the data from one header to another...

really, why is this???
thanks!

#40291 - tepples - Sun Apr 17, 2005 2:42 am

Are you making sure to label your sprite cel data as const and properly aligned?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#40360 - ghost Leinad - Sun Apr 17, 2005 11:30 pm

my mistake, the code was right, the headers was right, the conversion tool was wrong...

thanks