Devlog #1 - Programming Architecture


Before starting development, my team created a shared UML diagram to plan the structure of the code. As the network programmer, I focused on designing scripts that used PlayFab and Photon for the game. The diagram shows how each script will connect and communicate with the other. 

UML

Scripts

  • PlayfabLogin.cs - Handles the user authentication.
  • ConnectToServer.cs - Handles connecting the players to the master server.
  • LobbyManager.cs - Allows players to join and create rooms.
    • JoinRoomMenu.cs - Handles the UI for joining rooms.
    • CreateRoomMenu.cs - Handles the UI for creating rooms.
      • RoomItem.cs - Displays room information, e.g. name, no. of players
      • PlayerItem.cs - Displays player information, e.g. nickname, icons

Next Steps...

After finalising the plan for my code, I can start developing the foundation of the multiplayer system, starting with features that allow players to create and join lobbies to play together. 

References

Miro. Available at: https://miro.com/app/dashboard/ (Accessed: 10th February 2025).

Miro. Connected Game UML. Available at: https://miro.com/app/board/uXjVLv3J6KE=/ (Accessed: 10th February 2025).

Leave a comment

Log in with itch.io to leave a comment.