Multiplayer Game In Unity with Firebase tutorial! (all platforms w/ Realtime/Auth & Cloud Functions)

Опубликовано: 26 Октябрь 2024
на канале: uNicoDev
10,845
214

Today I'll show you the capabilities of Firebase by creating a Multiplayer game in Unity using services like Realtime Database, Authentication & Cloud functions! This setup will allow for secure matchmaking & turn-based multiplayer between users for all platforms and little to no cost!
Leave a like if you enjoy these sorts of videos and let me know what I should do next!
- - - - - - - -
Check out this tutorial's code on Github: https://github.com/rotolonico/Unity-F...
Download this video's slides: https://drive.google.com/file/d/15wg8...
- - - - - - - -
Mentioned videos
Firebase SDK In WebGL:    • Adding Firebase SDK In Unity WebGL bu...  
Unity coroutines tutorial:    • How to run code after a delay in Unit...  
Firebase Authentication tutorial:    • How to set up Firebase Authentication...  
Firebase Cloud Functions tutorial:    • Firebase Cloud Functions Tutorial + R...  
Firebase Realtime Rules tutorial:    • Firebase Rules Tutorial for your Real...  
- - - - - - - -
Chapters:
0:00 Intro
0:59 Why use Firebase?
3:50 Demonstration time!
9:12 Client/Firebase communication
11:35 Supported platforms
13:21 Project structure
17:40 Let's make a move!
20:36 What are coroutines?
24:22 Error handling
26:17 Let's listen for a move!
31:05 User authentication
34:22 Backend code!
36:41 The queue
38:13 Matchmaking
40:42 What are transactions?
45:07 Ready-up
46:21 Processing a move
48:22 Securing our database!
52:38 Let's recap!
53:40 Outro
- - - - - - - -
Join my coding discord:   / discord  
Music used in the video made by Elektronomia
#unity #firebase #multiplayer