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

Display_get_height gives a wrong value on my Phone!

  • Thread starter spazetimergames
  • Start date
S

spazetimergames

Guest
So im changing the room_height based on the display height of the device
But the display_get_height gives a value of 2009 pixels when actually my display height is 4032 pixels (on my note 8 phone)...resulting in 2 black areas on the top and bottom when i change the room_size

(However the room_width gives the correct value of 1080 and scaled perfectly)

*Game is in portrait mode

If anyone has a idea to fix this, really appreciated
 
Top