All Projects → obrunsmann → flutter_nakama

obrunsmann / flutter_nakama

Licence: MIT license
Pure Dart Client for Nakama Server 🌟🥰🤩

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to flutter nakama

nakama-docs
Documentation for Nakama social and realtime server.
Stars: ✭ 44 (-10.2%)
Mutual labels:  nakama
fishgame-godot
"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.
Stars: ✭ 153 (+212.24%)
Mutual labels:  nakama
nakama-common
The runtime framework for Nakama server.
Stars: ✭ 31 (-36.73%)
Mutual labels:  nakama
unity-sampleproject
A sample game called Pirate Panic for Unity engine built with Nakama server.
Stars: ✭ 115 (+134.69%)
Mutual labels:  nakama
Nakama
Distributed server for social and realtime games and apps.
Stars: ✭ 5,293 (+10702.04%)
Mutual labels:  nakama
nakama-java
Android optimized Java client for Nakama server.
Stars: ✭ 26 (-46.94%)
Mutual labels:  nakama
nakama-examples
A mono repo with project examples for the Nakama client libraries.
Stars: ✭ 22 (-55.1%)
Mutual labels:  nakama
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.
Stars: ✭ 123 (+151.02%)
Mutual labels:  nakama

Nakama Flutter Client 🤩 🎮 🌍 🛰

Nakama is an open-source scalable game server. This is a Flutter client for Nakama written in pure dart and supports cross platform gaming on iOS, Android, Web and more.

GitHub issues GitHub last commit Pub Version


🚦 Current Status

Almost all basic functions which are necessary to start playing around with Nakama are ready to use. Please feel free to give your feedback with creating an issue. I am currently working on getting a 100 % coverage with this SDK.

🚀 Getting Started

1. Setup Nakama Server

You need a Nakama instance for developing. I suggest setting up Nakama with Docker Compose. You find a tutorial here: Install Nakama with Docker Compose and here Installation & Setup.

2. Add flutter_nakama to pubspec.yaml.

name: your_game
dependencies:
    flutter:
        sdk: flutter
    flutter_nakama: ^0.1.0

3. Create nakama base client

final client = getNakamaClient(
  host: '127.0.0.1',
  ssl: false,
  serverKey: 'defaultkey',
  grpcPort: 7349, // optional
  httpPort: 7350, // optional
);

4. Use the SDK

For example start with logging into an user account:

final session = await getNakamaClient().authenticateEmail(
    email: '[email protected]',
    password: 'mySecurePassword!',
);

print('Hey, you are logged in! UserID: ${session.userId}');

Documentation

Flutter SDK Docs: https://flutter-nakama.gitbook.io

Nakama Docs: https://heroiclabs.com/docs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].