2D Toolkit Forum

2D Toolkit => Support => Topic started by: esdot on August 15, 2014, 03:36:27 pm

Title: Removing deleted Sprites from Paint Palette?
Post by: esdot 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?
Title: Re: Removing deleted Sprites from Paint Palette?
Post by: unikronsoftware 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.