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
igeGameAnalytics-0.0.3.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for igeGameAnalytics-0.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76dcdaae5f3c35506e0cfea5c30f7565d72497ab8af812a36b318d2278d79641 |
|
MD5 | dbc3eacbf01b3baceb2a55610fb42cba |
|
BLAKE2b-256 | 39cad0f6ce559d5833ac942b37115919e6be67c5b3be1ffd0be86bbff3ef8f11 |