Creating Parameters
Parameters are variables of your game managed by Hyperstone. These are what the system selects and optimizes during optimizations: for example, ad display interval, shop item price, or first level difficulty.
How to open parameter management
Section titled “How to open parameter management”- Go to your project page.
- On the right side of the screen, you will see the parameters panel (it is empty by default if parameters have not been added yet).
- Click the Config button — it will open the parameter settings page.
- Or go directly via the Hyperstone Console.
How to add a new parameter
Section titled “How to add a new parameter”On the parameters page, click the Add Parameter button. A form with several fields will open.
1. Parameter Name
Section titled “1. Parameter Name”Enter a unique parameter name.
Examples of good names:
| ✅ Good | ❌ Bad |
|---|---|
ad_interstitial_interval | AdInterval, ad interval, param1 |
shop_gems_price | shopGemsPrice, price, цена |
first_level_difficulty | lvl1, difficulty-1, D1 |
2. Parameter Description
Section titled “2. Parameter Description”Fill in the Description field — briefly explain what this parameter is responsible for. A good description helps the team understand the project without unnecessary questions.
Example: Interval in seconds between full-screen ad displays. Affects the frequency of ad displays and the user experience.
3. Data Type
Section titled “3. Data Type”Choose one of three types:
| Type | Application | Example Values |
|---|---|---|
| String | Text data, identifiers, codes | "easy", "theme_dark", "promo_v2" |
| Number | Numbers: integers and decimals | 60, 0.99, 1500 |
| Boolean | On/Off switch | true, false |
4. Default Value
Section titled “4. Default Value”Specify a default value — this is what the player will receive if the optimization has not yet started or if the user did not fall into any of the test groups. This value should correspond to the current “baseline” behavior of your game.
Saving a Parameter
Section titled “Saving a Parameter”After filling in all fields, click Save. The parameter will appear in the panel on the right of the project page and become available for use in optimizations.
What’s next?
Section titled “What’s next?”Once parameters are added, you can create an optimization and begin optimizing.