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.


Topics - korn3l

Pages: [1]
1
Support / Depth Mask negative depth
« on: October 16, 2013, 03:08:59 pm »
Currently tk2dUIMask won't work if we set a negative depth. I tried modifying the depth mask shader ZTest to GEqual, but it won't work. I tried modifying the script changing all the "-depth" values to "depth", but it still won't work.
I'm starting to think that this isn't possible. Is there a workaround for this ?

2
Support / UpdateAnimation deltaTime question
« on: October 03, 2013, 12:17:07 pm »
I have the timeScale set to 0 and I want the animation to keep playing, so I'm calling the updateAnimation manually in my game object's update :

Code: [Select]
if (Time.timeScale < 0.5f && state == UnitState.Celebrating)
        {
            spriteAnimator.enabled = false;
            spriteAnimator.UpdateAnimation(1.0f / 60.0f);
        }

The animation works, but it's faster than it should be. The animation has 30 frames, frameRate 30 and clipTime 1.
It get's better when I set the delta to something like 1/100.

What value should the delta time have to play the animation at the default speed ?

3
Support / Diced Mesh Bug ?
« on: April 01, 2013, 02:19:34 pm »
I have a large ground texture and I use the dice option to make it fit in an atlas. I also enable platform specific images (1x and 2x).

When I change the platform I expect to see the same image, but with better/worse quality. But when I change the platform to 2x the image scales down ( half of what it would look at 1x).

I also add a polygon collider to it and it seems it has the same size, but it's position is offset somehow.

Is this a bug or it is not supported yet ?

Pages: [1]