playMaker

Author Topic: set screen resolution [SOLVED]  (Read 1204 times)

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
    • View Profile
set screen resolution [SOLVED]
« on: September 14, 2017, 12:57:11 PM »
Hello,
I'd like to know why the " Set Screen Resolution " action that can be found here :
http://hutonggames.com/playmakerforum/index.php?topic=2968.0
isn't implemented in the 1.8.4 ?
Is it a bad idea to use it ? Is there a better / newer solution ?
I'm having a hard time getting a 3:2 resolution for my build and I was thinking about using it...
Thanks !
« Last Edit: September 18, 2017, 11:13:20 PM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15060
  • Official Playmaker Support
    • View Profile
Re: set screen resolution
« Reply #1 on: September 15, 2017, 12:55:42 AM »
Hi,

Yes, I would definityl look for other solutions.

 Typically, the new Unity UI Layout should give you all the features to provide a good layout setup no matter what resolutions you are in.

 maybe you could share exactly what doesn't work? also make sure you ask in Unity forum as this likely something that can be addressed just with Unity UI, without coding.

Bye,

 Jean

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
    • View Profile
Re: set screen resolution
« Reply #2 on: September 15, 2017, 06:20:36 PM »
Hi Jean thanks for you answer !

Well I do agree that the new Unity UI Layout gives me all the features to provide a good layout setup no matter what resolutions.

I was thinking about " Set Screen Resolution " action because I can't get the 3:2 aspect ratio with the desired resolution in the final build.
Of course it's a Unity problem, but the " Set Screen Resolution " action could have been a work around ...

Could you tell me why the "Set Screen Resolution" action should be avoid ?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15060
  • Official Playmaker Support
    • View Profile
Re: set screen resolution
« Reply #3 on: September 17, 2017, 11:51:40 PM »
Hi,

 it should be avoided because you mess with the computer screen setup, if your app crashes, the user is left with a bad screen resolutions, all icons will be moved in new random places, etc etc.

 Definitly not a good idea :)

It's preferrable to put some black space at top bottom or left right to accomodate your game content than setting resolutions.

Bye,

 Jean

pietwelve

  • Junior Playmaker
  • **
  • Posts: 70
    • View Profile
Re: set screen resolution
« Reply #4 on: September 18, 2017, 11:25:46 AM »
Thanks a lot Jean for your input !