1. Hey! Guest! The 35th GMC Jam will take place between November 28th, 12:00 UTC - December 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

GMS 2 Resizing background with steady rest [HTML5]

Discussion in 'Programming' started by Erikku901, Apr 1, 2019.

  1. Erikku901

    Erikku901 Member

    Feb 13, 2019
    I want my game to look as if it's full screen on all major aspect ratios for mobile, so no black bars.

    I tried the fullscreen scaling tutorial here: https://www.yoyogames.com/blog/67/scaling-for-html5
    But for some reason it isn't working at all?

    At least I'd like the background to be full screen (with the corrrect aspect ratio)
    And the other objects to render at a constant size (not scaling with the background).

    Does anyone have any suggestions on how to achieve this?

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