Add the SDK file
Add the central MobilOyuncu SDK file to your game's HTML.
Connect your game to MobilOyuncu with a standard SDK.
<script src="https://www.mobiloyuncu.com/sdk/v1/mobiloyuncu-sdk.js"></script>
<script>
MobilOyuncu.init({
gameId: 123,
key: "YOUR_GAME_KEY"
});
</script>Connect your game to MobilOyuncu with a standard SDK.
Add the central MobilOyuncu SDK file to your game's HTML.
Start the SDK with the Game ID and integration key shown for this game.
Report starts, levels, scores and other game events when they happen.
Report starts, levels, scores and other game events when they happen.
MobilOyuncu.game.start()MobilOyuncu.game.pause()MobilOyuncu.game.resume()MobilOyuncu.game.end()MobilOyuncu.game.level('level_1')MobilOyuncu.score.submit(1250)MobilOyuncu.event('custom_event')Add the SDK to your game once. When the game is published on another site with a MobilOyuncu embed code, the same integration works automatically; the publisher does not need to add the SDK again.
This browser-side key identifies your game. It is not a secret or payment credential.
Do not send names, emails, passwords, tokens or other personal data in custom SDK events.
Interstitial ads, rewarded ads and possible developer revenue sharing will be added later with signed server validation.
Start the SDK with the Game ID and integration key shown for this game.