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

HTML5 HTML5 On Apple iOS Devices - Screen Size?

J

JeZxLee

Guest
Hi,

While we will never natively support Apple iOS devices, we are interested in getting the HTML5 version working on them. When we run our HTML5 version on Apple iOS devices the screen is too large which makes the game unplayable? How can we query the device screen size and resize the HTML5 drawing canvas to fill the device's screen properly? Thanks!
 

True Valhalla

Full-Time Developer
GMC Elder
You can use functions like display_get_width() display_get_height() and window_set_size() for a basic solution.
 
Top