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

Pages: [1]
1
NGUI 3 Support / How to use SpriteRender Animation with NGUIScroll View?
« on: January 04, 2015, 03:07:02 AM »
Artist makes complex animation by SpriteRender animation,now I can't fixed the depth with the NGUIScrollView and other widgets. How should I do? :)

2
NGUI 3 Documentation / Re: UISprite
« on: November 12, 2014, 10:40:16 PM »
Hello,I had a question.I got a picture which looks like a parallelogram.
 ____________________
/___________________/

I use Type.Filled and FillDirection.Horizontal.But when I drag the fillAmount ,I get a picture:
 __________                 __________
/__________|     not    /_________/

if (mFillDirection == FillDirection.Horizontal)
{
   float fill = (u.z - u.x) * mFillAmount;

   if (mInvert)
   {
      v.x = v.z - (v.z - v.x) * mFillAmount;
      u.x = u.z - fill;
   }
   else
   {
      v.z = v.x + (v.z - v.x) * mFillAmount;               (What should I do)?
      u.z = u.x + fill;
   }
}

3
NGUI 3 Documentation / Re: UISprite
« on: August 28, 2014, 10:11:24 PM »
How can I create a two-sided sprite,just like cards in HearthStone ? Then I can see the front side and the back side when I rotate it.

Pages: [1]