Hello Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
Support / Re: 2D Toolkit and Git
« Last post by unikronsoftware on December 14, 2017, 09:52:37 PM »
Hi,

Yes thats correct. The manual was never updated from the looks of it, sorry its fixed now. Resources/tk2d/* can be reconstructed but it should be checked in.

> Also, in the "After updating..." section of the Manual, is that referring to after updating the version of the 2D Toolkit asset, or after pulling any changes related to sprite collections, animations, etc.?
After updating refers to pull / merge (in git parlance) or or otherwise changing any sprite collection assets externally from unity.
2
Support / Re: 2D Toolkit and Git
« Last post by piscopo on December 13, 2017, 07:34:43 PM »
I should have been clearer.
Resources/tk2d.meta and Resources/tk2d/* should not be in the ignore file and should be checked in.
In theory, rebuilding the index should regenerate these, but I've not tested that since the feature was first implemented ages ago, so that may be what is causing your problem.

Try removing this from the ignores, and check these in, see if it works better.
Assets/-tk2d* is the only tk2d related thing that should be in the ignores.

Sorry for reviving an old post, but I just need something clarified. Is the above the most up-to-date rule in regards to handling 2D Toolkit in Git? For the past several projects we've been following what it says in the Manual on the 2D Toolkit website (http://2dtoolkit.com/docs/latest/advanced/version_control.html), so we've been excluding the Resources/tk2d/*. After coming across this post I'm now questioning the way we've been doing it this whole time. Is the Manual out of date as far as version control is considered?

Also, in the "After updating..." section of the Manual, is that referring to after updating the version of the 2D Toolkit asset, or after pulling any changes related to sprite collections, animations, etc.?
3
Releases / 2D Toolkit 2.5.8.8
« Last post by unikronsoftware on December 05, 2017, 11:24:49 PM »
Please read the migration guide before updating. 2D Toolkit 2.x is not API compatible with 1.x.
http://2dtoolkit.com/docs/2.4/migration_guide.html

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


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

What's new
  • Fixed compile issue in Unity 2017.2
  • Fixed sprite picker in Unity 2017
  • Added shader define to stop auto upgrade in > 5.6
  • More Unity 2017.1f3 compatibility fixes
  • Fixed up Unity 2017.1f3 warnings
  • Exported in Unity 5.6. Previous versions of Unity are no longer supported
  • Removed tk2dSkin.dll dependency. Dll has been emptied out for backwards compatibility
  • Lots of bug fixes and improvements
  • Added experimental support for polygon colliders in tilemap. In the tilemap edit page, Edit > Settings > Tile Properties > Use 2D Polygon Colliders to turn this mode on.

Bug fixes and improvements
  • Fixed tilemap editor and scratchpad on highdpi displays
  • Fixed half texel offset in tk2dCamera in new Unity
  • Fixed texture watcher bug on Windows
  • Fixed tilemap prefab instantiation bug
  • Fixed tk2dCamera rotation issue, added support for WSA
  • Fixed issue with some inspectors not saving changes correctly in Unity 5.3+
  • Inertial scrolling fix for scrollable area
  • Removed platform specific functionality for WebPlayer, WP8 and Flash
  • Fixed negative box collider warning
  • Fixed input field string doubling up on Android
  • Rudimentary physics stripping to remove dependencies to 2D and/or 3D physics
  • Fixed deprecation warnings for Unity 5.4 and 5.5
  • Fixed texel size when atlas texture is globally scaled 0.5x or 0.25x
  • Editor collider rebuilder script - Don't rebuild when sprites have "user defined" colliders set
  • Texture importer supports "Sprite" textures as input in Unity 5.5
4
Support / Sprite Effects/Shaders
« Last post by edb on December 05, 2017, 10:06:09 PM »
I'm researching what different effects are available to apply to a tk2d Sprite.
Stuff like outlining, glows, shaders, etc.

There’s some nifty looking shader tools on the Asset Store (Shader Weaver, Amplify.)
Does anybody know if these will work with 2D Toolkit? 

Thanks!
5
Support / Re: Bug fix for tk2dUIScrollableArea
« Last post by unikronsoftware on December 05, 2017, 06:13:35 PM »
Cheers for that, I shall test and merge in the next update.

Update: It seems to work well, included in tk2d 2.5.8.8. Thanks.
6
Support / Bug fix for tk2dUIScrollableArea
« Last post by zblack on November 24, 2017, 10:50:29 PM »
In the function BackgroundButtonRelease(), the following line should be added right after tk2dUIManager.Instance.OnInputUpdate -= BackgroundOverUpdate;

swipeCurrVelocity = 0;

Without it, child uiItems will get un-pressed by tk2dUIManager's OverrideClearAllChildrenPresses() if you try to click after scrolling.
7
Support / Re: sprite shimmering after upgrading from unity 4.7 to unity 2017
« Last post by unikronsoftware on November 24, 2017, 01:09:05 AM »
Hi,

This won't be an issue in iOS as far as I am aware. Its a d3d9 issue to be specific.
Its weird that you can still see issues with the version submitted here, it was 100% reproducible on mine and behaved as I expected it (I had / still have a test case that demonstrates this).

I will look in 2017.2 and see what it does in there...
8
Support / Re: sprite shimmering after upgrading from unity 4.7 to unity 2017
« Last post by nachobeard on November 22, 2017, 11:41:15 AM »
hello,  I just updated to the new version of 2d toolkit, here are my findings.

I've tried running from the editor and also the windows standalone player (unity 2017.2.0f3).  here are the results:

-using d3d9: still get shimmering (if I just set halfTexel to 0 in the code, the shimmering goes away and it looks correct)
-using d3d11: no shimmering

it would seem d3d9 doesn't need the half texel offset, at least in my version of unity.
maybe old unity needs it like you were saying in a previous post.

do you think this issue might also appear in iOS? I can't check easily.

ty
9
Support / Re: Window Script
« Last post by Pongganut on November 21, 2017, 05:23:31 AM »
Thanks to everyone for the code, it was very helpful to me.
10
Support / Re: Window Script
« Last post by unikronsoftware on November 11, 2017, 10:09:50 PM »
Hi,
Did you try that thing I suggested in the email?
Pages: [1] 2 3 ... 10