2D Toolkit Forum

2D Toolkit => Releases => Topic started by: unikronsoftware on July 15, 2013, 06:51:15 pm

Title: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 15, 2013, 06:51:15 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.10/migration_guide.html

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

NOTE: Documentation hasn't been updated for the new features in 2.1 yet, it is currently being completed, as is the whack-a-mole game tutorial.

What's new

Bug fixes and improvements
Title: Re: 2D Toolkit 2.1 beta 2
Post by: Mikael1987 on July 15, 2013, 07:08:33 pm
Thank you!,I can't say enough how happy I am to have bought this :)
Title: Re: 2D Toolkit 2.1 beta 2
Post by: armitage1982 on July 15, 2013, 08:57:26 pm
Thanks for the new demos.
I think the most = the better.
Everything is working on my version 4.1.2f1 :)
Title: Re: 2D Toolkit 2.1 beta 2
Post by: fsadeq on July 15, 2013, 10:08:31 pm
If we have 2.1 beta 1 already, do you recommend deleting tk2d from our projects before importing, or can we just import and overwrite? Thanks.
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 15, 2013, 11:00:59 pm
If we have 2.1 beta 1 already, do you recommend deleting tk2d from our projects before importing, or can we just import and overwrite? Thanks.

Import and overwrite should be fine. Backup first though :)
Title: Re: 2D Toolkit 2.1 beta 2
Post by: Goepfie on July 17, 2013, 09:22:45 am
The new Feature of beta 1,

  • Sprite collection builder - duplicate textures are now removed, textures are compared by a contents hash.

just saved me at least two days of work. I don't know how you do it, but this must be 3rd or 4th feature that got implemented just in time as we needed it for our project. Just wanted to say thanks for the great work!
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 17, 2013, 06:57:37 pm
The new Feature of beta 1,

  • Sprite collection builder - duplicate textures are now removed, textures are compared by a contents hash.

just saved me at least two days of work. I don't know how you do it, but this must be 3rd or 4th feature that got implemented just in time as we needed it for our project. Just wanted to say thanks for the great work!

You're welcome. We love working on this and support from people like yourselves lets us do more of what we genuinely love = everyone wins! Thanks for the support.
Title: Re: 2D Toolkit 2.1 beta 2
Post by: hippocoder on July 18, 2013, 12:58:48 am
Hi,

How can we get hold of the latest betas? Just bought this wonderful middleware today. I have a lot of questions I'd love to ask you before I begin - we know exactly what we are doing with it, but need to know what features of 2DToolkit we should be leaning on :)

Thanks for making (and caring) about 2D Toolkit.
Title: Re: 2D Toolkit 2.1 beta 2
Post by: Codexer on July 18, 2013, 02:10:33 am
Getting this error when trying to install this unity package, mind you I tried it with an existing project and a completely blank canvas:

(http://i.imgur.com/IJCvSqB.png)

Am I doing something wrong?
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 18, 2013, 11:07:18 am
@Codexer - I've not seen that before.Can you try in a new project to make sure your download is working properly? If you can reproduce this error I suggest reporting it to Unity.

Also, what version of Unity did you import into?
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 18, 2013, 11:07:49 am
Hi,

How can we get hold of the latest betas? Just bought this wonderful middleware today. I have a lot of questions I'd love to ask you before I begin - we know exactly what we are doing with it, but need to know what features of 2DToolkit we should be leaning on :)

Thanks for making (and caring) about 2D Toolkit.

I've approved your account now, you should be able to download it from here.
Title: Re: 2D Toolkit 2.1 beta 2
Post by: jacky on July 18, 2013, 06:46:42 pm
I think I found a bug in the new version. I am not sure if this is where I should report it or not.

When I move a sprite in my project, it does not clear the previous images in the game view. Basically, it acts as if I have clear flags set to "don't clear". When I hit play it refreshes and clears the old images.

Thanks!
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 18, 2013, 07:05:26 pm
@jacky - Do you use tk2dCamera? Did you get a "upgrading tk2dCamera" message when updating?
Also what is the setting on the camera itself?
Title: Re: 2D Toolkit 2.1 beta 2
Post by: TekuStudios on July 19, 2013, 04:52:12 pm
Hi unikron,

Do you have any plans to somehow change the collection selector (dropdown list in Inspector)? We have literally hundres of collections and it's getting insane everytime we create a new sprite and select its collection, the dropdown list is huge.

Also, We've noticed something. It's not really a bug, and maybe you've already fixed it, but in the sprite editor, when setting its collider (Polygon), there's some annoying thing. if we select one vertex and hit T, it disconnects and becomes a plane-ish collider. Then, if we select a vertex and hit F to flip its normals, the opposite vertex positions itself over the cursor (over the selected vertex). It's really annoying because then we need to reposition that vertex again.

That's all, thanks!
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 19, 2013, 07:08:33 pm
@TekuStudios - No plans to change the collection selector, but in 2.1, you can find the sprite collection / data object in the project window and drag it over the dropdown to assign it. Would that work for you?

I couldn't reproduce the second thing, though. I'll try again on a new sprite collection later.
Edit: No, still can't reproduce it. Please send me a few screenshots of whats happening so I'll know what to look for.
Title: Re: 2D Toolkit 2.1 beta 2
Post by: TekuStudios on July 20, 2013, 01:32:25 pm
Yeah, that would do.

We'll send the screenshots today if we can :)
Title: Re: 2D Toolkit 2.1 beta 2
Post by: TekuStudios on July 23, 2013, 01:01:40 pm
Ok, here you have our issue explained step by step:

(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1063;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1065;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1067;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1069;image)

It is very annoying when building large custom colliders. If I need to flip its normals after I've built the entire mesh it kind of breaks the workflow to have to reposition some vertices again. Not anything that makes our work impossible, though. Just pointing that out :)
Title: Re: 2D Toolkit 2.1 beta 2
Post by: jacky on July 23, 2013, 08:18:41 pm
Unikron,

Sorry it took me a while to respond. I had a deadline on another project. I started a new project with the 2.1 beta 2 and I am using the tk2dCamera with a tk2dSprite as well.

- jacky
Title: Re: 2D Toolkit 2.1 beta 2
Post by: unikronsoftware on July 24, 2013, 11:26:18 am
Ok, here you have our issue explained step by step:

(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1063;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1065;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1067;image)


(http://unikronsoftware.com/2dtoolkit/forum/index.php?action=dlattach;topic=2117.0;attach=1069;image)

It is very annoying when building large custom colliders. If I need to flip its normals after I've built the entire mesh it kind of breaks the workflow to have to reposition some vertices again. Not anything that makes our work impossible, though. Just pointing that out :)

Thanks for the explanation. The issue looks like it isn't deselecting the selected vertex after flipping and/or disconnecting - changing the order of the vertices means the selection will be invalid.

in tk2dSpriteCollectionEditorTextureView, line 205 onwards, in that switch statement, make sure wherever there is a
                        GUIUtility.keyboardControl = 0;
it is followed by
                        GUIUtility.hotControl = 0;

I've done that for the next beta/final
Title: Re: 2D Toolkit 2.1 beta 2
Post by: TekuStudios on July 24, 2013, 11:40:04 am
Nice