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 - Mixu

Pages: [1]
1
Support / Re: Black border around sprite.
« on: October 30, 2013, 10:35:23 am »
Hi! I just got this same behaviour and with activating the transparency in the atlas was solved :)

Could 2D Toolkit activate Alpha is Transparency by default? Or with a tick on the atlas generator?

2
Releases / Re: 2D Toolkit 2.1 final + hotfix 1
« on: September 03, 2013, 12:06:41 pm »
Hi! I just updated to the Asset Store version (this one) and found some compilation failures related to tk2dCamera:

Code: [Select]

Assets/Plugins/tk2d/Code/Camera/tk2dCamera.cs(18,34): error CS0246: The type or namespace name `tk2dCameraSettings' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Camera/tk2dCamera.cs(33,16): error CS0246: The type or namespace name `tk2dCameraResolutionOverride' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Camera/tk2dCamera.cs(40,16): error CS0246: The type or namespace name `tk2dCameraResolutionOverride' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Fonts/tk2dFont.cs(24,16): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dBaseSprite.cs(645,72): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dSprite.cs(127,69): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dRuntimeSpriteCollection.cs(10,91): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollection.cs(541,16): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteCollectionData.cs(515,83): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?
Assets/Plugins/tk2d/Code/Sprites/tk2dSpriteFromTexture.cs(9,16): error CS0246: The type or namespace name `tk2dSpriteCollectionSize' could not be found. Are you missing a using directive or an assembly reference?

(and some more on different lines)


It seems the access to tk2dCameraUtil.cs is not done in the using section.

Any tip on fixing this?
Thanks!

EDIT: nevermind, I just deleted the TK2DROOT directory, and imported again... and worked.

Another question, when using a tk2dUIItem for sending a message, listed are the available functions that don't have any parameter, but... what should I do if I want to pass a parameter?

3
Support / Re: tk2dButton clicks doesn't work on Unity4.2 beta
« on: July 23, 2013, 11:15:26 am »
Thanks! :)
I suppose that using the tk2dUIButton inside the games, as if the object is not a button would work fine.
I have put some things in the screen that you can interact with them, for example... when you click it animates and plays a sound, or sends a signal (I have done it in SDL in C++, and I'm porting it to Unity).

4
Support / Re: tk2dButton clicks doesn't work on Unity4.2 beta
« on: July 23, 2013, 08:27:17 am »
What build platform have you got set?
I had MacOSX and changed to Windows and x64, but the button still didn't work.

5
Support / Re: tk2dButton clicks doesn't work on Unity4.2 beta
« on: July 23, 2013, 12:11:12 am »
Hi!

I just bought 2D Toolkit, and updated to Unity 4.2, and tk2dButton doesn't work :(

In the editor when clicking Play on the "6 - button and 3d sprites" demo, if I click any button it doesn't work.
As I have seen in the code, my clicks go through here:

Code: [Select]
#if !UNITY_FLASH
if (Input.multiTouchEnabled)
{
for (int i = 0; i < Input.touchCount; ++i)
{
Debug.Log("bucle "+i);

But never gets to the Log command, so there's multiTouch, but no touchCount when clicked.
I'm using Windows 7, and as I'm aware of... I don't have any multi touch device.

Edit:
I set

#if !UNITY_FLASH && false

and now it works perfectly.
Strange, isn't it? :/

Pages: [1]