PubNub Prix: A live leaderboard and lobby chat for a Unity game
Try these · any order
Done: 0/4To do: Enter your username
To do: Start Racing!
To do: Submit your time
To do: Send the lobby chat
Make your own PubNub Prix
Follow the tutorial to see how the leaderboard and lobby chat are built, or clone the game and open it in Unity.
Tutorial
Add a live leaderboard and lobby chat to a Unity game
Set up your keyset and the leaderboard Function, then learn how the game submits times, updates the board, and runs the lobby chat.
GitHub
PubNubDevelopers/unity-karting-game
The complete Unity project. Check out the leaderboard-chat branch, add your publish and subscribe keys to GameConstants.cs, set up the leaderboard Function from the README, then build and run.
git clone https://github.com/PubNubDevelopers/unity-karting-game.gitYou might want to build next...
- Collaboration
CoDoodler: Collaboration Demo
Draw with your friends! Powered by PubNub, our real-time collaboration demo demonstrates a simple drawing application that allows for multiple users to draw at the same time on a canvas.
- Virtual Events
Streaming and Live Events Demo
Building a live event app such as a sports match, a concert, or streamed media event? Easily add real-time features like chat, polls, reactions, data sync, and gamification with PubNub
- Real-time Streaming
Real-Time Data Streaming Demo
Streaming data is a continuous flow of information from various sources in real time. PubNub’s live streaming APIs enable you to generate, process, and deliver streaming data to any number of subscribers.