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.2.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for igeGameAnalytics-0.0.2-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d250fb808f9c4d65ee6075ac865cbf8af58b0fda6459471139c5d90470e0b5f |
|
MD5 | 4887b7d8d2084d3388413c8791ddf670 |
|
BLAKE2b-256 | 81bf9005129aab3cb48930186d69601f75cdae90e026e14f674bcf713c73c3ac |