C++ extension Ads for 3D and 2D games.
Project description
igeAds
C++ extension Ads for 3D and 2D games.
Before running this tutorial, you have to install igeAds
[pip install igeAds]
Available libraries
- Admob [ Android / iOS ] (do not recommend)
- Applovin [ Android / iOS ] (recommend)
- Facebook [ Android / iOS ] (do not recommend)
Functions
Applovin
-
First, you need to import and init the module
import igeAds ads_applovin = igeAds.applovin() ads_applovin.init(android=("50781ce08cccd9e5", "5ad29e98a6ed623c", "1a61c958e699b07a"), ios=("543b53f89be58d39", "ded4ed1fe2aa54e0", "3602eab376c95aa3"))
-
Showing the ads
- Banner
Position MoveTo Enum Top of the screen, horizontally centered. kPositionTop = 0, Bottom of the screen, horizontally centered. kPositionBottom, Top-left corner of the screen. kPositionTopLeft, Top-right corner of the screen. kPositionTopRight, Bottom-left corner of the screen. kPositionBottomLeft, Bottom-right corner of the screen. kPositionBottomRight, // default (position = 0, left = 0, top = 0) ads_applovin.showBanner(position, left, top) ads_applovin.hideBanner()
- Interstitial
ads_applovin.showInterstitial()
- RewardedVideo
ads_applovin.showRewardedVideo() ads_applovin.pauseRewardedVideo() ads_applovin.resumeRewardedVideo()
-
Release it when everything is done
ads_applovin.release()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
igeAds-0.0.3.tar.gz
(18.0 kB
view hashes)
Built Distributions
igeAds-0.0.3-cp39-cp39-win_amd64.whl
(197.8 kB
view hashes)
igeAds-0.0.3-cp37-cp37m-win32.whl
(278.6 kB
view hashes)
Close
Hashes for igeAds-0.0.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c581d44174045788ef0ff4c3b265e531d7260d45880a953421c8f680a3979db8 |
|
MD5 | 0b4dd316f4df066bdfbd211a6997db9d |
|
BLAKE2b-256 | 358b01534d7ace316453d609086ab310dd6dd635ab39b1ee8e87a67e58496c83 |
Close
Hashes for igeAds-0.0.3-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcf4f929ca39bbb6a6d9ca433b081446743a5f7ea96fb4299bc1ff4b32b854e3 |
|
MD5 | f3c4671160587e9b35f4281848a22a04 |
|
BLAKE2b-256 | e0635fdfc73be6d525f9045af9d1454e7e8a80120c68effa49077554d69862e2 |
Close
Hashes for igeAds-0.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea6abd16428e31ac7ac15415c065310f0f2b18d7cd352088d5b775e074d666b |
|
MD5 | ecb09738276363ec4cde819022d5a18e |
|
BLAKE2b-256 | 3918ad6c6b0bd100a80f0ca919d18eff132990de20d38382973628971d8ebd72 |