Hello Guest

Author Topic: Removing deleted Sprites from Paint Palette?  (Read 3223 times)

esdot

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 30
    • View Profile
Removing deleted Sprites from Paint Palette?
« on: August 15, 2014, 03:36:27 pm »
Originally we stuffed all the sprites in one collection, then decide to break them out. But now, my original tileset is a bit broken in the Tilemap Editor:
http://cl.ly/image/2O0l2H1i2x0T

It has about 40+ empty tiles, and I can't figure out any way to remove them. I'd just destroy and re-create, but we have built a few maps with this set already.

When I highlight the Data object for the SpriteCollection, you can see a ton of empty array elements are included:
http://cl.ly/image/1S1g0a220D0W

Any way to trim these?
« Last Edit: August 15, 2014, 03:39:03 pm by esdot »

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Removing deleted Sprites from Paint Palette?
« Reply #1 on: August 16, 2014, 11:59:08 am »
You can't remove them as the IDs are being maintained so existing data still works. Look into the scratchpad feature, you can paint a new palette in there and use that in place of the built in palette, You can create as many of these as you need.