Skip to content
Sergei edited this page May 7, 2026 · 2 revisions

Setup

Integration steps

Use this order for a new integration:

  1. Install the Bridge package for your engine.
  2. Create or update playgama-bridge-config.json in the config editor.
  3. Wait for Bridge initialization before calling SDK APIs.
  4. Read platform.language and apply localization.
  5. Load saved progress with storage.get(...).
  6. Send platform.sendMessage('game_ready') when the first playable frame is ready.
  7. Add interstitial ads at natural pauses, such as level transitions or game over.

Installation

Download the latest .yymps from the GitHub release page and import it via ToolsImport Local Package menu.

Tools → Import Local Package

Config

datafiles/playgama-bridge-config.json stores SDK settings: platform identifiers, in-game purchases, ad placements, and more. Use the config editor to create or update it.

Initialization and Build

The GameMaker package initializes Bridge automatically while the game loads. No extra initialization call is required.

Select the Bridge index template before building.

Game Options → HTML5 → General

Clone this wiki locally