Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition

You're reading from  Blueprints Visual Scripting for Unreal Engine 5 - Third Edition

Product type Book
Published in May 2022
Publisher Packt
ISBN-13 9781801811583
Pages 568 pages
Edition 3rd Edition
Languages
Authors (2):
Marcos Romero Marcos Romero
Profile icon Marcos Romero
Brenden Sewell Brenden Sewell
Profile icon Brenden Sewell
View More author details
Toc

Table of Contents (28) Chapters close

Preface 1. Part 1: Blueprint Fundamentals
2. Chapter 1: Exploring the Blueprint Editor 3. Chapter 2: Programming with Blueprints 4. Chapter 3: Object-Oriented Programming and the Gameplay Framework 5. Chapter 4: Understanding Blueprint Communication 6. Part 2: Developing a Game
7. Chapter 5: Object Interaction with Blueprints 8. Chapter 6: Enhancing Player Abilities 9. Chapter 7: Creating Screen UI Elements 10. Chapter 8: Creating Constraints and Gameplay Objectives 11. Part 3: Enhancing the Game
12. Chapter 9: Building Smart Enemies with Artificial Intelligence 13. Chapter 10: Upgrading the AI Enemies 14. Chapter 11: Game States and Applying the Finishing Touches 15. Chapter 12: Building and Publishing 16. Part 4: Advanced Blueprints
17. Chapter 13: Data Structures and Flow Control 18. Chapter 14: Math and Trace Nodes 19. Chapter 15: Blueprints Tips 20. Chapter 16: Introduction to VR Development 21. Part 5: Extra Tools
22. Chapter 17: Animation Blueprints 23. Chapter 18: Creating Blueprint Libraries and Components 24. Chapter 19: Procedural Generation 25. Chapter 20: Creating a Product Configurator Using the Variant Manager 26. Other Books You May Enjoy Appendix

Blueprints Visual Scripting

The first question you should be asking is: what is a Blueprint?

The word Blueprint has more than one meaning in Unreal Engine. First, it is the name of a visual scripting language created by Epic Games for Unreal Engine. Second, it can refer to a new type of game object created using the Blueprint language.

There are two main types of Blueprints: Level Blueprint and Blueprint Class. Each Level of the game has its own Level Blueprint and it is not possible to create a separate Level Blueprint. On the other hand, Blueprint Class is used to create interactive objects for the game and can be reused in any Level.

Opening the Level Blueprint Editor

To open the Level Blueprint Editor, click on the Blueprints button located in the leftmost group of buttons in the toolbar of the Unreal Editor. Then, select the Open Level Blueprint option from the dropdown, as shown in the following screenshot:

Figure 1.4 – Opening a Level Blueprint

Figure 1.4 – Opening a Level Blueprint

The Editor will open the Level Blueprint of the current Level. The Level Blueprint Editor is simpler than the Blueprint Class Editor because it has only the My Blueprint panel, the Details panel, and the Event Graph Editor. The following screenshot shows the Level Blueprint Editor:

Figure 1.5 – The Level Blueprint Editor

Figure 1.5 – The Level Blueprint Editor

For now, we will not do anything with the Level Blueprint. We opened it to get our first glance at the interface. Close the Level Blueprint Editor to return to the Level Editor window. Now, we will create a Blueprint Class to open the Blueprint Class Editor and see all the panels available.

Creating a Blueprint Class

There are three ways to create a Blueprint Class:

  1. Click the same Blueprints button in the toolbar that we used to open the Level Blueprint. Then, click the New Empty Blueprint Class button in the dropdown.
  2. Click the Content Drawer button to open the Content Browser, then click the Add button and select Blueprint Class under the Create Basic Asset category.
  3. Right-click anywhere on an empty space in the Content Browser and select Blueprint Class from the menu that appears.
Figure 1.6 – Creating a Blueprint Class

Figure 1.6 – Creating a Blueprint Class

On the next window, you must choose the parent class of the new Blueprint. For now, think of the parent class as the Blueprint type. The window shows the most Common classes, but if you need to choose another parent class, then just expand the All Classes option. When you choose the parent class, this window will close, and a new Blueprint asset will appear in the Content Browser to be renamed. You can click the Cancel button because we are just familiarizing ourselves with the process.

Figure 1.7 – Blueprint Parent Class

Figure 1.7 – Blueprint Parent Class

Now that we've learned how to open the current Level Blueprint and how to create a Blueprint Class, we will explore the panels of the Blueprint Class Editor. You can open the Blueprint Class Editor by right-clicking on a Blueprint asset in the Content Browser and selecting Edit, or by double-clicking on a Blueprint asset.

You have been reading a chapter from
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition
Published in: May 2022 Publisher: Packt ISBN-13: 9781801811583
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 $15.99/month. Cancel anytime