2D Toolkit Forum

2D Toolkit => Support => Topic started by: Babaganoosh on February 01, 2014, 07:50:19 am

Title: Automatic Sprite Sheet Downsizing Possible?
Post by: Babaganoosh on February 01, 2014, 07:50:19 am
Hi Dinesh,

I've been trying to improve my graphic importing workflow, and was wondering if there's any way to just have a @4x image and turn it into a @2x + @1x spritesheet automatically? Right now I export @4x graphics from Flash/Photoshop, find the files and run them through a downsizing program, import them to Unity, and wait ~30 seconds for a big spritesheet to rebuild. It would be great if I could find a way to cut out a step, or otherwise make going from Photoshop -> Unity as simple as possible. All the ~2 second, ~10 second, ~30 second workflow delays, really add up. Thanks!
Title: Re: Automatic Sprite Sheet Downsizing Possible?
Post by: unikronsoftware on February 01, 2014, 02:42:52 pm
There isn't a way to automatically downsize - we'd have to reimplement downscaling algorithms (bilinear looks terrible most of the time). There is an internal feature that can be enabled in theory, but it isn't enabled. You can try the scaling feature in tk2d to see if it produces good enough results for you - it can be enabled for platform collections with a little bit of work.