Game settings reference

Forest exploration initially rewards 10 coins. Find the names and values used throughout the tutorial here.

These are the names and values used in the game. Studio and SDK courses use the same game rules. Each chapter includes the values needed at that point; use this list to compare settings later.

Connection names

SettingStudioSDK (Unity)
AccountAccountadventure-account
Key namespace / keydefault / defaultdefault / default
QuestQuestadventure-quest
Money2Currencyadventure-coin
StaminaEnergyadventure-stamina
ExchangeEnergyProductadventure-shop

Studio names come from the packages you add. Studio creates Account by deploying the Account Transfer package. The SDK course manages Account in the adventure-login stack and game settings in adventure-game. Both use Default for connection credentials and keys.

Adventures and rewards

The first adventure is Forest exploration. Each completion grants 10 coins.

GS2-Quest calls adventures “quests”. Use main as the quest group identifier and forest for Forest exploration. Display “Forest exploration” on screen and use forest in API calls.

SettingValue
Quest groupmain
Quest identifierforest
Display nameForest exploration
Normal completion reward10 free coins
Extra first-completion rewardNone
Failure rewardNone

Coins are managed in a GS2-Money2 wallet. This game uses the wallet in slot 0 for both rewards and purchases.

Only one adventure can be in progress at a time. Starting one switches to the in-progress view; completing it returns to the list. If the app closes mid-adventure, the next login loads that adventure from GS2 and displays it.

Stamina and the shop

Chapters 1–4 allow adventures without stamina costs. Chapter 5 adds stamina consumption when an adventure starts.

SettingValue
Stamina model identifierstamina
Initial value20
Normal recovery limit20
Natural recovery1 every 300 seconds
Forest exploration cost5

When stamina runs low, wait for it to recover or spend coins. Chapter 6 adds this recovery product.

SettingValue
Product identifierrefill
Price20 coins
Stamina restored10

Settings from chapter 7 onward

Chapter 7 changes the forest reward to 15 coins and adds Cave exploration, identified by cave. It costs 8 stamina to start and grants 20 coins on completion.

From chapter 7 and throughout the extensions, Forest exploration rewards 15 coins. Keep this coin reward when adding potions or characters to the quest rewards.