Skip to content

Commit 2e2e3cc

Browse files
authored
Update README.md
1 parent 3aa144d commit 2e2e3cc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,27 @@
22

33
## Compiling the client
44
- You have to enable unsafe code in your unity project by going to **`File > Build Settings > Player > Other settings > Allow 'unsafe' code`**
5+
56
- For the movement of the players to work properly, go to **`File > Build Settings > Time`** then change **`Fixed Timestep`** and **`Maximum Particle Timestep`** to **`0.033333`**
7+
68
- After that, you should be able to build the project without any errors
79

810
## Compiling the server
911
- You will have to build and lunch the server inside a linux machine. If you do not have a linux machine, you can use a virtual machine or download and install a linux machine - from the Microsoft Store. [Ubuntu](https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6) is recommended but you can use a different distro if you want
12+
1013
- After you are done setting up your linux machine, create a directory and copy the server files in that directory
14+
1115
- Open your terminal to the directory you created or use `cd <your_directory>`
16+
1217
- To compile the server, you will need to have `make` installed. You can check if you have it installed by typing `make` and you should not get any error. Else you have to type `sudo apt install make` (for debian-based distros) or "install package" command for your distro
18+
1319
- After you made sure that `make` is installed, type the following command: `make clean && make` (note: you do not have to use `make clean` if you compile it for the first time)
20+
1421
- After you are done compiling it, you can run it by typing in your terminal `./server` and pressing enter
1522

23+
## Final Result
24+
This [video](https://youtu.be/5SOnuSrfdn0) shows the client and server in action
25+
1626
## Known issues
1727
- The Y coordinate of the players can get desynchronized some times
1828
- The scrollbar of the chat does not function properly

0 commit comments

Comments
 (0)