Local Multiplayer UE5 Connecting 2 players

Chris Didier
2 min readJan 4, 2024

--

Want to create a local multiplayer game? Well let’s start with the basics.

First let’s start up a new C++ project in the first or third person example. Next go to the play area and change how many players are available to play.

You’ll want to chang the net mode to play as listen server.

If you hit play there are now 2 player instances.

I ejected out and you can see the 2 player instances.

Both can be controlled in each individual window.

How does this happen? Well here are the steps that would allow local players in an instance.

  • Unreal loads the map
  • The Map specifies the GameMode
  • The PlayerController joins the Map
  • It ask the GameMode to spawn a Pawn
  • The Pawn is linked to the PlayerController

This is the first steps on getting local multiplayer running for your game! Stay tuned for more.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Chris Didier
Chris Didier

No responses yet

Write a response