Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Unreal Engine Game Development Cookbook

You're reading from   Unreal Engine Game Development Cookbook Over 40 recipes to accelerate the process of learning game design and solving development problems using Unreal Engine

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784398163
Length 326 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
John P. Doran John P. Doran
Author Profile Icon John P. Doran
John P. Doran
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Acquainted with the UE4 Interface 2. Level Design – Building Out Levels or Greyboxing FREE CHAPTER 3. Creating Quality Interior Environments 4. Building the Great Outdoors – Exterior Environments 5. Lights, Camera, Action – Cinematics 6. Lighting and Shadows 7. Art Pipeline – Working with Materials 8. Blueprint Scripting – Level Effects 9. C++ Programming – Gameplay 10. User Interface 11. Publishing and Deployment Index

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 up the editor.

    In this menu, we are going to have the title of the game, and then a series of buttons the player can press.

  3. From the Palette tab, open up the Common section and drag and drop a Button onto the middle of the screen.

  4. Select the button and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime