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

Pages: [1]
1
Support / Re: 2 Questions about PowerOfTwo and spite scaling
« on: August 22, 2012, 10:08:53 am »
Hi Unikron!

Thanks for your fast answer. :-)
So far I use the "Compressed" texture flag in the Settings Tab from the SpriteCollections. Is it also recommended to set the source file to compression PVRTC?



Thanks :-)

2
Support / 2 Questions about PowerOfTwo and spite scaling
« on: August 21, 2012, 03:49:06 pm »
Hi,

I have two little questions.
Are there performance differences, if I use Textures with a resolution "Power of two" (256,512...), or not, because of Atlas creation from 2dtoolkit?

And are there differences if I scale my 2dSprites by using the Transform.scale parameter in the inspector, or the Scale Parameter from 2d Toolkit?

sorry for bad english and if this was already asked before. I have no answer found in the forum ;-)

lg Jonas

3
Support / Re: Start Animation from Script
« on: June 11, 2012, 02:43:36 pm »
Sorry for this stupid question. Normaly i know how to use getComponent, but I thought the tk2d functions are predefined like the iTween Plugin "iTween.Move()" etc ;-)

But know it works perfectly. Thank you very much! :D

4
Support / Start Animation from Script
« on: June 11, 2012, 01:31:19 pm »
Hi Unikron,

I have a animated Sprite in my Scene and unchecked the Play automatically flag. Now I added a trigger collider with the 2d toolkit and a simple script file to the animated Sprite Object.
 Now when the Player enters the trigger the animation shoult play. But ist dont works with my Script.

I get the Error
BCE0020: An instance of type 'tk2dAnimatedSprite' is required to access non static member 'Play'.

Sorry for this noob question^^, but I couldnt find a solution for this simple Script in the documentation without Buttons or other complex things. ;-)

Code: [Select]
function OnTriggerEnter(other : Collider)
{
if(other.transform.tag=="Player")
{
tk2dAnimatedSprite.Play("WasserSplash");
}
}


5
Support / Re: [Feature Request] Show Custom Shape Point Position
« on: May 26, 2012, 05:41:41 pm »
Thank you for the amazing support and the fast integration of this feature!!!
I love 2d Toolkit  :D

6
Support / [Feature Request] Show Custom Shape Point Position
« on: May 16, 2012, 11:43:52 am »
Hello and good morning :-)

I have a litte Feature Request.
It would be great if the position of the Custom Shape Ponts could be displayed in the SpriteCollection Editor.
And because my English isnt very good, I've created an image look like it could  ;)

That would be great to better or exactly cute the Sprites.


Pages: [1]