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 > sprite issue on hardware

#47518 - KMcG - Sun Jul 10, 2005 6:26 am

Ok, I have simple pong program in mode 4 that works fine on emulators, but on hardware my ball 8x8 sprite doesn't show up. all of my graphics are declaired const and the ball is in the middle of my sprite array. the sprite uses tile 528.

i am using an EFA linker 256 cart and have tested it on the gba and ds both with and without using the loader.

If anyone has any ideas why this might happen, I am stumped. for now i just used a diffrent graphic but would like to get it working as intended. Any help/advice would make this noobie very happy.

#47565 - Miked0801 - Sun Jul 10, 2005 10:51 pm

Which emulators are you using? Have you tried others?

#47572 - KMcG - Sun Jul 10, 2005 11:24 pm

Thanks for the reply.

I have tried in no$gba and VBA and both worked fine. The VBA tools have allowed me to confirm that things should be working as i intended them to.
I would post my code online, but i cant ftp into my school webspace because im not enrolled in summer classes.

is there a chance there could be something wrong with my cart?

#48321 - KMcG - Tue Jul 19, 2005 2:49 am

Problem solved.

The const arrays for all of my graphics for some reason was what actually the problem...could anyone tell me why though? I thought you had more memory to work with if you used const??

if anyone could explain this one to me that would be awesome.