Description

This asset contains two objects that will help you with game scaling on mobile devices. This scaling will keep the proportions of your game.

Scaling can be used on both portrait and landscape games

All you have to do is create a room and place it before anything else in your game. Enable views in this room and make it visible. Set the size of the room, view, and port sizes to the size of your game. Place one of the two provided objects in your room and you are done. The object will prepare all your remaining game rooms.

The game will be scaled to fit any device in the following way:

The first object will scale the game so it fits the device screen size. The remaining empty space will be filled with the background color. You can use the empty space to place UI controls or anything else you want.

The second object will scale the game so that it has up/down or left/right borders cut, depending on the device screen resolution. When you intend to use this scaling you should move all important UI and game elements a little further from the border.

In both cases, you have 4 special variables at your disposal: bLeftX, bRightX, bUpY, bDownY. These variables contain the x or y coordinates of the device screen border with respect to the scaling being used.

There is no demo to download because it should be compiled on the device in order to work properly.

If you want to stay informed about my new assets Subscribe to my mailing list. You also receive a FREE asset for subscribing.

You can also follow me on Twitter (@smallbigsquare)

End User Licence Agreement (EULA).

Version 1.0.0. Published December 4, 2015

Created with GameMaker: Studio v1.4.1657

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Ivan B 29 April 2018

it has some issues

it work, but view wont follow player now. what to do?

Logo

SmallBigSquare (Publisher) 18 July 2018

Write me an email I will gladly help.


Gravatar

Anonymous 28 April 2018

Does this work in GMS 2?

Does this work in GMS 2?

Logo

SmallBigSquare (Publisher) 18 July 2018

It is GMS1 asset. It will work on GMS2 but it will use compatibility scripts


Gravatar

Jonas K 19 March 2017

do NOT buy

made my device crash. Does not work at all.

Logo

SmallBigSquare (Publisher) 20 March 2017

Could you send me what kind of error you are getting?


Gravatar

Felipe R 18 February 2017

Worked like a charm

This guy are saved my ass, now my boss will not shoot me!

Logo

SmallBigSquare (Publisher) 05 March 2017

Thanks for the review. I am glad you can live another day :)


Gravatar

Anonymous 03 August 2016

Very easy to use, and it works!

Logo

SmallBigSquare (Publisher) 05 August 2016

Thanks for the review

Package contents

Loading, please wait

What is the issue?

Back to Top