Home

Game Distribution edited this page Jul 24, 2016 · 7 revisions
Clone this wiki locally

Welcome to the GD-Construct2 wiki!

Download Plugin and extract file to C:\Program Files\Construct 2\exporters\html5\plugins

Settings

GameId: <Your Game Id, you can find it after create a game to GameDistribution>
UserId: <Your UserId>

Actions

/**
 * Initiliazes ads system and Loads Vooxe Html5 GdApi that hides the running game and display it when ready.
 */     
Init API        

/**
 * Shows banner, you can use it between levels
 */     
Show Banner         

/**
 * GD Logger sends how many times 'PlayGame' is called. If you invoke 'PlayGame' many times, it increases 
 * 'PlayGame' counter and sends this counter value. 
 */     
Play

/**
 * GD Logger sends how many times 'CustomLog' that is called related to given by _key name. If you invoke 
 * 'CustomLog' many times, it increases 'CustomLog' counter and sends this counter value. 
 * @param   key     Your custom key it should be maximum 10 chars
 */     
Custom Log

Conditions & Events

/**
 * True if currently showing a banner ad.
 */     
Is showing banner       

/**
 * Triggered when Vooxe ads system is ready.
 */     
On Initiliaze ads       

/**
 * Triggered when an error occured.
 */     
On Error occurs     

/**
 * Triggered when an banner closed or not recieved.
 */     
On Resume game  

/**
 * Triggered when banner ad is received and ready to show.
 */     
On Pause game   

How to use & Example

Step 1 -

double click GRAY area

Step 2 -

choose Vooxe Google Ads in Monetisation

Step 3 -

click VooxeGoogleAds and type GameId and UserId

Step 4 -

Initiliaze API

Step 5 -

Add events for pause and resume game. You have to stop your game and mute all sound & music when you see any Google Ads

Showing Banner Between Levels

Pause & Resume Game