2D Toolkit Forum

2D Toolkit => Support => Topic started by: markpollard on September 04, 2012, 03:43:08 pm

Title: SpriteID
Post by: markpollard on September 04, 2012, 03:43:08 pm
Hi, after i make my sprite collection is there a way to edit the sprites ID number manually?

Title: Re: SpriteID
Post by: unikronsoftware on September 04, 2012, 05:55:37 pm
There isn't, and this is intentional. The IDs are meant to be constant - the rest of the system assumes that. Is there any reason in particular you need to do this?
Title: Re: SpriteID
Post by: markpollard on September 04, 2012, 07:26:39 pm
Its ok i have found a way around it. Would be nice to rearrange the ids on build atlas again though. so you dont have stray ids.
Title: Re: SpriteID
Post by: unikronsoftware on September 04, 2012, 07:37:41 pm
Do you use the IDs for anything in particular? Rearranging IDs means animations, tilemap tiles, etc will be incorrect, and some of these live within scenes so it will be impossible to match up again.