playMaker

Author Topic: Set Screen Resolution  (Read 7875 times)

A3DStudio

  • Playmaker Newbie
  • *
  • Posts: 43
    • A3DStudio
Set Screen Resolution
« on: January 17, 2013, 03: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, 03:15:48 PM by A3DStudio »

phannDOTde

  • Full Member
  • ***
  • Posts: 237
    • Peter Hann .de
Re: Set Screen Resolution
« Reply #1 on: February 25, 2015, 06: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.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Set Screen Resolution
« Reply #2 on: August 19, 2016, 04:44:09 AM »
Oh, i didn't see the links until i logged in, my bad :)
« Last Edit: August 19, 2016, 05:36:11 AM by krmko »
Available for Playmaker work

ilovelessons

  • Junior Playmaker
  • **
  • Posts: 70
Re: Set Screen Resolution
« Reply #3 on: March 18, 2017, 09: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: 15500
  • Official Playmaker Support
Re: Set Screen Resolution
« Reply #4 on: March 20, 2017, 05: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
Re: Set Screen Resolution
« Reply #5 on: March 20, 2017, 06:22:53 AM »
Thanks jean :)