Skip to content

polydes/leadbolt

Repository files navigation

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)

leadbolttoolset

Main Features

  • Interstitial Support.
  • Rewarded Video Support.

GDPR Support

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

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.

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.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors