• Stars
    star
    205
  • Rank 191,264 (Top 4 %)
  • Language GDScript
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

"Fish Game" for Godot is a 2-4 player online multiplayer game created as a demo of Nakama; an open-source scalable game server, using the Godot game engine.

"Fish Game" for Godot

"Fish Game" for Godot is a 2-4 player online game built in the Godot game engine, created as a demonstration of Nakama, an open-source scalable game server.

Animated GIF showing gameplay

You can download playable builds for Windows, Linux and MacOS from the Releases page.

"Fish Game" demonstrates the following Nakama features:

The game design is heavily inspired by Duck Game.

Controls

Playing Online

Gamepad:

  • D-PAD or LEFT ANALOG STICK = move your fish
  • A (XBox) or Cross (PS) = jump
  • Y (XBox) or Triangle (PS) = pickup/throw weapon
  • X (XBox) or Square (PS) = use weapon
  • B (Xbox) or Circle (PS) = blub

Keyboard:

  • W, A, S, D = move your fish
  • C = pickup/throw weapon
  • V = use weapon
  • E = blub

Playing Locally

Gamepad:

Same as the "Playing Online" controls above.

Keyboard:

Action Player 1 Player 2
move your fish W, A, S, D Arrow keys
pickup/throw weapon C L
use weapon V ;
blub E P

Playing the game from source

Dependencies

You'll need:

  • Godot 3.2.3 or later.
  • A Nakama server (version 2.15.0 or later) to connect to.

The easiest way to setup a Nakama server locally for testing/learning purposes is via Docker, and in fact, there is a docker-compose.yml included in the source code of "Fish Game".

So, if you have Docker Compose installed on your system, all you need to do is navigate to the directory where you put the "Fish Game" source code and run this command:

docker-compose up -d

Running the game from source

  1. Download the source code to your computer.
  2. Open Godot and "Import" the project.
  3. (Optional) Edit the autoload/Online.gd file and replace the variables at the top with the right values for your Nakama server. If you're running a Nakama server locally with the default settings, then you shouldn't need to change anything.
  4. Press F5 or click the play button in the upper-right corner to start the game.

Setting up the leaderboard

If you didn't use the docker-compose.yml included with "Fish Game", then the "Leaderboard" won't work until you first create it on your server.

To do that, copy the nakama/data/modules/fish_game.lua file to the modules/ directory where your Nakama server keeps its data, and then restart your Nakama server.

Note: The game will play fine without the leaderboard.

License

This project is licensed under the Apache 2.0 License, with the following exceptions:

More Repositories

1

nakama

Distributed server for social and realtime games and apps.
Go
7,860
star
2

nakama-godot

Godot client for Nakama server written in GDScript.
GDScript
510
star
3

nakama-unity

Unity client for Nakama server.
C#
363
star
4

nakama-godot-demo

A demo project with Godot engine and Nakama server.
GDScript
265
star
5

nakama-unreal

Unreal client for Nakama server.
C++
171
star
6

nakama-js

JavaScript client for Nakama server written in TypeScript.
TypeScript
164
star
7

fishgame-macroquad

"Fish Game" for Macroquad is an online multiplayer game, created as a demonstration of Nakama, an open-source scalable game server, using Rust-lang and the Macroquad game engine.
Rust
136
star
8

unity-sampleproject

A sample game called Pirate Panic for Unity engine built with Nakama server.
C#
132
star
9

nakama-dart

Pure Dart Client for Nakama Server
Dart
131
star
10

nakama-dotnet

.NET client for Nakama server written in C#.
C#
99
star
11

nakama-project-template

An example project on how to set up and write custom server code in Nakama server.
Go
81
star
12

nakama-defold

Defold client for Nakama server.
Lua
78
star
13

nakama-cpp

Generic C/C++ client for Nakama server.
C++
67
star
14

nakama-rs

Rust
65
star
15

nakama-common

The runtime framework for Nakama server.
Go
44
star
16

nakama-docs

Documentation for Nakama social and realtime server.
Shell
43
star
17

fishgame-unity

"Fish Game" for Unity is a 2-4 player online multiplayer game created as a demo of Nakama; an open-source scalable game server, using the Unity game engine.
C#
43
star
18

nakama-java

Java client for the Nakama and Satori servers.
Java
29
star
19

nakama-cocos2d-x

Cocos2d-x client for Nakama server.
C++
27
star
20

nakama-examples

A mono repo with project examples for the Nakama client libraries.
C#
24
star
21

nakama-swift

Swift client for Nakama server.
Swift
24
star
22

pulse

Service registration and discovery library for Elixir. Relies on etcd as an external service registry.
Elixir
16
star
23

hiro

The server interface for the Hiro game framework.
Go
14
star
24

sonic

etcd library and bindings for Elixir.
Elixir
10
star
25

nakama-cocos2d-x-javascript

Cocos2d-x client for Nakama server written in JavaScript
JavaScript
7
star
26

reconstructing-fun

C#
6
star
27

xoxo-phaserjs

JavaScript
5
star