I'm trying to use the SGDK sprite engine to display large sprites and ran into the problem that some of the hardware sprites are not shown correctly. This could be related to viewtopic.php?f=19&t=2873. But of course it's perfectly possible that I'm doing it wrong.
I made a test program that draws a 288x64 pixel sprite. With SGDK 1.34 the result looks like this:
With the latest SGDK master from GitHub it gets a bit better, but there still seem to be two 32x32 sprites missing:
The source of the test program is attached below.
Flags for SPR_addSpriteEx() that I'm using are SPR_FLAG_AUTO_VISIBILITY | SPR_FLAG_AUTO_SPRITE_ALLOC | SPR_FLAG_AUTO_TILE_UPLOAD. I played with other combinations but had no luck.
I also tried to use only the VDP_ sprite functions to generate a big sprite out of hardware sprites manually, and that seemed to work. So in case it's an SGDK bug, it lies probably not within the VDP code.
Any ideas what could be the problem? Thanks in advance for having a look!
SGDK only sub forum
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest