Skip to main content

Adding an Extension to GameMaker

In this article, we will explain how to add the SpellSync extension to GameMaker.

tip

The latest version of the extension is available at this link.

The extension requires IDE 2023.2.0.71, Runtime 2023.2.0.87 or higher.

Adding your game to the control panel

Before starting the installation of the SpellSync extension in your GameMaker project:

  1. Add your game to the control panel.
  2. Click the Add game button.
  3. In the new window, give your game a name and click the Add game button. After that, you will enter the project interface. To add the project to GameMaker, you will need the Project ID and Public Key.

Adding the extension to GameMaker

  1. Download the latest version of the extension.

  2. Import the plugin through the import of local packages.

  1. Select all resources for import.

Configuring the extension in GameMaker

  1. In the SpellSync control panel, copy the Project ID and Public Token.

  1. Open the SpellSync extension settings in GameMaker and paste the Project ID and Public token into the corresponding fields.

  1. If you want to display ads immediately upon opening the game, enable the checkboxes for Show preloader ad? (Fullscreen ad) and Show sticky ad? (Banner).

Example of displaying rewarded ads

  1. Call the function to display ads. You can specify any tag.

  1. The viewing result will arrive in the asynchronous Social event. The event type will be SpellSync.

The SpellSync_CallAdsRewardedStart event indicates the start of the ad display.

The SpellSync_CallAdsRewardedClose event indicates the end of the ad display.

The SpellSync_CallAdsRewardedReward event indicates the successful completion of the rewarded ad. The player's reward must be granted.

Useful information

Repository link: https://gitlab.com/spellsync/game-maker-spell-sync-extension

Author: Trumdu

Stay in Touch

Other documents of this chapter available Here. To get started, welcome to the Tutorials chapter.

SpellSync Community Telegram: @spellsync.

For your suggestions e-mail: [email protected]

We Wish you Success!