How to Publish a Mobile Game on GX.games


How to Publish a Mobile Game on GX.games

So, you've made your own mobile game with GameMaker - now you're ready to publish your mobile game to GX.games, and potentially see it played by thousands of daily users.

Best of all, you don't need to complete complicated export processes for iOS and Android, or pay fees to the Google or Android App Stores. Through GX.games, your mobile games are playable on any device, and completely free to upload.

Watch the video version:

Also see:

How to Adapt to Mobile Displays

How to Add Touch Controls

Requirements

Development

You need the latest version of GameMaker, so update it if you haven’t already.

Download the Opera GX browser to test your game locally. Set it as your default browser.

Mobile

You can use any mobile browser to play your game, but Opera GX will provide the best experience for both developers and players.

Currently, we recommend you use the beta version of Opera GX on mobile, which receives bug fixes faster and enables you to provide greater feedback.

On iOS, get TestFlight and then install Opera GX beta. On Android, open the Opera GX page on Google Play Store, scroll down and find "Join the beta".

Testing Locally

Create a new project from the “Fire Jump” template, which is compatible with mobile displays and has touch controls:

undefined

Or, open an existing mobile project if you have one.

In GameMaker

Select the Opera GX target:

undefined

Run your game by pressing F5 or the “Run” button.

undefined

Your game will open in Opera GX. Below the game window, you'll see a few buttons – scroll down if you don’t.

undefined

Press the “Show Opera GX QRCode” button highlighted above.

If you’re not using Opera GX on mobile, or this button doesn’t open the game for you, use the regular “Show QRCode” button.

I See The QR Code - What Now?

Open your phone’s camera, or preferred QR scanner app, and scan the QR code.

undefined

If you get a prompt to open a link in your browser, press it.

If you get any permission pop-ups, hit “Allow” or “OK”.

undefined

Your game will now run in your mobile browser! If you added touch controls, they'll work here, too.

It’s recommended to set your mobile’s default browser to Opera GX for the best experience.

Going forward, Opera GX Mobile will have the easiest integration with GameMaker’s IDE, including a debug output within the IDE and a persistent connection where you don’t have to scan the QR on each play.

Publishing Mobile Games on GX.games

Click on “Create Executable” and upload your game to GX.games.

undefined

Once on the “Details” page on DevCloud, find the “Platforms” option, and enable “Mobile”.

undefined

Disable “Desktop” if your game is mobile-only.

Follow the rest of the GX.games publishing tutorial to publish your game publicly.

Playing Games On Mobile

On DevCloud, open the “Publishing” tab. Enable the “Private” version.

undefined

Click on the “URL” button to copy a link to your game.

Send this link to your mobile, open it in any browser and play your game!

Tips

Your game needs to be compatible with mobile displays, or adapt itself to different aspect ratios. Learn how to handle mobile resolution in your game.

Touch controls are also super necessary (unless you’re on one of the ancient keyboard phones). Add touch controls to your game.

On the Opera GX target, you can tell if the game is running on mobile through os_get_info().

It returns a DS Map which contains the key “mobile”. It will be true if the game is running on the mobile version of the Opera GX runner.

var _info = os_get_info();

if (_info[? “mobile”]) 
{
    // Running on Opera GX mobile!
    // Set mobile resolution
    // Enable touch controls
    // etc.
}

Happy (Mobile) GameMaking!