Hello Guest

Author Topic: 2D Toolkit 2.5 beta 2  (Read 21788 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
2D Toolkit 2.5 beta 2
« on: September 08, 2014, 05:19:30 pm »
Please read the migration guide before updating. 2D Toolkit 2.x is not API compatible with 1.x.
http://unikronsoftware.com/2dtoolkit/docs/2.4/migration_guide.html

Documentation available at:
http://unikronsoftware.com/2dtoolkit/docs/2.5


Be sure to run "Setup for JavaScript" after importing if you're using JavaScript/UnityScript or Boo.

What's new
  • Linked sprite collections - allows creating parallel atlases for normal maps, etc. that match the layout of the base atlas. Docs here
  • Basic post build sprite collection callback, tk2dSpriteCollectionBuilder.OnPostBuildSpriteCollection to be notified when a sprite collection is built. More options will be available in the next beta.
  • Updated to work with Unity 4.6 and 5.0 beta (Hierarchy "Create" menu moved into "2D Objects")
  • Exported with Unity 4.5.3. Previous Unity versions are not officially supported but all 4.x should work, we will fix issues if they arise. 3.x versions are no longer supported.

Bug fixes and improvements
  • Fixed bug with tk2dUITextInput when with platform specific fonts.
  • Dont complain about null fonts that dont need material instances.
  • tk2dTextMesh can now be resized in the viewport when word wrap is enabled.
  • MarkDynamic on dynamic meshes
  • Fixed allocation in tk2dSpriteAttachPoint
  • Unity free skin bugfix
  • Confirmation before Setup for JS
  • Scrollablearea divide by zero
  • iOS workaround for Unity bug
  • Fixed a null reference error going from lit to unlit materials
« Last Edit: September 08, 2014, 05:35:47 pm by unikronsoftware »

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 2.5 beta 2
« Reply #1 on: September 08, 2014, 06:38:59 pm »
What was exactly the attach point bug? We use them intensely and, although we haven't experienced any issues so far, it would be nice to know what this update fixes.

Do you recommend to upgrade to this latest version once it's a stable release, or should we stick to the previous one (v2.4) since we will keep using Unity 4.3.3? We do not use tk2d UI features, which seems to be the main focus of this new ver.
« Last Edit: September 08, 2014, 06:43:55 pm by TekuStudios »
We are an Indie videogame developer located in Teruel, Spain. A small 6-people team which is currently working on the upcoming 'Candle'.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #2 on: September 08, 2014, 06:46:36 pm »
Stick with what works :)

The attach point stuff patch is safe to update in isolation. (tk2dSpriteAttachPoint.cs)  It removes a gc allocation in there, its a small alloc so it may not be a problem for you.

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 2.5 beta 2
« Reply #3 on: September 08, 2014, 06:47:46 pm »
Will stick with current stable ver. then.

Thanks!
« Last Edit: September 08, 2014, 07:09:37 pm by TekuStudios »
We are an Indie videogame developer located in Teruel, Spain. A small 6-people team which is currently working on the upcoming 'Candle'.

Pformadisa

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #4 on: October 14, 2014, 10:43:43 am »
We will try to follow it.

collectivemass

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #5 on: October 22, 2014, 08:47:24 pm »
"iOS workaround for Unity bug" Would you mind elaborating on this one please?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #6 on: October 29, 2014, 03:55:51 pm »
It was a workaround for tk2dUI text input where Unity behaved differently on iOS compared to all other platforms.

CEngmann

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #7 on: December 25, 2014, 01:10:37 pm »
How I can go about implementing this 'tk2dTextMesh can now be resized in the viewport when word wrap is enabled' feature?
I have a conversation box that displays the assigned text one character at a time (typewriter effect) yet it always seems to overlap and exceed the bounds of the box, how can I resize the text so it SHRINKS when its exceeded the box's bounds?

achooley

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #8 on: January 11, 2015, 01:31:42 pm »
Hi. I was started by Unity3d 5 beta and see this
"Non-convex MeshColliders with non-kinematic Rigidbodies are no longer supported in Unity 5.0."

Finnegan

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: 2D Toolkit 2.5 beta 2
« Reply #9 on: February 09, 2015, 02:07:14 pm »
Could you please add "Uncompressed_NoAlpha" for Sprite collection?

Hunting for accidental semi-transparent pixels is tedious, so I added this option to tk2d sources. Still will be great to have it "natively".

Thank you!