Here is everything needed to use the Currency HUD Feature PrefabFeature Prefab - The drag-and-drop template for a specific Beamable product feature in the "Beamable SDK for Unity". Or watch this video.
This feature is flexible to meet the currency needs of each game's design. Currencies are used to buy items (e.g. Gold). Currencies are also used to symbolize the player's progress through the game; e.g. experience points (XP).
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.
Rewarded to the player through IAP trasactions
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.
• Unity → Window → Beamable → Open Beamable Toolbox
• 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.
This section contains any 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 3 months ago