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