Author Topic: Smooth Zoom NGUI  (Read 5204 times)

will_brett

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 40
    • View Profile
Smooth Zoom NGUI
« on: March 21, 2013, 05:20:37 PM »
Hi everyone.

I want to be able to zoom in on part of my game that is using NGUI when an event is triggered but I want it to be a smooth animation rather than just jump.

Is this something that can be done in NGUI? and if so how?

Thanks

W

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Smooth Zoom NGUI
« Reply #1 on: March 22, 2013, 01:59:50 AM »
Depends on how you do the zooming.

will_brett

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 40
    • View Profile
Re: Smooth Zoom NGUI
« Reply #2 on: March 22, 2013, 06:56:57 AM »
I was hoping to just zoom in on part of the GUI when an event is triggered. So far I have managed to zoom in using iTween and scaling the camera. However this just zooms to center so I am no looking at how to zoom to a certain area.

Im not looking for a way to zoom in where ever the user wants like you would perhaps with a pinch zoom.

Also Jean Fabre over at Playmaker is considering building a playmaker action. (http://hutonggames.com/playmakerforum/index.php?topic=3454.0)

Thanks

WB