Hello Guest

Author Topic: 2D Toolkit 2.4.0  (Read 52055 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
2D Toolkit 2.4.0
« on: March 15, 2014, 03:57:08 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.4


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

What's new
  • 2D raycast option on tk2dUICamera.
  • Custom / Advanced collider shape support. Docs here
  • Sprite data unloader enabled by default - should stop / greatly reduce memory leak in editor with png textures
  • New UI demo - dynamic list. Shows how a VERY large list of items can be implemented using 2D Toolkit UI. The demo easily handles 100K+ entries, can cope with more if data is streamed in dynamically.

Changed from previous 2.4 betas
  • Data driven collections is has been removed from 2.4 final and will be posted on the forum / maybe GitHub separately later. Its unlikely to have enough work done on it to support everything everyone will want, but perhaps could do better with more active user contributions.

Bug fixes and improvements
  • Much more robust PNG and platform texture / material unloading in the editor.
  • Apply() png textures to save a load of memory
  • Sorting layer fix to work around Unity returning "" when it means "Default"
  • Regex to grab fonts with spaces in name
  • Names for advanced colliders
  • Sorting layer on static sprite batcher
  • tk2dCamera now works with split screen. Using normalized device coordinates to change viewport will maintain pixel perfection unless told otherwise.
  • Separate X and Y tiling option for sprites
  • Fixed sprite resizing with negative scales
  • Added workaround for Unity bug in 2D mode where textures were reimported incorrectly (streaked alpha regions in demo scenes).
  • Fixed png atlases in tilemap editor
  • Fixed tk2dTileMap.GetTileFracAtPosition returning out of bounds values
  • Fixed tk2dSpriteAnimator ping pong mode

« Last Edit: March 16, 2014, 09:42:42 pm by unikronsoftware »

Kurius

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #1 on: March 16, 2014, 03:08:49 am »
Thank you!!!

Amon

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 8
  • Everything is made of the same thing! Energy!
    • View Profile
    • Amon.co
Re: 2D Toolkit 2.4.0
« Reply #2 on: March 16, 2014, 06:06:45 am »
Thanks! Your continued work on this is appreciated.
http://www.amon.co - Amon Interactive Ltd | Dev Tools - Unity 4 Pro - 2D Toolkit - RealStudio 2012 r2 - Monkey - Modo 601 SP4 - Photoshop CS6 - 3D Coat - My Brain!

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 2.4.0
« Reply #3 on: March 16, 2014, 04:09:29 pm »
Nice!
We are an Indie videogame developer located in Teruel, Spain. A small 6-people team which is currently working on the upcoming 'Candle'.

MrMacguffin

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #4 on: March 16, 2014, 04:50:33 pm »
Thanks!

Quick note - I think the migration guide for the 2.0 and up release is now broken?

DNSavar

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #5 on: March 16, 2014, 09:09:50 pm »
MrMacguffin is right, the link is broken...

Anyway, nice job for this new release!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #6 on: March 16, 2014, 09:43:47 pm »
Thanks for letting me know - link fixed now. I'd accidentally deleted the documentation archive for previous versions and this was still pointing to the docs for 2.3... I'll have to regenerate the old docs again soon.

AbsurdInteractive

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #7 on: March 17, 2014, 07:39:06 pm »
Was just wondering how the 2D Raycast option works for the UI? Or when would we want to do the 2D raycast instead of 3D?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #8 on: March 17, 2014, 09:15:39 pm »
You probably won't ;) Its for the people who want to use it for some reason and really don't want to use 3D Colliders. All the built in prefabs still use 3d colliders.

AbsurdInteractive

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #9 on: March 17, 2014, 09:29:18 pm »
My guess would be that it would save processing time to use the 2D raycasting? Or not necessarily?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: 2D Toolkit 2.4.0
« Reply #10 on: March 17, 2014, 09:34:13 pm »
If its an UI, and only one ray cast occurs per click which is hardly going to be a major issue.

AurayStudios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Auray Studios
Re: 2D Toolkit 2.4.0
« Reply #11 on: March 17, 2014, 10:17:13 pm »
This is great! Thank you!
Auray Studios: We create fun, engaging experiences that help groups grow together through social interaction.

Check out our latest work at www.auraystudios.com

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 2.4.0
« Reply #12 on: March 18, 2014, 06:38:58 pm »
And Unity 5 was just announced! With some interesting 2D new features (like built-in one-sided platforms). Check it out here:

http://unity3d.com/5

They made a video showing off what's new (like a decent GUI system, a 64-bit Editor, an audio management tool, PhysX update to v3.3...):

http://www.youtube.com/watch?v=tSfakMeW0lw
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.4.0
« Reply #13 on: March 18, 2014, 06:47:40 pm »
Hooray for a 64 bit editor.
Its about time.

TekuStudios

  • 2D Toolkit
  • Full Member
  • *
  • Posts: 177
    • View Profile
    • Teku Studios
Re: 2D Toolkit 2.4.0
« Reply #14 on: March 18, 2014, 06:51:17 pm »
Indeed. So looking forward to that sexy 64-bit Editor. And both the Audio tool and the PhysX 3.3 upgrade have me super excited. Also, having a decent GUI system will make things much easier for you with 2DT.
We are an Indie videogame developer located in Teruel, Spain. A small 6-people team which is currently working on the upcoming 'Candle'.