Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - unikronsoftware

Pages: [1] 2 3 ... 447
1
Support / Re: Tilemap data prefabs lose connection to tilemap
« on: April 04, 2018, 11:42:21 AM »
Hi,
Can you try and create a repro case for this? I have not seen this issue before but I have not been able to reproduce it to be able to fix ti.

2
Support / Re: Documentation change log - 404 error not found
« on: April 04, 2018, 11:41:46 AM »
Hi,

Sorry bout that - the correct link is -
http://2dtoolkit.com/forum/index.php/board,4.0.html

That is just a link to the releases forum

3
Support / Re: NES Style Graphics Recommendation?
« on: March 05, 2018, 11:54:52 AM »
The main question is what do you want to happen when running at a high resolution? Eg. if your pixel art is designed for 320x480, what do you want to happen when running at 1080p - do you want to scale (i.e. each pixel gets doubled / tripled to closest resolution) or just show a ton more stuff on screen...

4
Hi,

One option is to disable the sprite controls - (preferences, enable sprite controls). The handles are controlled by that.

If you want them enabled, but want it to be the tighter bounds, tk2dsprite.cs, line 249 or so
   void OnDrawGizmos() {
         Gizmos.DrawCube(Vector3.Scale(sprite.untrimmedBoundsData[0], _scale), Vector3.Scale(sprite.untrimmedBoundsData[1], _scale));

Rename untrimmedBoundsData to boundsData


5
Support / Re: 2d animation in UI
« on: February 13, 2018, 11:38:34 AM »
Are the sprites visible on each camera independently? ie. are the layers set up correctly?

6
Releases / 2D Toolkit 2.5.8.9
« on: January 24, 2018, 10:59:58 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
  • Experimenting with extensions
  • 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

7
Support / Re: 2D Toolkit and Git
« on: January 17, 2018, 10:38:59 PM »
Hi,

It should pick up and rebuild the index when it detects changes - but I have seen this fail occasionally due to dates not propagating thru, etc. In this case however, you could try making it Rebuild automatically. For example, just before a build is started...

Code: [Select]
using UnityEditor;
using UnityEditor.Build;
using UnityEngine;

class tk2dRebuildIndexPreprocessor : IPreprocessBuild
{
    public int callbackOrder { get { return 0; } }
    public void OnPreprocessBuild(BuildTarget target, string path)
    {
          tk2dEditorUtility.RebuildIndex();
    }
}

8
Hi,

I did at the time, but now Unity 2018 is getting released so I'm going to look at it again!
Caveat - If any fix is required for 2018 it possibly won't be in the next tk2d update.

9
Support / Re: Collection issue with Git
« on: January 17, 2018, 10:32:13 PM »
Hi,

I've not seen that kind of issue before at all - are the file dates being set properly when cloning / updating a remote (not sure of git language for this, I use Hg).

ARound 2k by 2k chunks shouldn't really be an issue at all. If you "Rebuild Index" on the computer where it is broken after pulling, does that sort out the issue?

10
Support / Re: extractRegion in sprite definition - ok to use?
« on: January 17, 2018, 10:24:38 PM »
Hi,

Quick answer - Yes it is safe to use at runtime.

The comment is relating to the fact that it is only ever used in the editor to draw textures in the picker.

11
Hi,

Glad you figured it out! For benefit of anyone else that looks at this in the future -
tk2dSpriteCollection.textureParams.name is the name of the sprite
EditorUtility.SetDirty(spriteCollection)
tk2dSpriteCollectionBuilder.Rebuild(spriteCollection)

will then upodate everything correctly. The script that picks this up needs to be in the editor folder to see the editor functions.

12
Support / Re: 2D Toolkit and Git
« 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.

13
Releases / 2D Toolkit 2.5.8.8
« 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

14
Support / Re: Bug fix for tk2dUIScrollableArea
« 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.

15
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...

Pages: [1] 2 3 ... 447