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

Creating a main menu

A main menu can serve as an introduction to your game and is a great place for us to discuss some additional things that UMG has, such as texts and buttons. We'll also learn how we can make buttons do things. Let's spend some time to see just how easy it is to create one!

Note

For more information on the client-server model, refer to https://en.wikipedia.org/wiki/Client%E2%80%93server_model.

How to do it…

To give you an idea of how it works, let's create an empty level to hold our menu:

  1. Create a new level by going to File | New Level and select Empty Level.
  2. Next, inside the Content Browser tab, go to our UI folder and navigate to Add New | User Interface | Widget Blueprint and give it a name (MainMenu). Double-click on it to open ...

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