playMaker

Author Topic: NGUI zoom using Playmaker?  (Read 3291 times)

will_brett

  • Junior Playmaker
  • **
  • Posts: 72
NGUI zoom using Playmaker?
« on: March 21, 2013, 05:30:29 PM »
Hi Guys and Girls.

I have a scene that is nearly all NGUI.

I want to be able to zoom in on part of the screen smoothly when an event is triggered and then zoom out again after.

1: Is this possible?

2: If so how?

Looking forward to hearing your answers

all the best

W

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: NGUI zoom using Playmaker?
« Reply #1 on: March 22, 2013, 01:15:03 AM »
Hi,

 uhm. I would first ask ngui guys if this is possible, if you get a solution, pass it on to me and I'll port it to playmaker.


Basically, I would think that by just scaling the root object, you will achieve this effect, but you may find issues with pixel perfect scripts and weird behavior. Have you tried that?

bye,

 Jean

will_brett

  • Junior Playmaker
  • **
  • Posts: 72
Re: NGUI zoom using Playmaker?
« Reply #2 on: March 22, 2013, 07:54:00 AM »
Hey Jean,

What I did was I scaled the NGUI camera using iTween. I am now trying to figure out how to move to a specific part and not just zoom in on the centre. 

If and when I get a reply from NGUI I will reply here.

Thanks again

W