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 > Sprites ?

#12780 - thorgull - Wed Nov 26, 2003 11:35 am

just a small question ? is there sprites in all modes ?

I ask this because I can't display sprites in MODE_4... and I want to know if it is possible or must I give up ? (before spend time to try to understand why it doesn't work)

#12784 - NoMis - Wed Nov 26, 2003 1:00 pm

there are sprites in all modes. but in bitmap modes the sprite character memory is cut in a half. so you can only use sprites with indexes above 512

NoMis

#12785 - thorgull - Wed Nov 26, 2003 2:35 pm

Ho damn Sh*t...

I made it ... but I use an offset of 0x4000 ... and 512x16 = 0x2000 !!!
(0x4000 bytes but we work in u16 :-( )

sorry for that dumb question :-s.

thanks for the fast reply.