Open landerson25 opened 4 months ago
We can choose to make "Quick Play" or "Private Game" or both.
In the Youtube video above, it explains how to create "Private Game" mode, and the thing is how to implement the keyboard.
The point of the "Quick Play" is how to make Queue system in the game.
It would be a lot easier to make "Private Game" mode if we know how to implement VR keyboard.
I am working on "Private Game" mode for now. No plan for "Quick Play" mode yet.
This is the video of the process; type nickname, connect to the Photon server, choose to create or join the room by entering the code, and arrive Multiplayer scene.
https://github.com/user-attachments/assets/998359ff-f64f-4c2e-9d31-0d99dc88c2bd
Three extra scenes were needed to conduct this task, and I could pass the nickname string data to the other scene so that we can keep the nickname.
The picture below shows the graph of CCU, which represents the number of the current players connected to the server.
The time is shown in the GMT timeline, so it proves that I was using the server alone.
=For anyone who will work on this project=
Multiplayer mode requires you to use Photon API or Netcode API in Unity.
There are some points about multiplayer mode:
+. If you want to make it detailed, you need to look up network variables.
I could let two players in the same room, but I had trouble with syncing the other game objects.
I could refer to this YouTube video. It explains how we can make the game in multiplayer mode.
Also, it shows the free server we can use, called "Photon".
-Video-
https://www.youtube.com/watch?v=93SkbMpWCGo
-Photon Page-
The video provides detailed instructions.