Summary
In this chapter, I have introduced you to one of the most important topics in the Unreal Engine multiplayer framework: replication.
As a first step, you created some statistics for the player, in order to make your gameplay more flexible. You did this through structures and data tables – a topic that will come in handy even if you are developing a standalone game.
Next, I explained the topic of property replication and how to apply it to your project. Once the main concepts were defined, you started using them on the PlayerState, in order to keep track of the character’s progress during gameplay.
As a last step, you created a HUD to show this progress to the player. Replication is mostly important here as each client should get its own updates and show them to the player.
In the next chapter, you’ll dive deeper into the mystical realm of replication, flexing your skills in the delicate art of calling methods from client to server and back again...