Drawanim issue

Previous topic - Next topic

MrPlow

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?

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Schranz0r

sounds like a bug, i move to the Bugthread
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

MrPlow

Okay, thanks
Smaller sprite sheets seems fine this sheet is quite large with over 20 frames of 128*128
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

#3
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.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/

MrPlow

Thanks!
I will try with the sprite sheet reduced...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs