How do you make your game playable for 2 people after it's finished?
I haven't finished the game yet but i want to know after i finish it how to make it so me and a friend can play the game against each other on computers. I want to know how this is done.
asked Apr 13 '15 at 12:36 AM in Using UE4
It would be better to design the game around multiplayer support. You can't just write a few lines of code and have a multiplayer game.
Unreal has been built with multiplayer game development in mind, and uses a concept called replication. This works by replicating relevant data between the server and clients. Here is an extract from the docs to give an example of replication:
I recommend you visit the docs, google a bit and get a solid understanding of networking and replication before doing anything more to your game.
You can visit the networking section of the docs here. https://docs.unrealengine.com/latest/INT/Gameplay/Networking/Overview/index.html
Edit: I also recommend reading the tutorial here https://wiki.unrealengine.com/Replication
Follow this question
Once you sign in you will be able to subscribe for any updates here