1
Support / Re: get a sprite's dimensions without use it on scene
« on: June 06, 2012, 02:38:22 pm »
thx, I achieved that.
a minor thing from Reference:
int tk2dSpriteCollectionData.GetSpriteIdByName(string name)
Resolves a sprite name and returns a unique id for the sprite.
Returns:
Unique Sprite Id. 0 if sprite isn't found.
I got 0 for my first sprite, 1 for 2nd sprite.
No diff between the 1st sprite id and not found. Maybe -1 would be better result for not found.
a minor thing from Reference:
int tk2dSpriteCollectionData.GetSpriteIdByName(string name)
Resolves a sprite name and returns a unique id for the sprite.
Returns:
Unique Sprite Id. 0 if sprite isn't found.
I got 0 for my first sprite, 1 for 2nd sprite.
No diff between the 1st sprite id and not found. Maybe -1 would be better result for not found.
