/leadbolt

Stencyl Leadbolt Advertising Extension (Openfl)

Primary LanguageObjective-C++OtherNOASSERTION

Stencyl Leadbolt Advertising Extension (Openfl)

For Stencyl 3.4 and above

Stencyl extension for "Leadbolt" (http://www.leadbolt.com) on iOS and Android. This extension allows you to easily integrate Leadbolt on your Stencyl game / application. (http://www.stencyl.com)

IMPORTENT

This Extension Required the Toolset Extension Manager https://byrobingames.github.io

leadbolttoolset

Main Features

  • Interstitial Support.
  • Rewarded Video Support.

GDPR Support

See https://www.leadbolt.com/gdpr/

How to Install

To install this Engine Extension, go to the toolset (byRobin Extension Mananger) in the Extension menu of your game inside Stencyl.
toolsetextensionlocation
Select the Extension from the menu and click on "Download"

If you not have byRobin Extension Mananger installed, install this first.
Go to: https://byrobingames.github.io

Documentation and Block Examples

This extension contains the following blocks. You can find them in your Palette under the “Extension” tab.

Fill in your API KEY in the Toolset Manager
You can find your API KEY under your Account at Leadbolt.

leadboltapikey

!!ON ANDROID YOU NEED TO ENABLE ADMOB ADS INSIDE STENCYL!!


Initialize Leadbolt
leadboltinitialize
Use this block to initialize Leadbolt ads. Use this block once per user session (from the moment the user starts to play until the user quits the game).
For example in a loading scene.


Load/Show Interstitial Ads
leadboltloadshowinterstitial
Use this block to load or show the interstitial ad from leadbolt, load before you can show the interstitial.


Load/Show Rewarded Video Ads
leadboltloadshowrewarded
Use this block to load or show the rewarded video from leadbolt, load before you can show the video.


Callbacks Interstitial and Rewarded Video
callback1
Use this block in an “if statement”. Each condition becomes TRUE when a specific event is happening. Before and after the event, the condition will always be FALSE.

  • “did successfully load”. It becomes TRUE when an Interstitial/Video ad successfully loads.
  • “did fail to load”. It becomes TRUE when an Interstitial/Video ad fails to load.
  • “is Closed”. It becomes TRUE when an Interstitial/Video ad is closed (dismiss).
  • “is Clicked”. It becomes TRUE when an Interstitial/Video ad is Clicked.

Callbacks Rewarded Video
callback2
Use this block in an “if statement”. Each condition becomes TRUE when a specific event is happening. Before and after the event, the condition will always be FALSE.

  • “has been fully watched” It becomes TRUE when an Rewarded Video ad is fully watched.
  • “has not been fully watched” It becomes TRUE when an Rewarded Video ad is not fully watched.

Version History

  • 2015-11-08 (1.1) : First release
  • 2016-03-18 (1.2) : Required byRobin Extension Manager to get it work on iOS9
  • 2016-09-26 (1.3) : Update SDK to 7.1 for both iOS and Android
  • 2017-03-19 (1.4) : Update SDK to 8.0 for both iOS and Android. - Andrdoid Gradle support for openfl4
  • 2017-05-16(1.4.1) Tested for Stencyl 3.5, Required byRobin Toolset Extension Manager
  • 2019-01-12(1.4.2) FIX: Android JNI import; Update SDK to 9.0 for both iOS and Android

Submitting a Pull Request

This software is opensource.
If you want to contribute you can make a pull request

Repository: https://github.com/byrobingames/leadbolt

Need help with a pull request?
https://help.github.com/articles/creating-a-pull-request/

ANY ISSUES?

Add the issue on GitHub
Repository: https://github.com/byrobingames/leadbolt/issues

Need help with creating a issue?
https://help.github.com/articles/creating-an-issue/

Donate

paypal

Privacy Policy

http://www.leadbolt.com/privacy/

License

Author: Robin Schaafsma

The MIT License (MIT)

Copyright (c) 2014 byRobinGames http://www.byrobin.nl

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.