Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: will_brett on March 21, 2013, 05:30:29 PM

Title: NGUI zoom using Playmaker?
Post by: will_brett 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
Title: Re: NGUI zoom using Playmaker?
Post by: jeanfabre 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
Title: Re: NGUI zoom using Playmaker?
Post by: will_brett 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