Author Topic: Quest Text  (Read 2344 times)

Asrai

  • Guest
Quest Text
« on: November 20, 2012, 04:10:27 PM »
Hi Aren,

Thanks for your work with nGUI - I just have a quick question regarding the Quest Text (example 9).  I have provided a youtube link which shows what the quest text currently does (scale tween from center), and I would like it to do what example 9 shows - scale tween from top.  I feel like I'm missing something very obvious, so if you have any suggestions I'm all ears.

http://www.youtube.com/watch?v=LT6_GcD1nW8

Much appreciated

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Quest Text
« Reply #1 on: November 20, 2012, 04:19:55 PM »
Looks like your pivot point on the object that's being scaled is too far down. You need to move it so that it's higher. Just look at where I have the pivot point for the entries in the quest log example.

Asrai

  • Guest
Re: Quest Text
« Reply #2 on: November 20, 2012, 06:48:09 PM »
Our pivot point for all objects under the Quest Log is TopLeft, just like all of your entries for the quest log example.  Am I missing something else?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Quest Text
« Reply #3 on: November 21, 2012, 01:41:30 AM »
The game object itself. Check its position location.