Hello Guest

Author Topic: SpriteID  (Read 4511 times)

markpollard

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
SpriteID
« 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?


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: SpriteID
« Reply #1 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?

markpollard

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: SpriteID
« Reply #2 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: SpriteID
« Reply #3 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.