Тёмный

Unreal Blueprint Best Practices 

Craig Perko
Подписаться 16 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@DemonBismuth
@DemonBismuth 2 года назад
One other organizational tip. For a function like Register Actor, where you connect a long thread from the start node, you can instead call "Get [Function Parameter]" and it will appear as a local variable get node inside that function. Very useful for avoiding annoying branching and reroute nodes
@CraigPerko
@CraigPerko 2 года назад
Oh, that sounds great! I've been registering them as local variables, but that sounds much easier.
@AFKxander
@AFKxander Год назад
This guy over here doing the Lord's work!
@dreamingacacia
@dreamingacacia 2 года назад
as a self-taught, this is greatly help me.
@ethanwasme4307
@ethanwasme4307 11 месяцев назад
Self-taught hobbyist, one of the best topics i've run into was design patterns and UML charts... makes me wonder what else i've missed not getting a CS degree when i probably had a chance at one... I also think it's a valuable skill being able to see ahead and write gameplay hooks for future implementation... Anyway, i'm 4 major bugs off showing my game to friends and family... all from scratch too! I legitimately could get a job as a web dev with all the UMG and event logic i've had to write over the last few months LOL Also could be wrong, but I think that the sequence fires events whether or not the code has finished executing or not, so if your final sequence is a return, there's no guarantee it will finish executing before hitting the return
@LeoMKyll
@LeoMKyll Год назад
instead paper notes, you can use reference viewer on unreal...nice tips btw
@josephluce9886
@josephluce9886 Год назад
I have to add that people need to learn design patterns. Coupling vs decoupling. Dependency injection. Has a vs. is a relationships. Expensive lookups vs. optimized retrieval data structures.
@CraigPerko
@CraigPerko Год назад
Sure, but no indie with a fist full of cheap models will want to do that.
@Bitlytic
@Bitlytic 2 года назад
I've been experimenting with UE4 for the past few days, and I'm curious about your opinion on collapsing nodes into a Collapsed Graph rather than putting them in their own function. A specific case for me is anytime I want to update the stored location of the mouse, I have to call both "Get Mouse Position on Viewport" and "Set Start Mouse Position" so I put those two nodes into a collapsed "Update Mouse Position" graph so it wouldn't clutter. Obviously this could just be a function, but was curious if you had any preference to one or the other.
@CraigPerko
@CraigPerko 2 года назад
I think collapsed graphs are fantastic. I wasn't really aware of how easy they were until you mentioned them. They are absolutely a viable replacement for functions in a lot of the situations I've mentioned! As usual, Unreal has a really easy way to do things... if you can find it. :D
@morganlak4337
@morganlak4337 2 года назад
The real benefit to collapsed graphs is you can still call things like delays and timelines, and have multiple output execution pins. Functions are also more performance because of compiler optimizations, so you should use Always a function if possible, a macro if it needs multiple execution output pins and is going to be reused, or collapsed graph if it's a one off bit of code that needs delays/timelines/output pins etc
@ethanwasme4307
@ethanwasme4307 11 месяцев назад
Collapsing has allowed me to go back to writing functions, methods and macros like you would in a traditional text based language
@DailyPaily
@DailyPaily 2 года назад
Interesting.
@Ryan-Ellis
@Ryan-Ellis Год назад
7:37 You see the blue wire, how can i get that blue dot? like the wire is straight then it bends after the dot
@jayrajkanzariya1113
@jayrajkanzariya1113 Год назад
double click the line or drag and type reroute node
@mcgeufer
@mcgeufer 2 года назад
It seems to me like this blueprint system is not the right thing for complex systems. I assume that was made with simple things in mind, like control objects that do just a few things.
@CraigPerko
@CraigPerko 2 года назад
Yes, but a game is a million simple things stacked on top of each other. More specifically, how would doing this in code be any clearer?
@mcgeufer
@mcgeufer 2 года назад
@@CraigPerko Sure, but some games are much simpler than others. Your question is way more interesting than I thought at first. Perhaps code just looks simpler to me because I'm used to it. But to me it is easier to keep thing organized by using scriptable objects for data, pure c# classes for small local functions. And Mono behaviours for managers that organize the smaller bits. Or just an entity component system. Then again, that works for me, might be that this would be more complicated to others. I guess what scares me with those visual scripting systems is all the surrounding stuff. All the frames and backgrounds, to me that seems to bloat things up.
@CraigPerko
@CraigPerko 2 года назад
The UI definitely needs work in order to really make blueprint-style programming work as well for complex projects as code. But choosing between C++ and blueprints? Most humans would prefer blueprints. :D
@mcgeufer
@mcgeufer 2 года назад
@@CraigPerko Right, I forgot that UE is using C++. I don't know much about it since I mostly used C# and Java. So, I guess for now, I just assume you have your reasons to prefer the visual option.
@mravara
@mravara Год назад
Sooooooo looooooooooooong pauuusesssssssssssssssssssss
@ethanwasme4307
@ethanwasme4307 11 месяцев назад
found the guy who gets burnt out halfway through a function xD jokes
Далее
Unreal Engine - Casting and Interfaces Explained
21:31
Blueprint Interfaces | Unreal Engine 5 Tutorial
14:41
Need to Know Nodes in Unreal 5 Blueprints
48:59
Просмотров 82 тыс.
Making Better Blueprints | Unreal Fest 2022
51:17
Просмотров 201 тыс.
Unreal Engine 4 Blueprint Tutorial for BEGINNERS
19:43
Просмотров 185 тыс.