🎮

Unreal Engine 5 Blueprint Beginner Tutorial

Jul 12, 2024

Unreal Engine 5 Blueprint Beginner Tutorial 🎮👨‍💻👩‍💻📝🔥🚪

Introduction & Overview

  • Title: Unreal Engine 5 Blueprint Beginner Tutorial
  • **Focus Topics: **What are Blueprints, why learn them, how to use them in Unreal Engine 5
  • Applications: Creating games, tools, short films, interactive products
  • Video Components: Explanation of Blueprint basics, user interface, variables, application via five different Blueprints

Blueprint Basics

What are Blueprints?

  • Definition: Visual scripting system of Unreal Engine
  • Uses: Full games, characters, cars, tools, UIs, AI, interactability; useful beyond gaming

Blueprint Editor UI

  1. Viewport: Similar to main viewport, movable via WASD/right mouse
  2. Construction Script: Pre-game logic (scroll & pan with right mouse)
  3. Event Graph: In-game logic (scroll & pan as above), includes core scripting features
  4. Components & Details Panels: Structure and detailed properties/configurations
  5. Top Ribbon Toolbars: Save, compile, browse, find, etc.
  6. My Blueprints & Compiler Results Panels: Manage graphs and variable functions; check errors

Example Blueprints

Creating a Simple Blueprint Node

  1. Event Begin Play -> Print String: Basic setup to print 'Hello World'
  2. Execution Flow: Left-to-right logic flow between connected nodes

Variables in Blueprints

  1. **Types: **
    • Boolean: True/False
    • Integer: Whole numbers
    • Float: Decimal numbers
    • String: Text
    • Vector: Three float values (e.g., location)
    • Rotator: Three rotation values
    • Transform: Combination of vectors and rotators
  2. **Creation: **Using the variabkes tab, setting default values and attributes

Application Blueprints - Practical Projects

1. **Door Blueprint: **Open/close door with key press

  1. Components: Door frame, door, collision box
  2. Logic: Overlap events with collision box, enable/disable input, timeline for smooth door movement

2. **Hat Pickup: **Equip hat to character

  1. Components: Hat mesh, collision sphere, pickup text
  2. Logic: Overlap and event handling, attach hat to character via sockets
  3. Extra Step: Importing and setting up project files and applying sockets

3. **Damage Box: **Apply damage to the player upon collision

  1. Components: Damage collision box

  2. Logic: Overlap events, apply damage to player's health, looping event for continuous damage

  3. Fixes: Complex Collision used for correct ball interaction; Continuous damage with health bar widget

4. **Soccer Blueprint: **Goal and ball setup, respawn

  1. Components: Soccer goal, ball, collision setup
  2. Logic: Overlap event, spawn particle effect, respawn ball location; handle collision for net and ball
  3. Advanced Attribute: Expose variables for easy adjustments

5. **Hit Actor Blueprint: **Spinning obstacle that knocks back player

  1. Components: Static mesh for hit actor, capsule for collision, arrow component, rotating movement
  2. Logic: Overlap event to simulate physics on player, apply an impulse, manage rotation rates

Conclusion & Additional Resources

  • Next Steps: Intermediate and advanced blueprint tutorials
  • Engagement: Comments, feedback, course offerings from smartpoly.teachable.com
  • Subscription Reminder: Subscribe and hit the bell for updates