Fish Game is a 2-4 player online game built in the Unity game engine, as an example of how to use the Nakama Open Source Game Server game server with Unity.
It demonstrates the following Nakama features:
The game design is heavily inspired by Duck Game.
To get started you will first need to install Docker Desktop.
Once you have installed Docker Desktop, you will find a docker-compose.yml
file in the root directory of the project.
Open a terminal/command prompt here and type:
docker-compose up
This will spin up the Nakama Game Server and an instance of CockroachDB which Nakama uses to store data.
The game has been developed using Unity 2019.4.19f1 and should work on any iteration of 2019.4.
Open up the FishGame
project in Unity 2019.4, go to File -> Build Settings and build the game for your chosen platform. You should then be able to launch two instances of the game to test locally.
- A or Left Arrow - Move Left
- D or Right Arrow - Move Right
- Space - Jump (Hold to jump higher)
- Left Mouse or CTRL - Shoot
This project is licensed under the Apache 2.0 License, with the following exceptions:
- The Pixellari font is licensed under the SIL Open Font License 1.1 and is made by Zedseven.
- The artwork and music is licensed under the PolyForm Noncommercial License 1.0.0.
This project was developed by Code With Tom and kindly sponsored by Heroic Labs, the awesome people behind the Nakama Open Source Game Server.