This Unity sample project demonstrates the features of the Nakama server by Heroic Labs.
Nakama is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much more.
These docs provide everything you need to download the Unity game, run the Nakama server, and play "Pirate Panic".
The repo includes these scenes for the sample game project.
The game centralizes some values which are intended for tweaking and experimentation by game developers.
The Docker Engine is required. Follow the Heroic Labs quickstart guide.
To start the game server and database once Docker is setup navigate to the .\ServerModules
folder and run:
docker-compose up
The Unity Editor is required. Download it from Unity3d.com/get-unity/download.
./PiratePanic/
in Unity Version 2020.3.7f1 or higher.Standalone Build Play Session
Unity Editor Play Session
./PiratePanic/Assets/PiratePanic/Scenes/Scene01MainMenu.unity
Now the Standalone is playing against the Unity Editor. Enjoy!
GitHub issues and pull requests are welcome. If you're interested in enhancing the code please open an issue to discuss the changes or drop in and discuss it in the community forum.
To modify the Typescript remote procedure calls (RPCs), install Node Package Manager (NPM), run npm install
and npx tsc
from the ServerModules
folder, and restart the server.
More documentation on working with the Nakama Typescript runtime can be found here: https://heroiclabs.com/docs/runtime-code-typescript-setup/
This project source code and documentation is licensed under the Apache-2 License. All images, graphics, and other non-code resources are licensed under CC BY-NC-ND. Please reach out on a GitHub issue if you have any questions.
All 3rd-party assets and libraries used in this project retain all rights under their respective licenses.