Skip to content

Commit 2b8b561

Browse files
A readme update to match the refreshed bitesize readme update
1 parent bcac45b commit 2b8b561

File tree

1 file changed

+123
-76
lines changed

1 file changed

+123
-76
lines changed

README.md

Lines changed: 123 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,77 @@
11
![Banner](Documentation/Images/Banner.png)
2-
## Co-op multiplayer RPG and utilities built with Unity Netcode for GameObjects
2+
<br><br>
3+
4+
# Boss Room: a Co-op, Multiplayer RPG Sample
5+
### Made with and Including Utilities for Netcode for GameObjects
6+
<br>
7+
8+
![UnityVersion](https://img.shields.io/badge/Unity%20Version:-2021.3%20LTS-57b9d3.svg?logo=unity&color=2196F3)
9+
![NetcodeVersion](https://img.shields.io/badge/Netcode%20Version:-1.2.0-57b9d3.svg?logo=unity&color=2196F3)
10+
[![LatestRelease](https://img.shields.io/badge/Latest%20Github%20Release:-v2.0.4-57b9d3.svg?logo=github&color=brightgreen)](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/releases/tag/v2.0.4)
11+
<br><br>
312

413
Boss Room is a fully functional co-op multiplayer RPG made with Unity Netcode. It is an educational sample designed to showcase typical netcode [patterns](https://docs-multiplayer.unity3d.com/netcode/current/learn/bossroom/bossroom-actions/index.html) that are frequently featured in similar multiplayer games.
14+
<br><br>
515

16+
# Boss Room Sample Overview
617

7-
__PLEASE NOTE__:
8-
Boss Room is compatible with the latest Unity Long Term Support (LTS) editor version, currently [2021 LTS](https://unity.com/releases/2021-lts). Please include standalone support for Windows/Mac in your installation. <br>
18+
Boss Room is designed to be used in its entirety to help you explore the concepts and patterns behind a multiplayer game flow; such as character abilities, casting animations to hide latency, replicated objects, RPCs, and integration with the [Relay](https://unity.com/products/relay), [Lobby](https://unity.com/products/lobby), and [Authentication](https://unity.com/products/authentication) services.
919

10-
**Boss Room has been developed and tested on the following platforms:**
11-
- Windows
12-
- Mac
13-
- iOS
14-
- Android <br>
20+
You can use the project as a reference starting point for your own Unity game or use elements individually.
21+
<br><br>
1522

16-
**Boss Room's min spec devices are:**
17-
- iPhone 6S
18-
- Samsung Galaxy J2 Core <br>
1923

20-
Find our full project documentation, [here](https://docs-multiplayer.unity3d.com/netcode/current/learn/bossroom/bossroom/index.html).
24+
### Utilities Package
25+
This repository also contains a [Utilities](Packages/com.unity.multiplayer.samples.coop) package, containing reusable sample scripts. You can install it using the following manifest file entry:
26+
`"com.unity.multiplayer.samples.coop": "https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop.git?path=/Packages/com.unity.multiplayer.samples.coop",`
27+
|:---|
2128

22-
To connect and find support, join the multiplayer community on the Unity [Discord](https://discord.gg/mNgM2XRDpb) and [Forum](https://forum.unity.com/forums/multiplayer.26/).<br> Got feedback? Tell us what you think using our new [Feedback Form](#feedback-form) <center>.
23-
| -- |
29+
<br>
2430

31+
For more information on the art of Boss Room, see [ART_NOTES.md](Documentation/ART_NOTES.md).
2532

2633

27-
## Contents and Quick Links
34+
![](Documentation/Images/Boss.png)
35+
<br><br>
36+
37+
-----
2838

39+
## Readme Contents and Quick Links
2940
<!-- TOC generated from https://luciopaiva.com/markdown-toc/ -->
41+
<details open>
42+
<summary> <b>Click to expand/collapse contents</b> </summary>
3043

31-
32-
- [Boss Room Overview](#boss-room-overview)
33-
- [Getting the project](#getting-the-project)
44+
- ### [Getting the project](#getting-the-project)
3445
- [Direct download](#direct-download)
3546
- [Installing Git LFS to clone locally](#installing-git-lfs-to-clone-locally)
36-
- [Registering the project with Unity Gaming Services (UGS)](#registering-the-project-with-unity-gaming-services-ugs)
37-
- [Opening the project for the first time](#opening-the-project-for-the-first-time)
38-
- [Exploring the project](#exploring-the-project)
39-
- [Testing multiplayer](#testing-multiplayer)
40-
- [Index of resources in this project](#index-of-resources-in-this-project)
47+
- ### [Requirements](#requirements)
48+
- [Min Spec Devices](#boss-rooms-min-spec-devices-are)
49+
- ### [Opening the project for the first time](#opening-the-project-for-the-first-time) >
50+
- ### [Exploring the project](#exploring-the-project)
51+
- [Registering with Unity Gaming Services (UGS)](#registering-the-project-with-unity-gaming-services-ugs)
52+
- ### [Testing multiplayer](#testing-multiplayer)
53+
- [Local Multiplayer Setup](#local-multiplayer-setup)
54+
- [Multiplayer over Internet](#multiplayer-over-internet)
55+
- [Relay Setup](#relay-setup)
56+
- ### [Index of resources in this project](#index-of-resources-in-this-project)
4157
- [Gameplay](#gameplay)
4258
- [Game Flow](#game-flow)
4359
- [Connectivity](#connectivity)
4460
- [Services (Lobby, Relay, etc)](#services-lobby-relay-etc)
4561
- [Tools and Utilities](#tools-and-utilities)
46-
- [Troubleshooting](#troubleshooting)
47-
- [Licence](#licence)
48-
- [Other samples](#other-samples)
62+
- ### [Troubleshooting](#troubleshooting)
63+
- [Bugs](#bugs)
64+
- [Documentation](#documentation)
65+
- ### [License](#license)
66+
- ### [Contributing](#contributing)
67+
- ### [Community](#community)
68+
- ### [Feedback Form](#feedback-form)
69+
- ### [Other samples](#other-samples)
4970
- [Bite-size Samples](#bite-size-samples)
50-
- [Contributing](#contributing)
51-
- [Feedback Form](#feedback-form)
52-
53-
## Boss Room Overview
71+
</details>
5472

55-
Boss Room is designed to be used in its entirety to help you explore the concepts and patterns behind a multiplayer game flow; such as character abilities, casting animations to hide latency, replicated objects, RPCs, and integration with the [Relay](https://unity.com/products/relay), [Lobby](https://unity.com/products/lobby), and [Authentication](https://unity.com/products/authentication) services.
56-
57-
You can use the project as a reference starting point for your own Unity game or use elements individually.
58-
59-
This repository also contains a [Utilities](Packages/com.unity.multiplayer.samples.coop) package, containing reusable sample scripts. You can install it using the following manifest file entry:
60-
61-
`"com.unity.multiplayer.samples.coop": "https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop.git?path=/Packages/com.unity.multiplayer.samples.coop",
62-
`.
63-
64-
For more information on the art of Boss Room, see [ART_NOTES.md](Documentation/ART_NOTES.md).
65-
66-
67-
![](Documentation/Images/Boss.png)
68-
73+
------
74+
<br>
6975

7076
## Getting the project
7177
### Direct download
@@ -74,13 +80,30 @@ For more information on the art of Boss Room, see [ART_NOTES.md](Documentation/A
7480
- __Windows users:__ Using Windows' built-in extraction tool may generate an "Error 0x80010135: Path too long" error window which can invalidate the extraction process. A workaround for this is to shorten the zip file to a single character (eg. "c.zip") and move it to the shortest path on your computer (most often right at C:\\) and retry. If that solution fails, another workaround is to extract the downloaded zip file using [7zip](https://www.7-zip.org/).
7581

7682

83+
## Requirements
84+
85+
BossRoom is compatible with the latest Unity Long Term Support (LTS) editor version, currently [2021 LTS](https://unity.com/releases/2021-lts). Please include standalone support for Windows/Mac in your installation.
86+
87+
**PLEASE NOTE:** You will also need Netcode for Game Objects to use these samples. Complete the [Hello World Getting Started](https://docs-multiplayer.unity3d.com/netcode/current/tutorials/helloworld) to prepare your environment.
88+
<br><br>
89+
90+
#### Boss Room has been developed and tested on the following platforms:
91+
- Windows
92+
- Mac
93+
- iOS
94+
- Android <br>
95+
96+
#### Boss Room's min spec devices are:
97+
- iPhone 6S
98+
- Samsung Galaxy J2 Core
99+
<br><br>
100+
77101
### Installing Git LFS to clone locally
78102

79103
Boss Room uses Git Large Files Support (LFS) to handle all large assets required locally. See [Git LFS installation options](https://github.com/git-lfs/git-lfs/wiki/Installation) for Windows and Mac instructions. This step is only needed if cloning locally. You can also just download the project which will already include large files.
104+
<br><br>
80105

81-
## Registering the project with Unity Gaming Services (UGS)
82106

83-
Boss Room leverages several services from UGS to facilitate connectivity between players. To use these services inside your project, you must [create an organization](https://support.unity.com/hc/en-us/articles/208592876-How-do-I-create-a-new-Organization-) inside the Unity Dashboard, and enable the [Relay](https://docs.unity.com/relay/get-started.html) and [Lobby](https://docs.unity.com/lobby/game-lobby-sample.html) services. Otherwise, you can still use Boss Room without UGS.
84107

85108
## Opening the project for the first time
86109

@@ -93,8 +116,7 @@ Once you have downloaded the project, follow the steps below to get up and runni
93116
- Hit the **Play** button. You can then host a new game or join an existing one using the in-game UI.
94117

95118
![](Documentation/Images/StartupScene.png)
96-
97-
------------------------------------------
119+
<br><br><br>
98120

99121
## Exploring the project
100122
BossRoom is an eight-player co-op RPG game experience, where players collaborate to fight imps, and then a boss. Players can select between classes that each have skills with didactically interesting networking characteristics. Control model is click-to-move, with skills triggered by a mouse button or hotkey.
@@ -105,22 +127,29 @@ One of the eight clients acts as the host/server. That client will use a composi
105127
- Position updates are carried out through NetworkTransform that sync position and rotation.
106128

107129
Code is organized in domain-based assemblies. See the [Boss Room architecture documentation](https://docs-multiplayer.unity3d.com/netcode/current/learn/bossroom/bossroom-architecture) file for more details.
108-
130+
<br><br>
131+
132+
### Registering the project with Unity Gaming Services (UGS)
133+
134+
Boss Room leverages several services from UGS to facilitate connectivity between players. To use these services inside your project, you must [create an organization](https://support.unity.com/hc/en-us/articles/208592876-How-do-I-create-a-new-Organization-) inside the Unity Dashboard, and enable the [Relay](https://docs.unity.com/relay/get-started.html) and [Lobby](https://docs.unity.com/lobby/game-lobby-sample.html) services. Otherwise, you can still use Boss Room without UGS.
135+
<br><br><br>
136+
109137
## Testing multiplayer
110138

111139
In order to see the multiplayer functionality in action we can either run multiple instances of the game locally on your computer - using either ParrelSync or builds - or choose to connect to a friend over the internet. See [how to test](https://docs-multiplayer.unity3d.com/netcode/current/tutorials/testing/testing_locally) for more info.
140+
<br><br>
112141

113-
---------------
114-
**Local multiplayer setup**
142+
### Local multiplayer setup
115143

116144
First, build an executable by clicking **'File/Build Settings'** in the menu bar, and then click **'Build'**.<br>
117145
![](Documentation/Images/BuildProject.png)
118146

119147
Once the build has completed you can launch several instances of the built executable in order to both host and join a game. When using several instances locally, you will have to set different profiles for each instance for authentication purposes, by using the **'Change Profile'** button. <br>
120148
> __Mac users:__ to run multiple instances of the same app, you need to use the command line. Run `open -n BossRoom.app`
121149
122-
---------------
123-
**Multiplayer over Internet**
150+
<br>
151+
152+
### Multiplayer over Internet
124153

125154
To play over internet, first build an executable that is shared between all players - as above.
126155

@@ -129,17 +158,22 @@ It is possible to connect between multiple instances of the same executable OR b
129158
Running the game over internet currently requires setting up a relay.
130159

131160

132-
**Relay Setup**
161+
### Relay Setup
133162

134163
- Boss Room provides an integration with [Unity Relay](https://docs-multiplayer.unity3d.com/netcode/current/relay/relay). You can find our Unity Relay setup guide [here](https://docs-multiplayer.unity3d.com/netcode/current/relay/relay)
135164

136165
- Alternatively you can use Port Forwarding. The https://portforward.com/ site has guides on how to enable port forwarding on a huge number of routers.
137166
- Boss Room uses `UDP` and needs a `9998` external port to be open.
138167
- Make sure your host's address listens on 0.0.0.0 (127.0.0.1 is for local development only).
168+
<br><br><br>
139169

140-
---------------
170+
-----
171+
<br>
141172

142-
## Index of resources in this project
173+
## Full index of resources in this project
174+
175+
<details open>
176+
<summary> <b>Click to expand/collapse contents</b> </summary>
143177

144178
### Gameplay
145179
* Action anticipation - AnticipateActionClient() in [Assets/Scripts/Gameplay/Action/Action.cs](Assets/Scripts/Gameplay/Action/Action.cs)
@@ -209,30 +243,30 @@ Running the game over internet currently requires setting up a relay.
209243
* Scene utils with synced loading screens - [Packages/com.unity.multiplayer.samples.coop/Utilities/SceneManagement/ ](Packages/com.unity.multiplayer.samples.coop/Utilities/SceneManagement/)
210244
* RNSM custom config - [Packages/com.unity.multiplayer.samples.coop/Utilities/Net/RNSM/CustomNetStatsMonitorConfiguration.asset ](Packages/com.unity.multiplayer.samples.coop/Utilities/Net/RNSM/CustomNetStatsMonitorConfiguration.asset)
211245
* ParrelSync - [ Packages/manifest.json ](Packages/manifest.json)
212-
246+
</details>
247+
248+
-------
249+
<br>
250+
213251
## Troubleshooting
214252

215-
**Bugs**
216-
Report bugs in Boss Room using Github [issues](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/issues)
217-
Report NGO bugs using NGO Github [issues](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects)
218-
Report Unity bugs using the [Unity bug submission process](https://unity3d.com/unity/qa/bug-reporting).
253+
### Bugs
254+
- Report bugs in Boss Room using Github [issues](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/issues)
255+
- Report NGO bugs using NGO Github [issues](https://github.com/Unity-Technologies/com.unity.netcode.gameobjects)
256+
- Report Unity bugs using the [Unity bug submission process](https://unity3d.com/unity/qa/bug-reporting).
219257

220-
**Documentation**
221-
For a deep dive into Unity Netcode and Boss Room, visit our [documentation site](https://docs-multiplayer.unity3d.com/).
258+
### Documentation
259+
For a deep dive into Unity Netcode and Boss Room, visit our [documentation site](https://docs-multiplayer.unity3d.com/).
260+
<br><br>
222261

223-
## Licence.
224-
Boss Room is licenced under the Unity Companion Licence. See [LICENSE.md](LICENSE.md) for more legal information.
225-
262+
## License
263+
Boss Room is licensed under the Unity Companion License. See [LICENSE.md](LICENSE.md) for more legal information.
226264

227265
For a deep dive in Unity Netcode and Boss Room, visit our [docs site](https://docs-multiplayer.unity3d.com/).
228-
229-
## Other samples
230-
### Bite-size Samples
231-
The [Bitesize Samples](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize) repository is currently being expanded and contains a collection of smaller samples and games, showcasing sub-features of NGO. You can review these samples with documentation to understand our APIs and features better.
232-
266+
<br><br>
233267

234268
## Contributing
235-
Please check out [CONTRIBUTING.md](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop/blob/develop/CONTRIBUTING.md) for full guidelines on submitting issues and PRs to BossRoom.
269+
We welcome your contributions to this sample code and objects. See our [contribution guidelines](CONTRIBUTING.md) for details.
236270

237271
Our projects use the `git-flow` branching strategy:
238272
- our **`develop`** branch contains all active development
@@ -243,15 +277,28 @@ To get the project on your machine you need to clone the repository from GitHub
243277
git clone https://github.com/Unity-Technologies/com.unity.multiplayer.samples.coop.git
244278
```
245279

246-
__IMPORTANT__: You should have [Git LFS](https://git-lfs.github.com/) installed on your local machine.
247-
248-
Please check out [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on submitting issues and PRs to BossRoom!
280+
**PLEASE NOTE:** You will need to have [Git LFS](https://git-lfs.github.com/) installed on your local machine in order to clone our repo.
281+
<br><br>
249282

283+
## Community
284+
For help, questions, networking advice, or discussions about Netcode for GameObjects and its samples, please join our [Discord Community](https://discord.gg/FM8SE9E) or create a post in the [Unity Multiplayer Forum](https://forum.unity.com/forums/netcode-for-gameobjects.661/).
285+
<br><br>
250286

251287
## Feedback Form
252288

253289
Thank you for cloning Boss Room and taking a look at the project. To help us improve and build better samples in the future, please consider submitting feedback about your experiences with Boss Room and let us know if you were able to learn everything you needed to today. It'll only take a couple of minutes. Thanks!
254290

255291
[Enter the Boss Room Feedback Form](https://unitytech.typeform.com/bossroom)
292+
<br><br>
293+
294+
## Other samples
295+
### Bite-size Samples
296+
- The [Bitesize Samples](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize) repository is currently being expanded and contains a collection of smaller samples and games, showcasing sub-features of NGO. You can review these samples with documentation to understand our APIs and features better.
297+
<br><br>
298+
299+
[![Documentation](https://img.shields.io/badge/Unity-bitesize--docs-57b9d3.svg?logo=unity&color=2196F3)](https://docs-multiplayer.unity3d.com/netcode/current/learn/bitesize/bitesize-introduction)
300+
[![Forums](https://img.shields.io/badge/Unity-multiplayer--forum-57b9d3.svg?logo=unity&color=2196F3)](https://forum.unity.com/forums/multiplayer.26/)
301+
[![Discord](https://img.shields.io/discord/449263083769036810.svg?label=discord&logo=discord&color=5865F2)](https://discord.gg/FM8SE9E)
302+
<br><br>
256303

257-
![](Documentation/Images/Players.png)
304+
![](Documentation/Images/Players.png)

0 commit comments

Comments
 (0)