Question - Code Screen Stretches on Galaxy s8 because of longer ratio FIXED

Discussion in 'GameMaker Studio 2 Community Tech Support' started by DyadGames, Dec 3, 2018.

  1. DyadGames

    DyadGames Member

    Joined:
    Jul 16, 2016
    Posts:
    30
    I have a script that shrinks elements for when it goes to smaller devices like iPads and older devices, however my screen stretches on the Galaxy S8 because of that long screen.

    How can I force the max ratio to be 720x1280?

    Cheers!
    Alex
     
  2. DyadGames

    DyadGames Member

    Joined:
    Jul 16, 2016
    Posts:
    30
    I simply resized the application surface surface_resize(application_surface,view_w,view_h) and did a window_set_size as well.

    Cheers,
    Alex
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice