Skip to main content

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
    • 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
    • example

       igeGameAnalytics.addDesignEvent(event[0])
       igeGameAnalytics.addDesignEvent(event[0], 10)
      
  • ...

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

igeGameAnalytics-0.0.3.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

igeGameAnalytics-0.0.3-cp37-cp37m-win32.whl (1.4 MB view hashes)

Uploaded CPython 3.7m Windows x86

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page