Caution: Fraudulent or imitation websites may appear. Only this site is official. Report concerns on our Report Fraud page.
Virtual Currency (VC) is one of the core systems used in VR fangames.
It allows your game to reward players, sell cosmetics, track earnings, and manage in‑game economies safely through PlayFab.
This page explains how Virtual Currency works, how to set it up, and how it fits into your game’s backend.
1. What Virtual Currency Is Used For
Virtual Currency is commonly used for:
Buying cosmetics
Unlocking badges
Purchasing items in the shop
Rewarding players for gameplay
Event rewards
Daily login bonuses
Leveling systems
In Gorilla Killers, our currency code is KC (Killer Coins).
2. How Virtual Currency Works in PlayFab
PlayFab handles all currency operations server‑side:
Adding currency
Subtracting currency
Checking balances
Using currency in stores
Granting currency through CloudScript
This keeps your economy secure and prevents cheating.
3. Currency Codes
Every currency has a 2‑letter code, such as:
KC – Kill Coins
GC – Gold Coins
CR – Credits
BA – Bananas (example)
You define these in the PlayFab Economy settings
4. Setting Up Virtual Currency
Inside your PlayFab dashboard:
Go to Economy
Open Currencies
Add a new currency
Set the code (example: KC)
Add a display name
Save
Your game can now use this currency.
5. Common Currency Operations
These are the most used operations in VR fangames:
Add Currency
Used for rewards, events, or daily bonuses.
Subtract Currency
Used when buying cosmetics or items.
Get Currency Balance
Used when loading the player’s shop UI.
Grant Currency (Admin)
Used for staff tools or compensation
6. How Currency Fits Into Your Game Flow
Typical VR fangame currency flow:
Player logs in
Game loads their currency balance
Player earns currency by playing
Player spends currency in the shop
Game updates their balance
PlayFab saves the new amount
This keeps the economy consistent across sessions.
7. Best Practices
Never modify currency directly on the client
Use CloudScript for secure operations
Keep currency values small and readable
Avoid giving too much currency too fast
Log currency changes for debugging
Use Title Data for shop prices
8. Common Uses in Gtag‑Style Games
Buying cosmetics
Unlocking badges
Event rewards
Daily login bonuses
Level progression
Seasonal shops
Limited‑time items
Virtual Currency is the backbone of most cosmetic systems.