About building my server
One of the most important task for me is to build a server. I’ve worked on this for a while. Last semester I didn’t have time to build it, and it’s the only way to build an asymmetric multiplayer VR game.
This semester I found three tools can be used for it. One of them is photon. It’s a worldwide online server. I can build an online multiplayer game with it. However, it’s relied on the internet. To make sure my game can work when I test them, local server is much safer. That’s why I chose to use unity Network server. It’s built inside unity, and it’s a local server. Henry Lim helped me to figure out how it works, and now I’m learning it. The last one is Amazon’s new game server. I’m so excited about it. However, to use that, I should learn the Lumberyard. Amazon Lumberyard is a new game engine developed by Amazon and Twitch. I don’t have plans to learn how to use it, because unity already gave me what I want.
Today the server is running well. After I fixed some bugs, two players can play together finally! Although the old "push" script needs to be updated, I already found the solution for that. My next step is to make the "push" function work like "shoot".
I need to watch this tutorial：
And the last half of this one:
And this one is for better motion syncing:
In these four days, I fixed these bugs
There were two main characters in the screens.
The syncing didn't work at all.
The spawning position was wrong and every time the game began, the player was inside the tower.
IDs were not right.
I still need to fix this:
Player need to choose different roles.
Run "push" in the server client side and move the cube in server side.
After I fix this, I need to move on to the mobile side. I need to get IOS developer license frist.
I need to Email Professor Yuri to ask help.
Today's bug is Push function is inaccessible due to its protection level.