Hello, in this tutorial, I’ll show you how to create a server build of your project and host it on your computer so you will know what to expect when we push it to GameLift.
Hello, in this tutorial, I’ll show you how to create a server build of your project and host it on your computer so you will know what to expect when we push it to GameLift.
Creating the Server.Target Build File
Step 1:
Launch the Github desktop app and make sure you have UnrealEngine selected and commit the changes.
Step 2:
Step 3:
It should open Visual Studio. The next step is to create the Server Target Build file for the project.
Step 5:
MyGameNameServer.Target
Save the changes and close it.
Step 7:
Step 8:
Make sure you have Developer Editor selected and launch the app.
Keep in mind that this may take a long time if you are launching it for the first time.
Creating the Server and Client Map
Step 1:
Step 2:
Step 3:
Configuring the Project Settings
Step 1:
Step 2:
Step 3:
Step 4:
If you do not see this, it means you did not create the Server Target build file correctly or you did not generate the Visual Studio project files after you created it.
This will also take some time to complete if it is the first time.
Step 4:
Step 5:
-log
This will allow us to see the server logs on the terminal while it is running. Without this, the server will start but it’ll be hard to know if it is running.
Step 6:
Testing Multiplayer with the Local Server
Step 2:
You should see 2 games running.
Step 3:
It is the key on the left side of the 1 key and under the Escape key.
You should see the command prompt at the bottom.
127.0.0.1 means localhost and 7777 means the port.
If we take a look at the server logs, the default port it is listening on is 7777.
Step 8:
Step 9:
As you can see, both players joined on the same map.