Hello Guest

Author Topic: 2D Toolkit 1.80 + patch 3  (Read 6842 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
    • View Profile
2D Toolkit 1.80 + patch 3
« on: November 16, 2012, 10:00:26 pm »
Some bugfixes

Features and changelist. Changes in this update in italics.
Unity 3.5 and above only
Renamed collider types (ForceNone instead of None, UserDefined instead of Unset). Makes a lot more sense.
All mesh leaks plugged, hopefully.
Sprite collection settings page tidied up, added a lot more texture options.
Massive memory saving with large animations (there was a constant overhead, which is now fixed).
New tk2dSystem feature, manages platforms and resources.
Sprite collection can be made loadable - this uses the tk2dSystem resource loading feature, and doesn't need files moved to different locations. The sprite collection can also be loaded by GUID at runtime.
Sprite collections are sorted by name in inspector
Internal data upgrade, slowly moving away from legacy cruft (hopefully still backwards compatible). A message is printed out when sprite collections are upgraded.
Animated sprite bugfix, calling play from an event works.
Runtime sprite collection stuff integrated, use tk2dSprite.CreateFromTexture or tk2dSpriteCollectionData.CreateFromTexture
Switch platfroms in editor in the preferences page. Sprite collections and fonts which have platform data will switch when this is changed.
Sprite collections don't use mipmaps by default.
And loads more small fixes
Unity 4 fixes. Should now work properly with no warnings.
Auto build fixed, and also work for sprite collections with platform specific data. Only the affected sprite collection is rebuilt.
Formatted text implementation, now as it should be. This isn't 100% compatible with the previous version if text is entered in the interface, line breaks may be incorrect, but should be 100% compatible if updated using code.
Fonts in sprite collections try to pick up texture name from bmfont file
Font builder works correctly without requiring renamed textures - it automatically picks up the correct file from the bmfont
Materials are shared properly between sprite collections and fonts, batching should work as expected.
Platform data requirement code should be a lot more stable under weird conditions imposed by Unitys unpredictable script execution order
Fonts switch correctly when changing platform
Material overrides work, but need to be set up in the interface (i.e. new ones will work with platforms)
Fonts in sprite collections can be set up to use overriden materials
Support for gradients for fonts in sprite collection - needs a bit of manual set-up, but works
Rebuilding index will rebuild the tk2dSystem object - none of the resources should be checked in to version control
OrthoSize/texelSize set up properly for text meshes
Tilemaps work, but inefficient when switching platforms - it is vastly more efficient for now to switch platform in editor, load original scene and save scene as @2x, etc, and load the appropriate scene at runtime. Simply loading and saving in editor is sufficient.
Custom sprite geometry & custom colliders work properly.
Platforms are limited to 1x, 2x and 4x for now. More extensive customization will be available in the next release.
tk2dIndex.cs works better when upgrading from an old version
Animation editor bug, wasn't working correctly with sprite collections with platform data
Fixed tk2dSlicedSprite not working when in a prefab
tk2dBaseSprite.GetCurrentSpriteDef wasn't initializing the sprite collection instance correctly
Anchors in platform specific sprite collections were scaled incorrectly
tk2dCamera - added StretchToFit (will stretch to fit the entire screen, regardless of aspect ratio)
Refresh asset database before building - might fix orphaned font issue
Corrected offsets for font embedded in sprite collection
Vertically flipped (hiero) fonts work properly when in sprite collection
tk2dSprite functions work before being Awaked - still best practice not to call tk2dSprite functions from Awake in other scripts
TileMap Editor - right click picks up tiles
Overriding currentPlatform bugfix, now works as expected in editor
Animated sprite now has an overload to play at a different framerate to the animation
Animated sprite has a ClipFps property which can be used to change the fps while the clip is playing
tk2dCamera far clip plane fixed
Added kea's fix (kept same version number, as it hasn't been released on asset store yet, and only a limited number of people have downloaded so far)
Build for game bug - missed wrapping with #if UNITY_EDITOR
Fixed material leak when running in game with platform specific sprite collections

nikolic

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 48
    • View Profile
Re: 2D Toolkit 1.80 + patch 3
« Reply #1 on: December 05, 2012, 09:22:29 pm »
I haven't updated 2D Toolkit recently. I'm still using 1.76 final + patch 3.

In the Asset Store there is a note: Needs Unity upgrade to version 3.5.6.

Is there any 3.5.6 specific Unity feature/improvement you're using in the latest 2D Toolkit version?
Does this mean I shouldn't use the latest toolkit version as I'm still using Unity 3.5.3f3?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9707
    • View Profile
Re: 2D Toolkit 1.80 + patch 3
« Reply #2 on: December 05, 2012, 09:30:08 pm »
It should be fine - it lists that version of Unity I used to submit with. Obviously, it hasn't been tested with 3.5.3 specifically, but it doesn't use any specific features. I'd back up everything before trying - and if you run into any issues, you know where you can find me :)

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 1.80 + patch 3
« Reply #3 on: December 13, 2012, 05:44:54 pm »
Hi! I just got 2DToolkit 1.8 for Unity 4 via the asset store. Does it come with the 3rd patch or should I download it from this site?

Thx!
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: 9707
    • View Profile
Re: 2D Toolkit 1.80 + patch 3
« Reply #4 on: December 13, 2012, 11:53:48 pm »
The one on the asset store is the same version - you can check version number by going to the "2D Toolkit > About" menu.