This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Progression Event
Martin Treacy-Schwartz edited this page Mar 15, 2017
·
2 revisions
Progression events are used to track attempts at completing some part of a game (level, area). A defined area follow a 3 tier hierarchy structure (could be world:stage:level) to indicate what part of the game the player is trying to complete.
When a player is starting a progression attempt a start event should be added.
When the player then finishes the attempt a fail or complete event should be added along with a score if needed.
Add a progression start event.
gameanalytics::GameAnalytics::addProgressionEvent(gameanalytics::EGAProgressionStatus::Start, "world01", "stage01", "level01");
It is not required to use all 3 if your game does not have them.
- progression01
- progression01 and progression02
- progression01 and progression02 and progression03
Field | Type | Description | Example |
---|---|---|---|
progressionStatus | enum | Status of added progression | gameanalytics::EGAProgressionStatus::Start gameanalytics::EGAProgressionStatus::Fail gameanalytics::EGAProgressionStatus::Complete |
progression01 | string | Required progression location. | World01 |
progression02 | string | Not required. Use if needed. | Stage01 |
progression03 | string | Not required. Use if needed. | Level01 |
score | integer | An optional score when a user completes or fails a progression attempt. | 1023 |
ℹ️
For more information on the progression event go here.