Open source game server framework NoahGameFrame (NF) client environment construction (3)

1. Download the client of the NoahGameFrame framework

1. Enter the client NFUnitySDK of the open source game server framework NoahGameFrame in the official GitHub interface of NFUnitySDK
insert image description here
2. Copy the URL of the resource directory to be checked out
insert image description here
3. Right-click on any empty folder, select the SVN Checkout... option of the little turtle TortoiseSVN, and then Open the Checkout panel, fill in the URL of the resource directory copied in the second small step above in the first place, fill in the path of the target file directory to be copied to in the second place, and then click OK to start Checkout 4. After the Checkout is completed, click
insert image description here
OK
insert image description here

2. Use Unity to load the project

1. Double-click to open the Unity Hub on the computer
insert image description here
2. Click the Add button, then click the trunk folder of the client project , and then click to select the folder
insert image description here
insert image description here
3. At this time, the project is loaded into the Unity Hub list, and the Unity version is selected as installed on the computer The version of Unity (the version of Unity here is based on the introduction on the official website, the best choice is 2019.3.0 and above), and then click trunk. 4.
insert image description here
After the project is loaded, you will enter the standard interface of Unity. At this time, select the Assets resource directory, double-click to open the NFRoot scene, and enter the NFRoot scene
insert image description here
insert image description here

3. Run the client

1. Before running, you need to start the Redis database service and our NoahGameFrame (NF) server . About how to start the Redis database service, you can go to Baidu on the Internet. There are many introductions about this aspect on the Internet. The startup of the NoahGameFrame (NF) server needs to refer to my previous blog post Open source game server framework NoahGameFrame (NF) server-side environment construction (2) .
insert image description here
insert image description here
2. After the Redis service and NoahGameFrame (NF) server are started successfully, you can enter Unity for testing. Click the Run button in Unity to start the test.
insert image description here
3. Enter the local loopback IP 127.0.0.1, click the connect button, and then the Unity Console will print the Connected message, and then enter the account name and password are both 123456, and then click the Login button on the login interface. Enter the game normally, and the Redis database also records the account information.
insert image description here
insert image description here
insert image description here
insert image description here

Four. Summary

If there are any problems that have not been perfectly solved in this article, you can leave a message for me or go to Baidu online or go to the official project documentation to have a look. If there is anything that needs to be added or corrected in the future, I will modify it as soon as possible.

Previous: Open source game server framework NoahGameFrame (NF) server-side environment construction (2)
Next: Log system of open source game server framework NoahGameFrame (NF) (4)

Guess you like

Origin blog.csdn.net/jianjianshini/article/details/126240392