In follow up to our hugely successful Complete Unreal Engine Developer course we bring you Unreal Multiplayer Mastery - as on featured on Epic's UE4 blog.
In this section we teach how to create rich UI using Unreal's UMG in C++. This project lays the foundations for creating complex menu systems for multiplayer games.
You're welcome to download, fork or do whatever else legal with all the files! The real value is in our huge, high-quality online tutorials that accompany this repo. You can check out the course here: Unreal Multiplayer Mastery
- Overview of the section.
- Why we need to cover UI.
- Importing last section's project.
- Creating a menu Blueprint.
- Revision of layout.
- Create a basic menu.
- Using the
FClassFinder
. - Finding
BP_PlatfromTrigger
. - Accessing UMG from C++.
- Saving our menu class.
- Creating an interface.
CreateWidget
in C++.- Setup a MainMenu level.
- Using
SetInputMode()
. - Configuring an input mode.
- Displaying the cursor.
- Repeat for yourselves.
- How container widgets work.
- Canvas panel.
- Horizontal/vertical boxes.
- Size boxes as spacers.
- Overlay.
- Create a layout.
- 9-slice images for buttons.
- Box vs border vs image.
- Using Google fonts.
- Scale box for backgrounds.
- Make it pretty.
- We make our menu pretty.
- Create a
UUserWidget
class. - Reparent the widget BP.
- Add a bind widget property.
- What do the errors mean?
- How to
Initialize
a UserWidget. - The UButton OnClick handler.
- Add a dynamic handler.
- Intro to inverting dependencies.
- How to make a interface in Unreal.
- Using an interface for callbacks.
- Injecting the dependency.
- We solve last lecture's challenge.
- Refactoring our menu setup.
- Creating a teardown stub.
- Reversing the setup logic.
- What are widget switchers.
- Creating a "Join" menu.
- Styling the menu.
- We finish styling out menu.
- Binding the WidgetSwitcher.
- Investigating the API.
- Switching menus.
- Implement a back button.
- Set startup level.
- Bind the text field.
- Call the
Join()
function.
- Create the new widget.
- Create the layout.
- Load on
ESC
key in level. - Create a
UMenuWidget
.
- The challenge spec.
- Hook up the cancel button.
- Hook up the quit button.
- How to quit from the console.
- Running console commands from C++.
- Quitting from a button press.
- How to polish your menu system.
- Share it with other students.