Reader small image

You're reading from  Multiplayer Game Development with Unreal Engine 5

Product typeBook
Published inOct 2023
PublisherPackt
ISBN-139781803232874
Edition1st Edition
Right arrow
Author (1)
Marco Secchi
Marco Secchi
author image
Marco Secchi

Marco Secchi is a passionate game programming teacher located in Milan, Italy. In the past, he has been a freelance programmer focusing on game and application development, however he is now currently a lecturer and Lead Game Advisor at NABA (Nuova Accademia di Belle Arti). Marco continues to hone his programming skills in the R&D department at NABA, while also working on personal projects too, involving game development and cultural heritage.
Read more about Marco Secchi

Right arrow

Handling data during a session

In this section, you’ll be working on a new topic: passing data from one level to another when joining a session. You already possess almost all the knowledge necessary to perform this task – you just need to put things together.

What we need to do here is create a skin system for the character model that will do the following:

  • Select a random skin in the main menu level from a list of possible variants
  • Store this data while joining a session
  • Update the character skin variant once the session has been joined

In the following steps, you will be working on a class that has remained inactive until this point, but that will prove to be incredibly useful moving forward. So, get ready to put the US_GameInstance class to work and see what it can do!

Updating the US_GameInstance class

You may have forgotten but, at the beginning of this project, you created the US_GameInstance class. This class offers a couple of...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Multiplayer Game Development with Unreal Engine 5
Published in: Oct 2023Publisher: PacktISBN-13: 9781803232874

Author (1)

author image
Marco Secchi

Marco Secchi is a passionate game programming teacher located in Milan, Italy. In the past, he has been a freelance programmer focusing on game and application development, however he is now currently a lecturer and Lead Game Advisor at NABA (Nuova Accademia di Belle Arti). Marco continues to hone his programming skills in the R&D department at NABA, while also working on personal projects too, involving game development and cultural heritage.
Read more about Marco Secchi