Page 1 of 1

Sprite ressource max size

Posted: Sun Nov 23, 2014 3:35 pm
by pckid
Hello

i would like to know , what is the max size of the sprite ressource PNG ? in pixel please.

I make a lot of test and i found a sprite in sprite database 680px x 1272px
with a large animate sprite.

And if you explain me this line : what 6 , 6 -1 5 is it ? px ? 8 x6 ?

SPRITE sonic_sprite "sonic.png" 6 6 -1 5

thanks

Posted: Sun Nov 23, 2014 6:23 pm
by Stef
I replied on the other forum ;)
You can find infos about the SPRITE resource definition in the rescomp.txt file (bin folder of SGDK).

Posted: Sun Nov 23, 2014 6:48 pm
by pckid
Yes thanks

just for the other guy, it' accept only multiple 8x for the width and the height.

I think it's load a big size.