playMaker

Author Topic: Set Screen Resolution  (Read 2735 times)

A3DStudio

  • Playmaker Newbie
  • *
  • Posts: 43
    • View Profile
    • A3DStudio
Set Screen Resolution
« on: January 17, 2013, 01:01:37 PM »
This script sets the screen resolution. Optionally sets the fullscreen/windowed mode and refresh rate (hz).



Second script gets the screen width and height.
« Last Edit: January 17, 2013, 01:15:48 PM by A3DStudio »

phannDOTde

  • Full Member
  • ***
  • Posts: 233
    • View Profile
    • Peter Hann .de
Re: Set Screen Resolution
« Reply #1 on: February 25, 2015, 04:25:07 AM »
I know it's a dead old topic but some of you might be interested in this since it cost me two days to realise this: get resolution returns the full screen resolution of your current desktop NOT your render view. If you need to know your renderview size you need to use get width/get height! Maybe this saves some trouble and time for someone.

krmko

  • Sr. Member
  • ****
  • Posts: 422
    • View Profile
    • Fat Pug Studio
Re: Set Screen Resolution
« Reply #2 on: August 19, 2016, 01:44:09 AM »
Oh, i didn't see the links until i logged in, my bad :)
« Last Edit: August 19, 2016, 02:36:11 AM by krmko »

ilovelessons

  • Junior Playmaker
  • **
  • Posts: 70
    • View Profile
Re: Set Screen Resolution
« Reply #3 on: March 18, 2017, 06:56:53 PM »
Hi,

I now got around the seeing this post. How do I add these to scripts to Playmaker so they show up the actions panel???


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Set Screen Resolution
« Reply #4 on: March 20, 2017, 02:14:14 AM »
Hi,

 simply download them and drag them inside your Assets folder of the project you want to use them.

 best for organizing your assets, you should create a "Assets/PlayMaker Custom Actions" and put them inside.

 Bye,

 Jean

ilovelessons

  • Junior Playmaker
  • **
  • Posts: 70
    • View Profile
Re: Set Screen Resolution
« Reply #5 on: March 20, 2017, 03:22:53 AM »
Thanks jean :)