Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Pages: [1]   Go Down

Author Topic: Can this be done in GM 6, if so, how?  (Read 1179 times)

0 Members and 1 Guest are viewing this topic.
Can this be done in GM 6, if so, how?
« on: June 28, 2008, 09:06:30 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 262
I would like to give those who will some day be able to play a game created by me to have the ability to resize the screen size during gameplay.

In gamemaker 5.3A one could use the following script in a key press event.

Code: [Select]
if scale_full=100 scale_full=150
else if scale_full=150 scale_full=200
else if scale_full=200 scale_full=250
else if scale_full=250 scale_full=300
else scale_full=100


But the scale_full function was removed in the gamemaker 6 version. Is there a way to recreate this function?
Logged

Mirby

Drifter
Re: Can this be done in GM 6, if so, how?
« Reply #1 on: June 28, 2008, 09:09:06 pm »
  • To bomb or not to bomb...
  • *
  • Reputation: +6/-0
  • Offline Offline
  • Gender: Female
  • Posts: 4162
That's an option in GM7 to resize the screen. And full screen as well.
Logged

Mirby Studios | Share & Enjoy now available! (Links above!) | Games I've Beaten
Quote from: Mamoruanime
I like-like it :D
  • Mirby Studios
Re: Can this be done in GM 6, if so, how?
« Reply #2 on: June 29, 2008, 06:08:42 am »
  • *
  • Reputation: +1/-0
  • Offline Offline
  • Gender: Male
  • Posts: 4588
I guess you could make something with window_set_size(w,h) to set width and height, and window_get_width() or window_get_height() to get the current value. In GM7 at least.
Logged
the a o d c
Re: Can this be done in GM 6, if so, how?
« Reply #3 on: June 29, 2008, 05:51:20 pm »
  • *
  • Reputation: +3/-0
  • Offline Offline
  • Gender: Male
  • Posts: 262
hm, for at the moment I've set a fixed scale of 150%. I think that is the one that makes the game looks best.
I still might add something like I first had in mind, but currently I already have enough things to do at the game and don't really need more non essential things to be addes at this stage.
Logged
Pages: [1]   Go Up

 


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.057 seconds with 42 queries.