GameMaker (2.0 - 2.2.x)
Icon

resolution_controller

Martian Arctic Games

You must be logged in to obtain assets

Description

A simple resolution control object. Based on a fixed game height, it will resize your camera based on the device resolution. includes windows based testing capability as well. Undocumented, there are some comments and that's it.

USAGE: Place this into a 16x16 room. Make this room the first to be loaded by putting it at the top of the list.

In Alarm 1, set ideal_height to the height of the game as designed and the width will slide out, keeping this ideal height constant. If your game requires uniform width across platforms instead (probably the case if its Landscape mode) just rename/name swap height and width.

Going forward, use obj_resolution_controller.ideal_width and obj_resolution_controller.ideal_height when positioning gui items on screen.

move the camera to follow the player if your game does that- see how the camera is maniplulated in event_user 0.

Good luck!

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 1.0.0. Published December 3, 2018

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait