playMaker

Author Topic: Zoom size of orthographic camera plz!  (Read 3709 times)

mikejkelley

  • Full Member
  • ***
  • Posts: 136
Zoom size of orthographic camera plz!
« 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.

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: Zoom size of orthographic camera plz!
« Reply #1 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 :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Zoom size of orthographic camera plz!
« Reply #2 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