Real time multiplayer game using Firebase

90 views
Skip to first unread message

Utkarsh Parasrampuria

unread,
Nov 21, 2019, 12:36:14 PM11/21/19
to Firebase Google Group
Hi, I want to build a real time multiplayer game in Unity. For simplicity and prototyping purposes, I want to make a 3D free roam map where multiple users can race their cars and bash into each other. I am considering Unity Multiplayer, Photon and Firebase RTDB as my backend options.

I have already successfully developed a turn based card game (Poker) using Firebase and it was an amazing experience for our team. It was a bit tough, but the resulting product worked really well. I have heard concerns from people over latency issues with Firebase (and other problems like pricing model). I want to know if Firebase can actually be used as a backend solution for my use case? Will it work good enough? I know I will have to develop solutions like matchmaking, lag compensation and other solutions which are already solved in Photon and Unity Multiplayer, but I want to try out Firebase and try to see if a better solution is possible.

At the moment, I don't really care about pricing until it will be wildly higher than other options. I just need to know if I should even consider Firebase for such a use case.

Sam Stern

unread,
Nov 22, 2019, 12:32:27 PM11/22/19
to Firebase Google Group
Hi Utkarsh,

Realtime Database is a good choice for low-latency state syncing in a mobile game.  However you will definitely have to be clever in how you use it!  There's no database in the world that's fast enough to sync frame-by-frame game state across many clients, but I think you're already aware of the general challenges.  I have not personally used Unity Multiplayer or Photon so I can't really compare it to those services.

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/712a2788-dba3-4d88-95ef-1991cbf5f94d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages