What is a Macro? And what is a Blueprint Macro Library? | Unreal Engine 5 Tutorial

  Рет қаралды 6,875

Kekdot

Kekdot

Жыл бұрын

👨‍🏫 My Patreon link:
/ kekdot
Download Project Files | Premium Tutorials | Courses
💦 Get our Game on Steam | Kekdot Center:
store.steampowered.com/app/14...
---
In this video we take a look at what Macros are, what a Blueprint Macro Library is, how we can use them to our advantage, and why you should be using them in your projects.
Blueprint Macro Libraries allow you to re-use your handy Macros throughout your classes. No more need to write specific Macros on a per-class basis.
I also explain the differences between Macros and Functions, and what the Pros and Cons of each are.
🛒 Checkout our awesome Marketplace products and learn more about Unreal Engine:
www.unrealengine.com/marketpl...
#unrealengine #macro #tutorial #blueprintmacrolibrary
---
Welcome to Kekdot!
👨‍🏫 Our Patreon - Download Project Files | Premium Tutorials | Courses:
/ kekdot
🛒 Our Unreal Engine Marketplace Templates:
www.unrealengine.com/marketpl...
👾Join our Discord:
/ discord
📆 We upload videos on a weekly basis
📰 Follow us on:
Instragram: @kekdotyoutube
Twitter: @kekdot
Reddit: @kekdot

Пікірлер: 17
@Kekdot
@Kekdot 7 ай бұрын
Hey guys, 👨‍🏫 My Patreon link: www.patreon.com/kekdot Download Project Files | Premium Tutorials | Courses 💦 Get our Game on Steam | Kekdot Center: store.steampowered.com/app/1487180/Kekdot_Center/
@34959
@34959 3 ай бұрын
so the game is a roblox obby? better be able to parkour into obama and get digested
@MarekZeman91
@MarekZeman91 Жыл бұрын
Few notes about macros: 1. You can use variables in macro, check the foreach. You can create it but you have to use it through directly connected nodes. 2. The reason macro can use Delay (asynchronous actions) is because the macro will be copied into your code. Functions are REUSABLE code that is created once per class/actor. Macro is duplicated and runs on main thread like your BeginPlay and so on. 3. Function has one return/result. Macro is just a wrapped code chunk so it can have multiple output nodes. It is literally just piece of your code hidden under a name.
@polardevs8883
@polardevs8883 Жыл бұрын
This is such a great comment! I like to compare Macros to the "Collapse Nodes" graph box. It's basically a re-usable version of a Collapsed Graph. If you've ever tried to duplicate a Collapsed Graph to use it somewhere else in your BP, you could instead turn it into a Macro. The end result in the compiled/interpreted code is the same but you can update a Macro in one place, instead of needing to update several duplicated collapsed graphs.
@arsen1156
@arsen1156 3 ай бұрын
Macro has nothing to do about threads. It will run on the same thread that previous node runs on (i.e. one connected to input pin of our macro).
@MarekZeman91
@MarekZeman91 3 ай бұрын
@@arsen1156 Yeah, that is kinda what I meant. Not the main thread but the thread it was run from.
@speedwaylabsdev
@speedwaylabsdev Жыл бұрын
Building an Unreal project is like building a house.
@Kekdot
@Kekdot Жыл бұрын
Extremely true
@Biboz0r
@Biboz0r Жыл бұрын
By the time you get to a no return point, you regret your designs? Checks out
@Kekdot
@Kekdot Жыл бұрын
Hahaha, You just got to carefully plan and at some point cut some ropes. But yeah, it can get complex at certain times :p
@billupsti
@billupsti Жыл бұрын
You’re doing daily vids now???? Let’s gooooo
@Kekdot
@Kekdot Жыл бұрын
Yesss sirr
@iblisellis7114
@iblisellis7114 3 ай бұрын
The more I use Blueprints the easier C++ becomes for me, lol.
@jcruz6888
@jcruz6888 11 ай бұрын
I think this is what I was looking for
@first9279
@first9279 Жыл бұрын
What happend to coinbattle?
@Kekdot
@Kekdot Жыл бұрын
Haha funny that you still remember. Coinbattle was part of a startup company which unfortunatly closed during covid because of being unable to raise money for it. Since it's still owned by the startup we can't continue on it and it has since then been abandoned.
I Struggled With Blueprint Interfaces for Years!! (Unreal Engine 5)
16:48
Glass Hand Studios
Рет қаралды 173 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 119 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 14 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
Unreal Engine 5 Tutorial #21 - Macros in Blueprint
15:35
EsportsPlayersClub
Рет қаралды 326
WTF Is? Blueprint Macro in Unreal Engine 4
5:31
Mathew Wadstein Tutorials
Рет қаралды 13 М.
Event Dispatchers | Unreal Engine 5 Tutorial
19:09
Tyler Serino
Рет қаралды 26 М.
Why Unreal Engine 5.4 is a Game Changer
12:46
Unreal Sensei
Рет қаралды 1 МЛН
Master Unreal Engine: Understanding Hard and Soft References
13:30
Danny Goodayle - Unreal Tutorials
Рет қаралды 5 М.
What is an Enum / Enumerator and how do you use it? | Unreal Engine 5
7:49
InsertNameHereGameDev
Рет қаралды 21 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 119 МЛН