-
Notifications
You must be signed in to change notification settings - Fork 575
Photon Realtime Setup Guide for Boss Room #225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
SamuelBellomo
merged 14 commits into
release/v0.1.0-experimental
from
feature/photon-setup-guide
Mar 29, 2021
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e45a957
docs: Add Photon Realtime setup guide
Cosmin-B 6cb05dc
docs: small typo in the Photon Setup Guide
Cosmin-B 5e76f2a
docs: another small type in Photon Setup Guide readme
Cosmin-B e7ce5b1
Remove PhotonAppSettings.asset
Cosmin-B 99cc2ea
docs: update Photon Realtime Readme - remove the unimportant bits
Cosmin-B 6b748b0
Photon: adjust the message on the PopupPanel when users try to use re…
Cosmin-B d5b069b
docs: adjust main readme so that it points to our new Photon Setup guide
Cosmin-B ee253ea
docs: adjust main readme so that it points to our new Photon Setup guide
Cosmin-B dbe3f71
Photon: re-add Photon App Settings
Cosmin-B e1caa20
docs: updates Photon Realtime Readme from tech writers
Cosmin-B b6354ba
docs: updates Photon Realtime Readme from tech writers
Cosmin-B 42dbc09
docs: update Photon Realtime Readme from tech writers' suggestion
Cosmin-B fb993aa
UI: PopupPanel replace ifdef directives with Application.isEditor
Cosmin-B f774a3b
Merge remote-tracking branch 'origin/feature/photon-setup-guide' into…
Cosmin-B File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Documentation/Photon-Realtime/Images/Boss-Room-Host-Confirm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
Documentation/Photon-Realtime/Images/Boss-Room-Host-Dropdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
Documentation/Photon-Realtime/Images/Boss-Room-Join-Dropdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
Documentation/Photon-Realtime/Images/Boss-Room-Lobby-Extra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Photon Setup Guide for Boss Room | ||
|
|
||
| ## Setup Photon | ||
|
|
||
| 1. Access the Wizard from Window → Photon Realtime → Wizard. | ||
| 2. Click next through the wizard until you get to the Photon Cloud Setup. | ||
| 3. If you do not already have an account or an App Id, click the Visit Dashboard button to create one. If you created a new account, create a New Application from Photon's Dashboard. | ||
| **Note:** The Photon Type for Boss Room is `Photon Realtime`. | ||
|
|
||
|  | ||
|
|
||
| 4. After the Application is setup, you can get its App ID from Photon's Dashboard. Copy the App ID to your clipboard. | ||
|
|
||
| **Note:** This App Id **must** be shared with other people in order to be able to connect to your Photon Room. | ||
|
|
||
|  | ||
|
|
||
| 5. In the Photon Wizard Window of your Unity Project, paste the App Id. | ||
| 6. Click on Setup. You should receive a completion message, for example "Your AppId is now applied to this Project **Done**". | ||
| 7. Click Next then Done. Setup is complete and you can safely quit the Photon Wizard. | ||
|
|
||
| ## Playing Boss Room with friends | ||
|
|
||
| Once the setup is done, there are two ways you can actually test out is working: | ||
|
|
||
| * Launch the Boss Room project using a packaged build. | ||
| * Use the Unity Editor, but do that with caution! | ||
|
|
||
| With that being said, both ways are almost the same in terms of how you host or join a session. | ||
|
|
||
|
|
||
| > **IMPORTANT!** There is a bug in MLAPI at the moment that could prevent users from connecting to each other through the editor. | ||
|
|
||
| > **Note:** To reiterate, it is important that all Unity Editor users have the exact same version of the project with no changes locally and their PhotonAppSettings should match with the Host's settings. | ||
|
|
||
|
|
||
| ### Hosting a Room | ||
|
|
||
| --- | ||
| If you want to host a session then: | ||
|
|
||
|
|
||
| 1. Click the Start button. | ||
| 2. Select `Relay Host` from the dropdown on the left. | ||
|  | ||
|
|
||
| 3. A random generated room name will be assigned. | ||
|  | ||
|
|
||
| 4. Share the generated room name with your users, and click confirm! | ||
|
|
||
| 5. Done! You are now in the Lobby - also known as the Character Selection Screen. Your friends/users should be able to join now. | ||
|
|
||
| > **Note:** You can see the Room Name in the top-left corner. | ||
|  | ||
|
|
||
| ### Joining a Room | ||
|
|
||
| --- | ||
|
|
||
| If you want to Join a session then: | ||
| 1. Click the Join Button and select `Relay Host` from the dropdown on the left. | ||
|  | ||
| 2. You should be asked to input the room name below. | ||
|  | ||
|
|
||
| 3. In this example, the room name is: `YQWOWS` | ||
|
|
||
| 4. Click Join. Once successfully connected, you should be in the Lobby with the rest of your friends. | ||
|  | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure the --- is needed?