Coins and finish for Unity racing multiplayer game with Photon

Job ID: 30650431

Budget: $20 – $40 USD

Hello, I’m developing racing multiplayer game on Unity with Photon. Most of game mechanics are fine but I need to solve few problems. I need a real Photon professional which can manage to do all the required tasks using Photon PUN 2. All of them are quite easy to be done for single player, but for the multiplayer the process of scripting is a little different.

The first task is to instantiate coins on the track. They can be collected by one player and then they will disappear for all players on the scene. There is a text on the screen which shows how many coins does the player got. Text is always updating to show the relevant amount of coins.

The second task is to make finish and ending screen. When player comes to the finish it gets 5 coins and the game is paused for all players (it’s like Time.timescale for single player game, but I can’t manage to do this for all players. Right now my game is paused only for the finished player). After the game is paused, the Unity Advertisement appears (script is done). Then the End Screen appears which shows text “You are the winner” for the finished player, and text “You lost the race” for all the other players. There are two buttons along with the text, which are “Return to lobby” and “Go to Main Menu”.

The third task is to add coins which the player got during the race to his total coins (that will show up in the main menu). If the player close the application and then open it again, coins will not disappear (this can be done with PlayerPrefs).
Related categories: C# Programming Unity 3D Game Development