GD-HTML5
GD-HTML5 copied to clipboard
The repository containing the GameDistribution SDK for HTML5 games. This allows you to display advertisements and other solutions available to games published within the GameDistribution network.
Hello guys. I tried to integrate your plugin for Constuct 3 but it doesn't work properly. Could you please provide an example project - source code for C3 in format...
It seems to work fine when an ad is shown. But when an ad error occurs it keeps unresolved forever. An easy way to reproduce this is to load the...
When you call `gdsdk.openConsole()` when it is already open, it opens a duplicate console for which the buttons don't do anything. I'd like to automatically call `gdsdk.openConsole()` after initialization so...
I tried setting `advertisementSettings.debug` to `true`, calling `gdsdk.openConsole()` and changing my hosts file. But ads are never showing. It just logs a whole bunch of errors in the console.
Hello, Sometimes when I call `gdsdk.showAd` I get a warning: > The advertisement was requested too soon It is fine and I understand why it happens. But my question is...
https://github.com/GameDistribution/GD-HTML5/wiki/SDK-Implementation bag: ```javascript nextButton.addEventListener('mouseUp', function () { if (typeof gdsdk !== 'undefined' && gdsdk.showBanner !== 'undefined') { gdsdk.showBanner(); } }); ``` good: ```javascript nextButton.addEventListener('mouseUp', function () { if (typeof gdsdk...
The Error constructor parameter is incorrect here: https://github.com/GameDistribution/GD-HTML5/blob/db9b5ebfda359be3994c5e8744e48e9026725198/src/main.js#L1127 According to MDN the second parameter for the Error constructor is an optional filename: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/Error I think the line should say: ```...