All Projects → rotolonico → Unity-Firebase-Multiplayer-Example

rotolonico / Unity-Firebase-Multiplayer-Example

Licence: other
Multiplayer and Matchmaking system using Firebase Realtime Database in Unity

Programming Languages

C#
18002 projects
ShaderLab
938 projects
python
139335 projects - #7 most used programming language
HLSL
714 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Unity-Firebase-Multiplayer-Example

MyRTS
Multiplayer RTS game prototype written in Java using LibGDX
Stars: ✭ 17 (-46.87%)
Mutual labels:  multiplayer, multiplayer-game
Forgenetworkingremastered
In short, Forge Networking is a free and open source multiplayer game (multi-user) networking system that has a very good integration with the Unity game engine. You wanna make a multiplayer game or real time multi-user application? This is the library for you.
Stars: ✭ 1,338 (+4081.25%)
Mutual labels:  multiplayer, multiplayer-game
Openspades
Compatible client of Ace of Spades 0.75
Stars: ✭ 769 (+2303.13%)
Mutual labels:  multiplayer, multiplayer-game
text
An experiment with WebSockets and the human condition.
Stars: ✭ 51 (+59.38%)
Mutual labels:  multiplayer, multiplayer-game
asciiarena
Terminal multiplayer deathmatch game
Stars: ✭ 34 (+6.25%)
Mutual labels:  multiplayer, multiplayer-game
Ogar3
A better version of Ogar
Stars: ✭ 22 (-31.25%)
Mutual labels:  multiplayer, multiplayer-game
Frag.exe
Multiplayer First-Person Shooter written in C++ using my own engine, Qor
Stars: ✭ 8 (-75%)
Mutual labels:  multiplayer, multiplayer-game
Crystalshire
Legacy VB6 open-source ORPG
Stars: ✭ 24 (-25%)
Mutual labels:  multiplayer, multiplayer-game
Mrboom Libretro
Mr.Boom is an 8 player Bomberman clone for RetroArch/Libretro
Stars: ✭ 162 (+406.25%)
Mutual labels:  multiplayer, multiplayer-game
Magicallife
A 2d game that aspires to be similar to Rimworld, with more depth, magic, and RPG concepts.
Stars: ✭ 145 (+353.13%)
Mutual labels:  multiplayer, multiplayer-game
space
A SCI-FI community game server simulating space(ships). Built from the ground up to support moddable online action multiplayer and roleplay!
Stars: ✭ 25 (-21.87%)
Mutual labels:  multiplayer, multiplayer-game
liblast
A libre multiplayer FPS game created in Godot Engine
Stars: ✭ 92 (+187.5%)
Mutual labels:  multiplayer, multiplayer-game
PlaceInvaders
Multiplayer AR game sample
Stars: ✭ 24 (-25%)
Mutual labels:  multiplayer, multiplayer-game
colyseus-kotlin
⚔ Implementation of Colyseus client using Kotlin
Stars: ✭ 26 (-18.75%)
Mutual labels:  multiplayer, multiplayer-game
cards-over-lan
A Cards Against Humanity clone for LAN play. Works on desktop and mobile. Supports custom cards in multiple languages.
Stars: ✭ 45 (+40.63%)
Mutual labels:  multiplayer, multiplayer-game
Ancientbeast
Turn Based Strategy Game. Master your beasts! 🐺
Stars: ✭ 907 (+2734.38%)
Mutual labels:  multiplayer, multiplayer-game
SuperCTF
A multiplayer capture the flag game made in Godot with love and blood. Running live at www.superctf.com
Stars: ✭ 26 (-18.75%)
Mutual labels:  multiplayer, multiplayer-game
LunarGdx
A networking library for LibGDX utilizing Netty allowing easy creation of multiplayer games.
Stars: ✭ 23 (-28.12%)
Mutual labels:  multiplayer, multiplayer-game
Reldens
Reldens - You can make it - Open Source MMORPG Platform
Stars: ✭ 130 (+306.25%)
Mutual labels:  multiplayer, multiplayer-game
karting
A multiplayer racing example project in Unity using the SocketWeaver SDK
Stars: ✭ 39 (+21.88%)
Mutual labels:  multiplayer, multiplayer-game

Unity-Firebase-Multiplayer-Example

What is this?

This is an example of a simple turn game created in Unity using the Firebase SDK. It contains a matchmaking backend system that allows two players to get into the same match and a ready-check and move submitting frontend system that allows the players to make their moves and sync their position with other players.

How do I implement this into my App?

In order to implement this for your Firebase project follow these steps:

  • Download the google-services file for your Unity project (if you need to build your App for Android or MacOS). More info here
  • Set up cloud functions for your Firebase project (firebase init) and then copy the contents of the index.js file in this repository's assets folder and paste it in your own project index.js file. Finally deploy the changes (firebase deploy). More info here

v2 branch

  • The v2 branch is an improvement of the Multiplayer system showcased in the tutorial video, which allows for a secure multiplayer example. This is done by disallowing the client from writing to the database completely and instead validating all requests through cloud functions.
  • Additionally, Realtime Rules have been added to make it so the client can only read their own matchmaking and game data (database.rules.json)
  • You can watch the updated video that showcases the v2 branch here
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].