Publishing SDK for Indi Games Engine
Project description
igeSdk
igeSdk is a compilation of all necessary third party SDKs in order to make your game ready to be published, which contains Analytics, Advertisement, InAppPurchase and CrossPromotion features.
The current implementation status is as below:
- Analytics : Ready (v0.0.1)
- Advertisement : WIP (ETA: v0.0.2)
- InAppPurchase : WIP
- CrossPromotion : WIP
The SDK supports Android and iOS platforms. On unsupported platforms (Windows, Linux, MacOS, ...), it the code still running with dummy functionalities.
Configuration and Initialization
To config the SDK, you need to create igeSdk.config which is a json file contains settings for different modules.
Configuration for Advertisement, InAppPurchase and CrossPromotion is WIP.
To initialize the SDK, just import igeSdk and call initialize() method in your main logic code, like below:
import igeSdk
class GameManager(Script):
def onStart(self):
igeSdk.initialize()
# Other initialization stuffs
The code above will inialize all the enabled modules which are configured in the configuration file.
Notice, the SDK only initialize modules which have been configured. So, to disable unwanted modules, just remove their settings out of the configuration file.
Analytic
The Analytics module is used in order to send informations to the different analytics platform. We are currently using Facebook, GameAnalytics AppsFlyer.
To configure Analytics features, put those settins into igeSdk.config:
{
"FacebookAppId": "YOUR_FACEBOOK_APP_ID",
"AppsFlyerAppid": "YOUR_APPSFLYER_APP_ID",
"AppsFlyerApiKey": "YOUR_APPSFLYER_API_KEY",
"GameAnalyticsGameKey": "YOUR_GAMEANALYTIC_API_KEY",
"GameAnalyticsSecretKey": "YOUR_GAMEANALYTIC_SECRET_KEY"
}
Trackers for Advertisement, InAppPurchase and CrossPromotion modules are sent automatically by the SDK. Game developers should only focus on Progression and Design events to boost their games' performance and revenues, using API below:
import igeSdk
from igeSdk import Analytics
# Level started event: send when player start new level
Analytics.levelStarted(levelName: str)
# Level passed event: send when player successfully passed the level
Analytics.levelPassed(levelName: str, score: int)
# Level failed event: send when player failed the level
Analytics.levelFailed(levelName: str, score: int)
# Custom event: used to track other stuffs like game design events, game states, ...
Analytics.customEvent(eventName: str, eventValue_optional: float)
Advertisement
WIP - ETA: v0.0.2
InAppPurchase
WIP
CrossPromotion
WIP
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file igeSdk-0.0.1.tar.gz.
File metadata
- Download URL: igeSdk-0.0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86d039546e3e8f362dbb948abfe8dcff32409f4f1ce797f66feb1b9116ce11db
|
|
| MD5 |
603cabc98e56f435e205f19eddca9536
|
|
| BLAKE2b-256 |
f4b7f1c99f7e687a3935a2ad2a3ffbdc8ed47abdad1ffb42b2870e6082ddc59f
|
File details
Details for the file igeSdk-0.0.1-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: igeSdk-0.0.1-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 54.5 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a1d9e8b1c441dff5878d886da065bcb680386580031ac733934d935dee3227c
|
|
| MD5 |
95c939d6076971bc5673beec5cc6271c
|
|
| BLAKE2b-256 |
aace1e31bb6ce6001f425ada489a2ec7c45f8a21d2c80e9970d3836cbebc04ce
|