Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: amaranth on August 14, 2012, 02:46:45 PM

Title: Get Screen Aspect Ratio
Post by: amaranth on August 14, 2012, 02:46:45 PM
I think it would be cool if there was an action that allowed us to obtain the aspect ratio, based on the screen width and screen height.
Title: Re: Get Screen Aspect Ratio
Post by: Lane on August 14, 2012, 05:21:43 PM
You can probably throw something together on your own, the unity script reference has info if you search it.

http://docs.unity3d.com/Documentation/ScriptReference/Camera-aspect.html

Doesn't seem too complicated.
Title: Re: Get Screen Aspect Ratio
Post by: Slater on August 19, 2012, 09:52:16 PM
Yeah I agree that it would be nice to have as an action :)
Title: Re: Get Screen Aspect Ratio
Post by: jeanfabre on August 20, 2012, 03:30:17 AM
Hi,

 If no one stepped in before next week, bump this post, and I'll make that action.

bye,

 Jean
Title: Re: Get Screen Aspect Ratio
Post by: amaranth on August 27, 2012, 09:24:00 PM
bumping. :)
Title: Re: Get Screen Aspect Ratio
Post by: jeanfabre on August 28, 2012, 03:04:12 AM
Hi,

 here we go:
http://hutonggames.com/playmakerforum/index.php?topic=2162.0 (http://hutonggames.com/playmakerforum/index.php?topic=2162.0)

bye,

 Jean
Title: Re: Get Screen Aspect Ratio
Post by: Slater on September 18, 2012, 09:05:08 PM
Just saying thank you for this action. Have it up and running in my app right now and it works great! Thanks Jean.