Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: mikejkelley on December 25, 2012, 12:46:03 AM

Title: Zoom size of orthographic camera plz!
Post by: mikejkelley on December 25, 2012, 12:46:03 AM
So that I can zoom in on my 2d character when the action gets intense!

To elaborate, currently when setting up an orthographic camera for a 2d game you specify the size instead of changing the z axis to determine how big ("close") your scene seems. If there was an action to gradiate a size change, it would be functionally equivalent to zooming in.

ie, ortho camera size starts out as 3, quickly "iterates" to 2.

If there's another way of accomplishing this that I don't know about, plz forgive, I'm noob here.
Title: Re: Zoom size of orthographic camera plz!
Post by: MrMitch on December 25, 2012, 02:10:53 PM
Try using Set Property.

If you haven't used it before make sure you Lock the FSM you're working with and drag the camera component into the field.

I have never tried this before but hopefully you'll have success :)
Title: Re: Zoom size of orthographic camera plz!
Post by: jeanfabre on January 02, 2013, 06:20:12 AM
Hi,

 yes, also read this post:
http://hutonggames.com/playmakerforum/index.php?topic=1569.0

bye,

 Jean