Configuring stats in VIVEPORT
Create stats from the VIVEPORT Developer Console. They provide important motivation and social credit for end users to stay engaged and motivated to explore your titles.
- Log in to the VIVEPORT Developer Console with your HTC account.
- Select your title from the Manage page. If you haven’t created a title yet, click Add New Title and follow the onscreen instructions to add a new one.
-
Click
Stat
in the menu, and then click
Add stat
.
-
Fill in the following fields:
API Name* Choose a name to reference this stat in API calls Type* Choose INT , Float , or AVG . AVG will prompt Incremental stats* Choose Yes to only update stats when the new value is higher than the old one. Initial state* Under construction – choose Revealed Aggregated Under construction – choose No Max change Set to ignore changes larger than this value. Changes larger than this will be discarded without error. Min change Set to ignore changes smaller than this value. Changes smaller than this will be discarded without error. Max value Set highest possible value of the stat. Default value Set to change the default value from 0. Window size For AVG stats, choose how many of the most recent stat to be averaged. Language Choose a language for the stat name. Different languages can have different names. Display name* Choose a name that will be shown in the VIVEPORT showroom. * denotes a required field
- Click OK to save the stat.