A collection of examples and guides for building multiplayer and live service games with the Heroic Labs tech stack.
- examples/ — Fully working Unity projects covering common multiplayer and social features. Download, play, and copy the code into your own games.
- guides/ — Companion projects for how-to guides from the Heroic Labs documentation, covering popular game mechanics and features.
Nakama examples
Nakama is an open-source game backend for multiplayer and social features.
- Cloud Save - Save player data in the cloud that syncs between devices.
- Friends - Manage friend lists and requests, block and unblock players.
- Groups - Create in-game communities for players to band together.
- Leaderboards - Weekly and global rankings with real-time record updates.
- Tournaments - Run tournaments with rules around participation and scoring.
Hiro examples
Hiro is a metagame framework that adds advanced player progression, competitive systems, economies, and teamplay features on top of Nakama.
- Achievements - Track and reward players for completing missions or reaching milestones.
- Challenges - Compete against friends in different game modes.
- Event Leaderboards - Create cohort-based leaderboards with tiered progression.
- Inventory - Manage player items, equipment, and collectibles.
- Store - Set up virtual storefronts for in-game purchases.
- Teams - Form and manage player teams (e.g., guilds, clans) for cooperative gameplay.
Guides
- Gacha - Spend currency for a random item drawn from a weighted pool of rewards. Also known as a lootbox.
- Player XP - Earn experience points, cross a threshold, and level up. This project uses Achievements and Currency to build an XP system.
- Dynamic Store - Configure store contents and pricing remotely using Satori, the LiveOps platform.
Nakama is an open-source game backend for multiplayer and social features. Used by 800,000+ developers worldwide.
Hiro is a metagame framework that adds advanced player progression, competitive systems, economies, and teamplay features on top of Nakama.
Found a bug or want to improve a project? We welcome contributions! Please open an issue or submit a pull request.
Heroic Labs | Website