Book Image

Mastering Unreal Engine 4.X

By : Muhammad A.Moniem
Book Image

Mastering Unreal Engine 4.X

By: Muhammad A.Moniem

Overview of this book

Unreal Engine 4 has garnered a lot of attention in the gaming world because of its new and improved graphics and rendering engine, the physics simulator, particle generator, and more. This book is the ideal guide to help you leverage all these features to create state-of-the-art games that capture the eye of your audience. Inside we’ll explain advanced shaders and effects techniques and how you can implement them in your games. You’ll create custom lighting effects, use the physics simulator to add that extra edge to your games, and create customized game environments that look visually stunning using the rendering technique. You’ll find out how to use the new rendering engine efficiently, add amazing post-processing effects, and use data tables to create data-driven gameplay that is engaging and exciting. By the end of this book, you will be able to create professional games with stunning graphics using Unreal Engine 4!
Table of Contents (22 chapters)
Mastering Unreal Engine 4.X
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

The game UI widget


Within UMG the UI screens or panels are called UI widgets. A widget can have an unlimited amount of UI elements, which include subpanels. But think about a widget as a container for UI elements.

The UI widget is an asset type, just like any other asset within Unreal. It is better to think about it as a blueprint, but a different type of blueprint. However, it shares the same methodology, which includes a designing part, where you can assemble some elements, and a logic part, where you can add logic or code for those designing parts.

Now, let's create a UI widget, which is as simple as creating an actor blueprint and can only be created from the content browser just like any other blueprint. You can pick a widget blueprint from within the User Interface submenu.

Tip

I created mine, and just named it InGameUI. After creating it, do a double-click in order to open the UMG designer editor.

Remember to be very organized! The project is getting bigger with time, and things might...