In this chapter, we will get to work on another fundamental necessity of any game: our UI, and as a typical example of it, we'll add loading and saving of our game state to our game. Unreal provides some great tools for these two things, especially UMG for creating UIs, which we will explore here. When it comes to loading and saving your game, it is a system almost every game uses in some form, but none in the same way, and the complexity of it will be absolutely driven by your design and desired player experience. We'll first get our inventory showing up in our HUD. In the next section we'll address some strategies for saving based on different game types, and then we'll tackle one of Unreal's most difficult: saving in-map and restoring to an exact point during gameplay. In this chapter, we'll:
- Make inventory icons using an automated...