Learning Multiplayer in UE5 - Part 1

Published April 28, 2024
Advertisement

I think for the rest of this project I want to learn more about how clients would go about joining the server instead of UE5 creating a client that automatically joins the server, but…

This week, I learned the basics for creating a multiplayer game in UE5 by following Gorka’s tutorial: https://www.youtube.com/watch?v=ef6SeknakeU. The tutorial starts by showing the basics of setting up two clients/running the application as a server. Replication is the act of actually replicating game objects and actions between clients or between the client and the server. An RPC is required to have an action from a player to be replicated by other clients. Gorka describes this as a message from one player to the others in the form of an event. In order to create one of these, two custom events are needed. One informs the server that it wishes to update everyone, the other is run on the server in order to actually do so.

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement