So my game was made in Unreal Engine 4. I have a main menu and when you press a button. It connects you to the server. How would I do this with AWS. Will i have to use blueprints, c++, lumberyard, or it there a feature in the site. I wanted to make it kind of Call of Duty and Fortnite where you can press s button and you will get in a game. Is this possible? Help is appreciated. Thanks!
I think you are asking how to integrate your game built in UE4 with Gamelift (which is AWS’s dedicated server hosting solution). If so, after checking that GameLift is the right server hosting solution for you, I would start here:
Basically you will integrate your server with the Gamelift server SDK via the Gamelift unreal plugin. You can then use the AWS console or cli to upload your server build and set-up your server fleet configuration (how to scale, how to connect, what EC2 instance types to use etc).
Your game client will then enable players to find and connect to your hosted servers etc.
Let me know if you have any specific questions or check out our documentation here:
For the game client, see https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html for the workflow required.
Gamelift leaves this part of the integration up to you as every clients requirements are different.
You will need to know a fleet and game session to target when the user presses the button (or if pressing the button create a new game session). You’ll then create a player session and connect to the end server with the endpoint, port etc from the player session.
There is a useful 3rd party Unreal game client plugin, that covers use of blueprints and gamelift here: https://github.com/YetiTech-Studios/UE4GameLiftClientSDK that may aid your understanding / be what you’re looking for.
Is there a toturial on how to use the third party software?
Hey there. I understand how to do it. I am just wondering how to connect to the server once I press the button. Is there a way to that with the plugin?