This repository is base on Tanks! Tutorial and been redeveloped into a multiplayer game using the Unity with Playfab and Photon.
- Accounts uses Device ID &/or Email Authentication
- Example of how to create real-time game with Photon PUN
- Photon networking implementation using PUN, with some examples of Views, Syncs and RPCs
This project is a simple example that uses some essential functions of PlayFab and Photon.
- You should be familiar with Unity3d & UUI
- Have a basic understanding of the PlayFab API
- Be familiar with fundamental concepts on which Photon Unity Networking (PUN) is based, and you are already familiar with Photon API
- Go to the Game Manager and click "Create a new game"
- Fill out the page for the new title. Click "Create Game".
- You should now see your new title appear in your game studio. If it's not there right away, wait a minute then refresh your browser since it makes take a few seconds to show up. Take note of the Title ID for your new title.
- Go To: Photon Engine Sign Up for a free account (or is the one you already have)
- Go to your account page and setup a new app
- Find and note the App Id of this app.
The next step is to get the client running on your own device, and communicating with your own back-end.
To compile yourself in Unity, you'll want to first download this entire Source Project onto your local PC.
- The project is already set up to use PlayFab Editor Extension for Unity. you need Login to your PlayFab account in the editor extension and select the title ID you set up previously. You can read more about the Editor Extensions on their GitHub repository page.
- Add your appid from your created photon app to the PUN Wizard Window for setup Pun.
For a complete list of available PlayFab APIs, check out the online documentation.
PlayFab Developer Team can assist with answering any questions as well as process any feedback you have about PlayFab services in Forums. Forums
There is an Online Documentation, which is considered a manual for PUN. This might become your primary source for information.