GameMaker (2.3)

Adaptive Screen

swipe claw games

You must be logged in to obtain assets


this script will enable your game to run correctly on any kind of monitor size.

the market is saturated with all kinds of display screens, from tablets and phones to laptops, PCs, and TVs ..etc every screen has its own dimensions and dpi, and so your game should be able to adjust itself to run perfectly on any kind of screen.

this script will allow your game to do just that, by simply adjusting the camera-view and GUI layer dimensions ratio to match the screen ratio. all you need is to import one object to your game and then use the global variables provided within the script.

  • only GML language is used in this script
  • this code has been used in a game called Dominating the skies which run perfectly on PCs and Android phones
  • it works for horizontal oriented games and vertical oriented games (vertical games are mostly mobile games)
  • it should be light and consume a very minimal CPU power
  • the code is commented thoroughly

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2.3 - Version 1.0.0. Published January 19, 2022

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait