O'Reilly logo

Unreal Engine Game Development Cookbook by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Networking 101 – creating collectables with networking

Networking is one of the more complex things you can do as a programmer. Unreal uses a client-server model for communication between multiple computers. In this case, the server is the person who started the game and the clients are those who are playing the game with the first person. In order for things happening on everyone's game to work correctly, we need to call certain code at certain times to certain people.

For example, when a client wants to shoot his/her gun, they send a message to the server, which will then determine whether you hit anything and then tell all the clients what happened using replication. This can be important because some things, such as the Game Mode, only exist ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required