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.

Graphics > Sprites looking weird

#3951 - mhristov - Thu Mar 13, 2003 5:33 pm

I'm a complete newbie at GBA programming, so you have to excuse my inexperience. When I try to display a sprite, it looks like the graphics on the NES when the game is messed up and you have to blow in it and put it back in the system. Its just all really messed up. I tried using different graphics conversion tools, and a whole ton of diff. dimensions and formats for the actual graphics file. Anyone have any idea what could be wrong?
_________________
-=Playing God=-

#3954 - Daikath - Thu Mar 13, 2003 5:56 pm

Could you make a screenshot? They are easily made and you can upload the pic at www.boomspeed.com
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?

#3956 - mhristov - Thu Mar 13, 2003 6:09 pm

Screenshot 1
Screenshot 2

All the samples for tutorials that I've tried work fine.
_________________
-=Playing God=-

#3957 - Lord Graga - Thu Mar 13, 2003 6:42 pm

Look in this thread!
That thread should be made sticky...

#3958 - mhristov - Thu Mar 13, 2003 7:43 pm

Yea, I've seen it already. Didn't help much. I'll keep trying, though... Thanks
_________________
-=Playing God=-

#3961 - Saj - Thu Mar 13, 2003 8:37 pm

Hi,

The possibilities are (one or more of the following) :-

1. Your graphics file is broke. what type is it? can you upload it somewhere?

2. Your code has an error in it. post it here, so somebody can take a look at it for you (maybe not because you tried tutorial samples but worth a try).

3. The sprite isn't being converted into a .h file properly.
post the code for the .h file here.

4. You don't have a computer and you are trying to compile it in the blender in your kitchen. ( only joking! :) ).

Anyways, wish you the best of luck.

#3966 - mhristov - Thu Mar 13, 2003 9:18 pm

Alright, well, its all working now... I have no idea how or why its all working now, but it is. Thanks for the help, anyway...
_________________
-=Playing God=-