This page includes everything needed to use this feature in the "Beamable SDK for Unity". Or watch this 5 minute video.
The purpose of this feature is to allow the player to see UI for their virtual currency.
A common use case for the feature is covered in the guides. See Adding Content for more info.
What Can Players Use Currency For?
The usage of currencies depends on the game's design. Some currencies are used to mark or symbolize the player's progress through the game. The player 'feels' they have achieved more progress when they see the currency increase. Experience points (XP) is a good example of this.
A game also may allow the player to unlock content by spending currency.
Types of Currency
It is common to think about in-game currency in two major types; Hard CurrencyHard Currency - A currency type rewarded to the player through IAP transactions of real-world money. (Ex. Gems) and Soft CurrencySoft Currency - A currency type rewarded to the player through gameplay progression. (Ex. Experience Points or XP).
Many teams design a multiple currency model for their in-game economies.
|Hard Currency||Rewarded to the player through IAP trasactions|
|Soft Currency||Rewarded to the player through gameplay progression|
Example: Experience Points (XP)
When setup properly, the player's user interface in the game project will be as follows.
Follow these steps to get started.
|1. Open the "Toolbox" Window||• Unity → Window → Beamable → Open Beamable Toolbox|
|2. Add the "Currency HUD" Prefab||• Drag this Prefab from the Beamable Toolbox Window to the Unity Hierarchy Window|
Here is the "Beamable" menu as seen in Unity.
Here is the feature Prefab as seen in the Beamable Toolbox.
Some Beamable features include some setup and configuration by default.
Beamable includes Gems in the game project by default. Press the "-" button in the Content Manager to delete the Gems if Gems are not desired.
Here are a few advanced configuration options and workflows.
Currency is optional in each game project. Beamable supports multiple currencies. See Step 4 - Adding Content for more info on adding a new custom currency.
The Portal allows the game maker to gift currency to a player.
- Open the Portal
- Search for player by DBIDDBID - The database identification. Beamable generates an anonymous account for the player when the project first runs or email
- Increment the amount, for existing currency type
- or add the currency, for a new currency type
There are several ways to reward currency to the player;
Updated 6 days ago