C++ extension GameAnalytics for 3D and 2D games.
Project description
igeGameAnalytics
C++ extension GameAnalytics for 3D and 2D games.
Before running this tutorial, you have to install igeGameAnalytics
[pip install igeGameAnalytics]
Functions
import igeGameAnalytics
- init
igeGameAnalytics.init('version', 'game_key', 'secret_key', debug=True/False)
- addProgressionEvent
-
igeGameAnalytics.addProgressionEvent(progressionStatus, progression01, progression02, progression03, score)
- progressionStatus : int(Start = 1, Complete = 2, Fail = 3)
- Status of added progression
- progression01 : string
- Required progression location
- progression02 : string(optional)
- Not required. Use if needed
- progression03 : string(optional)
- Not required. Use if needed
- score : int(optional)
- An optional score when a user completes or fails a progression attempt
- progressionStatus : int(Start = 1, Complete = 2, Fail = 3)
-
example
igeGameAnalytics.addProgressionEvent(1, "world01", score=0) igeGameAnalytics.addProgressionEvent(1, "world01", "stage01") igeGameAnalytics.addProgressionEvent(1, "world01", "stage01", score=1) igeGameAnalytics.addProgressionEvent(1, "world01", "stage01", "level01") igeGameAnalytics.addProgressionEvent(2, "world01", "stage01", "level01", score=2)
-
- addDesignEvent
-
igeGameAnalytics.addDesignEvent(eventId, value)
- eventId : string
- The eventId is a hierarchy string that can consist of 1-5 segments separated by ‘:’. Each segment can have a max length of 32
- value : float(optional)
- A float event tied to the eventId. Will result in sum & mean values being available
- eventId : string
-
example
igeGameAnalytics.addDesignEvent(event[0]) igeGameAnalytics.addDesignEvent(event[0], 10)
-
- ...
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file igeGameAnalytics-0.0.3.tar.gz
.
File metadata
- Download URL: igeGameAnalytics-0.0.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b062f63074470299359146e5064234a55f651f12a9e0e6840b20b518a7bf3cfa |
|
MD5 | 3c5dbfae84d124668c6d9173d13422e7 |
|
BLAKE2b-256 | 61a9d5e2ce033cdeb198b594e2dadf43c33a7e32993f136e024c3ac020ac303e |
File details
Details for the file igeGameAnalytics-0.0.3-cp37-cp37m-win32.whl
.
File metadata
- Download URL: igeGameAnalytics-0.0.3-cp37-cp37m-win32.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76dcdaae5f3c35506e0cfea5c30f7565d72497ab8af812a36b318d2278d79641 |
|
MD5 | dbc3eacbf01b3baceb2a55610fb42cba |
|
BLAKE2b-256 | 39cad0f6ce559d5833ac942b37115919e6be67c5b3be1ffd0be86bbff3ef8f11 |