GM:S 1.4 fullscreen gui layer troubles

Discussion in 'Programming' started by Dengar, Jun 28, 2018.

  1. Dengar

    Dengar Member

    Joined:
    Jun 21, 2016
    Posts:
    285
    im having a simple problem. im setting 'fullscreen' in global game setting but the gui layer is only drawing in the top left corner. I thought this code would work but doesn't "display_set_gui_size(window_get_width(), window_get_height());" I'm using a view size of 600,600.

    how do you get the gui to draw fullscreen?
     
  2. Becon

    Becon Member

    Joined:
    Jul 13, 2016
    Posts:
    109
    Try
    display_get_width() / display_get_height()
    I think window_get_with displays the windows size while display_get_width displays the screen size of the device.
     

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