• 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!

Legacy GM Get device's screen resolution

B

Barack Pálinka

Guest
How could i get the device's screen resolution i'm running the game on and then set the game's resolution to the same resolution my pc use?So basically i want the game to run on the same resolution as my pc.(I used the word device because i would play my game on my phone)
 

Simon Gust

Member
I believe the functions display_get_width() and display_get_height() return the resolution of the display / webbrowser
 
B

Barack Pálinka

Guest
Thanks,but is there any code that i could use to set the resolution?Something like display_set_width or something?
 
Top