Author Topic: What is not allowing me to change the view?  (Read 1146 times)

l3agu32

  • Wannabe
  • Posts: 22
  • OS:
  • Windows 8.1/Server 2012 Windows 8.1/Server 2012
  • Browser:
  • Chrome 49.0.2623.110 Chrome 49.0.2623.110
    • View Profile
  • Playstyle: Keyboard
What is not allowing me to change the view?
« on: April 07, 2016, 12:55:10 PM »
I'm making a game for myself and wanna try some ideas in a room with a wider view. When I used gm 8.1 I didn't have problems changing the view, but now I'm using gm studio with the yoyoyo engine and something is not allowing me to change the view. I already tried changing only the "view in room", then changed only "port on screen", then tried both, but the black border didn't get any smaller in the room. Does anyone have any idea of what could be wrong? Thank you.

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 49.0.2623.110 Chrome 49.0.2623.110
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: What is not allowing me to change the view?
« Reply #1 on: April 07, 2016, 01:14:34 PM »
I believe that in 8.1, the window size will get set to the "port on screen" values that you set for each room. But in studio, the window size is set to the "port on screen" you set in the first room and stays that way. So if you want your window size to be the same throughout the whole game (as you probably do), then just change the "port on screen" of the first room. If you want to change it dynamically, you can use the window_set_size function. I hope this is what you wanted; it's easy to confuse the terms view, port, window, size, etc.

l3agu32

  • Wannabe
  • Posts: 22
  • OS:
  • Windows 8.1/Server 2012 Windows 8.1/Server 2012
  • Browser:
  • Chrome 49.0.2623.110 Chrome 49.0.2623.110
    • View Profile
  • Playstyle: Keyboard
Re: What is not allowing me to change the view?
« Reply #2 on: April 07, 2016, 03:06:35 PM »
Thank you, it worked.