Sprite ressource max size

SGDK only sub forum

Moderator: Stef

Post Reply
pckid
Newbie
Posts: 5
Joined: Sat Mar 01, 2014 8:14 pm

Sprite ressource max size

Post 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
========================
I like develop some games
========================
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post 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).
pckid
Newbie
Posts: 5
Joined: Sat Mar 01, 2014 8:14 pm

Post 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.
========================
I like develop some games
========================
Post Reply