2D Toolkit Forum

2D Toolkit => Support => Topic started by: krizzik on May 28, 2014, 05:53:15 pm

Title: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: krizzik on May 28, 2014, 05:53:15 pm
Hi,

I've tried several searches of the forums here to find an answer to my issue, and I can only find one terse response from Unikron Software from sometime in March of this year(SEE HERE (http://2dtoolkit.com/forum/index.php/topic,3727.msg17850.html?PHPSESSID=060533a2560a02ec3d9e6f2ad0901c14#msg17850)). I just purchased 2Dtoolkit today (as of this post's timestamp) based on the reported compatibility with 4.3's sprite system, and I never saw mention of Unity 4.3 sprite sheets not being supported until the single forum posting I found. so my questions are:


Hopefully, I could get an answer to one or both of these questions before I start going through the process of rebuilding my spritesheets with the 2DTK utility from scratch (I'd have over 1000+ sprites to label and align). Thanks in advance
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: unikronsoftware on May 29, 2014, 11:10:32 am
No it isn't possible to use Unity spritesheets, and TexturePacker import is only supported at runtime. However you can write a little bit of code to save a texture packer imported spritesheet as a tk2dSpriteCollection that you can then use in the animation system. This thread goes into a little detail -http://2dtoolkit.com/forum/index.php/topic,1636.0.html
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: krizzik on May 29, 2014, 02:15:30 pm
Thank you very much, this will definitely help things along here on my end. I'll look into the post you've cited. Are there any future plans to incorporate Unity's 2D sprite framework into the 2D toolkit pipeline? If so, will current tk sprite collections continue to work if the framework is changed? I ask this because, ultimately, I don't want to have to go through what I'm doing now (rework my assets to fit a backend/middleware solution rather than the other way around).
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: unikronsoftware on May 29, 2014, 02:25:20 pm
I did have plans to integrate tighter with the unity 2d system. However, the system itself didn't expose the required functionality in unity 4.3, and I haven't had the time to see if thats changed in 4.5.
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: krizzik on May 29, 2014, 03:13:12 pm
I see, well that is something; thank you for the quick answers. I suppose the last question would be the most obvious one: is the current iteration of 2DTK going to be compatible with the upcoming Unity5? Or will this require a separate/new 2DTK license purchase given that it's a major and not a minor release change?
Title: Re: changing camera resolution during run time
Post by: unikronsoftware on May 30, 2014, 12:00:46 pm
The same license will work on 5.0
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: Evil-Dog on July 08, 2014, 11:52:25 pm
Do you think unity 5, being 64-bit, will be able to compute much bigger atlases without crashing? I have a lot of problems with big collections right now.
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: unikronsoftware on July 09, 2014, 12:03:55 am
I haven't used Unity 5 yet, but if its 64 bit it should be able to use all the RAM you have in your system before crashing. The 32 bit version is limited to 3+ GB.
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: Evil-Dog on July 09, 2014, 12:14:03 am
Yeah that's what I thought, just wanted some confirmation :D
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: unikronsoftware on July 09, 2014, 10:51:04 am
Just to be clear, I'm not confirming anything :) There might still be limitations in Unity regarding memory use.... Your guess is as good as mine here
Title: Re: Unity 4.3 2D Sprite Sheet/TexturePacker atlases to 2DToolkit SprteCollection?
Post by: Evil-Dog on July 09, 2014, 03:27:00 pm
No no you're just assured me it will work 100% lol just kidding :D