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

Pages: [1]
1
NGUI 3 Support / Re: Tween with duration 0 issue
« on: January 13, 2016, 09:35:02 PM »
Works perfectly! Thanks you so much!

2
NGUI 3 Support / Re: Tween with duration 0 issue
« on: January 12, 2016, 12:08:43 AM »
Thanks you for quickly reply. I tried the fix you provide, but it still tween nothing. Actually no mater the value of amountPerDelta is the mFactor always be 0 because of 0 delta in the first update.

  1.         if (!mStarted)
  2.         {
  3.                 delta = 0;
  4.                 mStarted = true;
  5.                 mStartTime = time + delay;
  6.         }
  7.  
  8.         if (time < mStartTime) return;
  9.  
  10.         // Advance the sampling factor
  11.         mFactor += amountPerDelta * delta;
  12.  

3
NGUI 3 Support / Tween with duration 0 issue
« on: January 10, 2016, 09:38:16 PM »
The tween with duration 0 is malfunctioning since updated from 3.9.6 to 3.9.6c. I found out that the mFactor in UITweener.Update now always is 0 in the first update, which causes tween nothing.

4
NGUI 3 Support / Re: Tweening Related Problems
« on: December 21, 2015, 12:54:55 AM »
In 3.9.6, I noticed that the tweener doesn't behave properly. According to the fix in 3.9.6: "Tweener will no longer use delta time for the first frame of the animation." Is it a mistake to set delay to zero in the if(!mStarted) block in UITweener.Update? Maybe following code is what you want?

  1. if (!mStarted)
  2. {
  3.         delta = 0;
  4.         mStarted = true;
  5.         mStartTime = time + delay;
  6. }
  7.  

5
NGUI 3 Support / Re: TypewriterEffect Bug?
« on: July 08, 2015, 08:33:09 PM »
Thank you. This workaround does fix it!  :)

6
NGUI 3 Support / TypewriterEffect Bug?
« on: July 08, 2015, 06:55:44 AM »
In NGUI 3.8.0, the way I determine whether the typing is finished or not is by checking TypewriterEffect.isActive. But in NGUI 3.9.0b, it never returns true. Is it a bug or not?

Pages: [1]