GLBasic forum

Main forum => Bug Reports => Topic started by: MrPlow on 2014-Apr-25

Title: Drawanim issue
Post by: MrPlow on 2014-Apr-25
Hi

Drawanim and z_drawanim (project z) dont work for me when using 128x128 sprite frame for an explosion...
the PC version works but on android it kind of jerkily shows the animation as if it is half-shifting

2nd half of 1st frame then 1st half 2nd frame...etc

Any ideas?

Title: Re: Drawanim issue
Post by: Schranz0r on 2014-Apr-25
sounds like a bug, i move to the Bugthread
Title: Re: Drawanim issue
Post by: MrPlow on 2014-Apr-26
Okay, thanks
Smaller sprite sheets seems fine this sheet is quite large with over 20 frames of 128*128
Title: Re: Drawanim issue
Post by: spacefractal on 2014-Apr-26
Some Android devices have a 2048x2048 pixels texture limit size.

If you uses higher than that that, and you are not checking by that before loading, then you will see that issue. This is limit by the GPU used, and cannot been fixed by Gernot.

Im thinks you uses a 2560x128 image, but you should thinks to change it to uses a 768x512 image instead to fix the issue.

Example OUYA have a 2048x2048 texture limit (which is for the whole image), while GAMESTICK supported 4096x4096 texture as max.

Also some devices refuse to load the image, if they are too small too, here im thinks 64px is mimimum or around that.
Title: Re: Drawanim issue
Post by: MrPlow on 2014-May-07
Thanks!
I will try with the sprite sheet reduced...