• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Windows Compiling in windows/YYC game window size bug? [solved]

T

thecatisburried

Guest
Using windows and windows (YYC) compiler.
GMS version: 1.4.1763

Running the game using windows target and the window_set_size(960,540). The window is the size I have set (works as intended)

Running the game using Windows (YYC) with the exact same window_set_size(960,540). The window is 1439 by 810. I do not understand why this happens. I tried exported the game to exe and the result is the same. Though using the debug mode the window size is as intended.
 

ZeDuval

Member
Try using window_set_rectangle(x,y,w,h) instead, see if that works. I vaguely remember there being a problem with window_set_size(x,y). And always use the broom before compiling with YYC. Then report back please.
 
T

thecatisburried

Guest
Thank you so much for the response using window_set_rectangle() fixed my issue.
 
Top