2D Toolkit Forum

2D Toolkit => Support => Topic started by: justinISO on November 04, 2013, 06:14:20 pm

Title: Spritesheet custom locations
Post by: justinISO on November 04, 2013, 06:14:20 pm
So is there a way to set custom x,y,width,height for a sprite location on a sprite sheet. I see how to use a sprite sheet that has perfectly tiled sprites but most sheets do not. Has this been addressed/is it possible in the 2DToolkit?

Thanks,
Justin
Title: Re: Spritesheet custom locations
Post by: unikronsoftware on November 05, 2013, 11:32:44 am
No there isn't. You can build your own sprite collections using the runtime sprite collections feature, if you wish to have full control over positioning in atlases. Sample #13 shows how you can load sprite collections at runtime using your own atlases.