UE Blueprint Fundamentals | Class #4 | Branches & Booleans

Поділитися
Вставка
  • Опубліковано 27 вер 2024

КОМЕНТАРІ • 106

  • @eduardoquintella8684
    @eduardoquintella8684 3 місяці тому +2

    Hi, Kevin. Thanks for your patience to explain basic stuff so well.

  • @erichorton1440
    @erichorton1440 9 місяців тому +10

    Thanks for another well explained vid. I'm hooked. Please keep making this content. We need you.

    • @livinfreestyle6727
      @livinfreestyle6727  9 місяців тому

      That's the plan. At least for a while, pending what you all think about the content. Appreciate the feedback once again!

  • @maringalea8197
    @maringalea8197 5 місяців тому +1

    Just found your training, and I want to say you are becoming my favourite Unreal teacher. Just amazing!!!

  • @farazk9729
    @farazk9729 2 місяці тому +1

    Amazing as always!

  • @michaelluo5619
    @michaelluo5619 2 місяці тому

    This was super clear, thank you!

  • @aloewishus
    @aloewishus Місяць тому +1

    out of work vfx artist consuming all your content. thank you
    edit: great studio lighting btw

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому

      Thx! I'm still working on the setup and the audio etc. Learning so much. Thx for watching!

  • @gregnelson4068
    @gregnelson4068 Місяць тому +1

    While I agree with not going into the weeds on NAND and NOR, I do think it is worth mentioning that NAND literally stands for "Not And" (Not this And Not that), while NOR literally stands for "Not Or" (Neither this "Nor" that). XOR I do think is worth exploring a bit more, as in some special circumstances, can make the code much less cluttered and easier to read, XOR is an "eXclusive Or", meaning: Either this Or That, but Not both this And that. Not using XOR when it is appropriate to do so means extra Boolean logic that can get cluttered very fast.

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому

      I agree 100%. NAND, XOR, NOR etc....but I was definitely laughing a bit when I read your very WELL and clearly written explanation cuz there was a cartoon playing in my mind about how no way that would possibly overwhelm beginners. I think all of these could make a good addendum vid and as we get through some of the other stuff I'll add it to the list to come back to. Thanks for taking time to drop the comment and motivating me to find a way to cover this. We'll see what we come up with for sure.

  • @julrai3780
    @julrai3780 2 місяці тому

    Great Video keep up the amazing work

  • @daviderocconi_sounds
    @daviderocconi_sounds 3 місяці тому

    Thank you as always! 🙇

  • @Aironically
    @Aironically 2 місяці тому +6

    Thank you! You are amazing. I feel that I transitioned from "I have to learn this" before your course to "I can't wait to start the next lesson".

  • @Voidlessghost
    @Voidlessghost 3 місяці тому

    So understanding this right, If I would to use math, and say, I have 2 keys for a locked door, I could say > than or = to is true, would unlock the door, but if I have 0 keys the door would be false, and have two more variables that state True = Unlocks and False = Need to have a key, after which I could then Subtract 1 key if true. leaving me with 1 key left. "if I am right about how that works," after watching all the videos up to now I think I understand how blue prints and all these work together much more, and will be watching even more. Which I am grateful for these videos.

    • @livinfreestyle6727
      @livinfreestyle6727  2 місяці тому +1

      I think so. Let me say it back to you another way, cuz there is more than one way.
      If you have >= 1 Key (greater than or equal ): You can open the door and reduce the number of keys by 1
      cuz that means you have at least one key. You could do the same thing though with this:
      If you have > (greater) than zero keys: You can open the door and reduce the number keys by 1
      both ways work

    • @Voidlessghost
      @Voidlessghost 2 місяці тому

      @@livinfreestyle6727 That makes a lot of sense. Yeah I understand that a lot more now. Thank you. :)

  • @toddmark1250
    @toddmark1250 8 місяців тому

    Thank you for taking the time out of your day to provide us these amazing instructional videos. Blueprints always overwhelmed and stressed me out. But through your videos I’m starting to understand.
    Seriously, thank you!

    • @livinfreestyle6727
      @livinfreestyle6727  8 місяців тому +1

      I'm glad they have helped de-stress you :) Its actually quite fun when you get into it. Thanks for watching and taking time to let me know the vids are helpful

  • @MuhammadyoaneYatalathov
    @MuhammadyoaneYatalathov Місяць тому

    great explanation sir!

  • @Caglarcomposes
    @Caglarcomposes 5 місяців тому

    As you said, AND & OR went through pretty easily, but NOT did not click right away. While I got the logic, I got the confused monkey face for a moment, until the "IsWounded" example. Thank you very much for these tutorials, once again! And thank you additionally for the very nice production quality

    • @livinfreestyle6727
      @livinfreestyle6727  5 місяців тому +1

      The double "not" also confuse face for me still!! glad the wounded example help solidify it, but you're probably still going to have to talk it through or write it down in practice (I still do for some things)

    • @Caglarcomposes
      @Caglarcomposes 5 місяців тому +1

      @@livinfreestyle6727 That is for sure. I am just safe until next time :D Because I remember dealing with this NOT once before and again I "understood" it back then :D

  • @surajprakash3181
    @surajprakash3181 8 місяців тому +1

    Thanks for another great lesson, Teacher. Hoping to catch up to the latest videos as soon as possible.

  • @63OO
    @63OO 4 місяці тому

    very helpful thank you

  • @bestpetzone
    @bestpetzone 3 місяці тому

    🌟

  • @christophedevillers
    @christophedevillers 15 днів тому

    Thanks

  • @mohbal1461
    @mohbal1461 4 місяці тому

    As Always 🎉❤❤❤❤🎉

  • @knitejax659
    @knitejax659 5 місяців тому

    Thank you so much for the video. Keep up the great work

  • @Profounders-hr6uu
    @Profounders-hr6uu 4 місяці тому

    Im starting on unreal engine, have no software engineering background and so far you're making it look pretty simple and easy, thank you so much for creating this content and id def buy this course if it was paid. my project will be a multiplayer game and i was wondering if you will be covering the networking aspects, servers and multiplayer visual scripting.

    • @livinfreestyle6727
      @livinfreestyle6727  4 місяці тому +1

      I'm glad the teaching style is resonating and I do think part of the "easy" is cuz it's visual scripting :) As far as server and multiplayer/networking, I think we do need to go into some of those things but it might be a while until we finish off some of the basics and foundations stuff. Thanks for the watch and the comment .The hope is to keep it free and everyone's support, donations, and patreon make that possible. So thank you

    • @livinfreestyle6727
      @livinfreestyle6727  4 місяці тому +1

      Also, after you finish some of these fundamentals, if you're totally new, something like the Twin STick Shooter or Horde Mode start to finish might be good to build reference for all the moving parts

    • @Profounders-hr6uu
      @Profounders-hr6uu 4 місяці тому

      @@livinfreestyle6727 actually my project is a 2D game, a game for bars, cafes etc to engage their audiences and have fun game nights, so there won't be really game characters and movement etc, just a series of challenges, points system and lots of networking, after i complete watching your content, which way you think i should go?

    • @livinfreestyle6727
      @livinfreestyle6727  4 місяці тому +1

      @@Profounders-hr6uu This sounds like fairly "light" networking requirements in that you aren't worried about lag, ping, and competitive cheating or trying to sync fast real time visuals across clients that are worlds apart. So you got this!

  • @guilhermefuchs1158
    @guilhermefuchs1158 18 днів тому

    I'm really enjoying following your channel; congratulations on your work! I'm currently studying Unreal, primarily to work with cinematic films or virtual production. I'm just a bit unsure if learning Blueprints is a good idea for film work. What do you think?

    • @livinfreestyle6727
      @livinfreestyle6727  18 днів тому

      This is a nuanced question depending on what you want to do in film, but understanding creative problem solving and logical thinking (which is kind of what blueprints are) would potentially help in just about anything and might directly or indirectly apply to just about any discipline.

  • @MOETECHMO
    @MOETECHMO Рік тому +2

    This makes so much sense! Thank you for another great tutorial! I feel like things are coming together finally and I'm experimenting with different branches and paths to see how they work logically and it's starting to make a lot of sense!
    There's one question I have related to events if this isn't too early in the series. I wanted to start an event and print a string when I press the E key, however nothing seems to happen when I add the E Key node.
    Are there special considerations when it comes to keyboard events in regards on how to make them activate? Thank you again!

    • @livinfreestyle6727
      @livinfreestyle6727  Рік тому +1

      Ooo, that's sort of a bit of an explanation. With 5.0 things are moving toward the Enhanced Input system. The way that works is you might have an Input Action and a mapping context and you use those to set what the input_actions are mapped to and what they might do. There are a lot of tutorials out there on this and you can probably just search for Unreal Enhanced Input Tutorial and find a few. I can also do one at some point once we finish the foundation stuff.

    • @MOETECHMO
      @MOETECHMO Рік тому +2

      @@livinfreestyle6727 That makes a lot of sense why it wasn't working by simply adding a keyboard event, thank you very much! Once again I look forward to seeing the next part of this series!

  • @Zabvenie
    @Zabvenie Місяць тому

    Idk when they added it, but I found out you can right click on a comparison operator and convert its type (in addition to the pin type), so I thought that was handy. Going back to the previous chapter, I'm guessing a good use case for "NOT" is when your branch is part of a function, right? Since it's self-contained logic, you can't easily change the outputs, so you may need to negate the input before it's fed in?

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому

      I think they added this in 5.0. It's awesome in general!

  • @drakouzdrowiciel9237
    @drakouzdrowiciel9237 5 місяців тому

    thx

  • @jashpaper8370
    @jashpaper8370 Місяць тому

    @7:07 Where are you getting the blsInAir boolean?? Did I miss a video?? I'm following the Playlist..

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому

      I’m not sure. It’s been a minute since I made these. You can just make one though and I’ll see if I can go back and find if or where I made it.

  • @michaelluo5619
    @michaelluo5619 2 місяці тому

    @10:37 what's the naming convention with using a lower b in front of your booleans and why the b doesn't show up in variable name?

    • @livinfreestyle6727
      @livinfreestyle6727  2 місяці тому

      Lower case ‘b’ is for Boolean. It doesn’t show in the name as part of an internal unreal thing and is stripped off by the system for cleaner display when in use.

  • @dziitenpfp
    @dziitenpfp Місяць тому

    I want to learn audio implementation with blueprints
    does those courses help ?

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому

      If you already know visual scripting and are familiar with Unreal, they may be more basic for you

  • @nassergreatdeveloper3745
    @nassergreatdeveloper3745 2 місяці тому

    Thank you so much. I have question
    I understand "not Boolean" means opposite of the default value. For Example, if the value of Boolean variable is true, it will be false if I connect not boolean, but Why would I use it if I can just create variable and I set the default value as false. Then, connect directly to condition

    • @livinfreestyle6727
      @livinfreestyle6727  2 місяці тому +1

      In one case it will work and in a lot of these we use them in one case. BUT you might want to use it in both "directions" true and false. For example. A boolean called: "bIsVisible"
      IF the enemy IS NOT visible we can put a stealth texture on it...
      but IF the enemy IS visible we want to put the normal texture on it.....
      We are using the boolean for both. AND the direction can change simply by changing the name of our variable. So if we called the variable "bIsHidden" then all the logic flips.

    • @nassergreatdeveloper3745
      @nassergreatdeveloper3745 2 місяці тому

      @@livinfreestyle6727 do you have discord or email ?
      because I need help in some of the codes in my game ?

  • @WestinsWorldStudio
    @WestinsWorldStudio Рік тому

    Great video! Do you think the 'flip flop' node has any similarities to branch or Boolean NOT? When would you commonly use flip flop vs branch or Boolean NOT?

    • @livinfreestyle6727
      @livinfreestyle6727  Рік тому +2

      I think of Flip Flop as a shortcut to tracking the state of a boolean. What I mean is, typically if you want to "toggle" something, let's say cloaking....so you would create a boolean, let's call it: bIsCloaked.....then you would have a function, event etc called "EventToggleCloaking" which would get the value of the bIsCloaked and set the cloaking to be "NOT" bIsCloaked and setting the bIsCloaked also. This basically creates a toggle. A flip flop saves from having to do that, BUT its state is local to the scope of where it lives. We haven't talked about scope yet, but lets say you make a flip flop in a function. When that function ends, the state gets lost and it starts again (I'm pretty sure). So you have to be wise about where you declare/use your flip flop so the value persists. Personally I don't use a lot of flip flops.

    • @WestinsWorldStudio
      @WestinsWorldStudio Рік тому +1

      @@livinfreestyle6727 Awesome and clear. Thank you!

  • @MariosEllinas
    @MariosEllinas 3 місяці тому

    Thank you so much Kevin! You are incredibly helpful. I have a question that is not related to this course. At minute 14:12 when UE crashed, because I get it quite often about 10 times an hour especially when I'm testing the game and I'm in more than 4 minutes, I always get it. Am I doing something wrong? or is it UE's? And when I publish the game on the play store will it be the same? I use 5.3

    • @livinfreestyle6727
      @livinfreestyle6727  3 місяці тому +1

      There are so many things that can cause a crash. Of course software (prob try using visual studio or other debugger to find it), but then all the crazy stuff. Bad memory, bad drive, corrupt files, improperly seated chips (like they aren't plugged in all the way). So you have to kind of sort them out. As far as will it crash in the play store, I would probably do a full and proper package of my game, as if I was shipping it to players and try running that. If it crashes, then yep (still could be just your machine so try another machine)

    • @MariosEllinas
      @MariosEllinas 3 місяці тому +1

      @livinfreestyle6727 I've never tried visual studio because I'm new but I'll watch some tutorials and give it a try. I hope I can publish my game. Thank you very much

  • @anthonysimmonsacousticmusi1098
    @anthonysimmonsacousticmusi1098 9 місяців тому

    Can you use an array for your variables and then add a not statement afterwards if needed

    • @livinfreestyle6727
      @livinfreestyle6727  9 місяців тому

      I think the answer might be yes, but would need a more specific example. Ie and array of booleans? or an array of variables that you are testing to see if they are NOT greater than 5? type thing

  • @apapataco
    @apapataco 4 місяці тому +2

    I don't NOT like this video. True.

    • @livinfreestyle6727
      @livinfreestyle6727  4 місяці тому +1

      The double negatives! Takes me a sec to figure out which way is up

  • @vabfasda
    @vabfasda Рік тому

    hi i am new

    • @livinfreestyle6727
      @livinfreestyle6727  Рік тому

      Welcome! If you are new to unreal, you may want to start with the first video. ua-cam.com/video/IipvT6aGinM/v-deo.html

    • @vabfasda
      @vabfasda Рік тому

      @@livinfreestyle6727 thenks but do you want to clab

    • @risecreation230
      @risecreation230 3 місяці тому

      ​@@vabfasda😂

  • @BrickCube
    @BrickCube Місяць тому

    Awesome stuff, Kevin! This is super helpful even as someone with Unity dev knowledge.

  • @DeadlyFocus
    @DeadlyFocus 2 місяці тому

    Hello Kevin , thanks for the tutorial , it was clear and supportive . I am going to give you 3 more subscribes . Have a good day.

  • @KADstudioArchitect
    @KADstudioArchitect 19 днів тому

    Also I am curious, your background is working in gaming big industry (Riot Games), I studied in computer science and I worked programming for long time, we were always used Bln as a prefix for Boolean var type, but you used Bls, is that any standard about that I don't know or used in game industry or UE or what? Thank you again.

    • @livinfreestyle6727
      @livinfreestyle6727  19 днів тому

      Interestingly enough in Unreal the standard is actual 'b' if you 'bIsFlying' then unreal will actually trim that when it displays in the details panels as "Is Flying" with spaces....a bit different then the way I use to prefix things back in software engineering days. But this is a fair bit different than in Python etc. So I don't worry about it too much and just roll with the a semi Unreal Standard....

    • @KADstudioArchitect
      @KADstudioArchitect 18 днів тому

      @@livinfreestyle6727 Thank you so much

  • @Doubleaa500
    @Doubleaa500 Місяць тому

    So you are declaring the truthiness or falsity of a thing before you connect it, then the branch is just checking whether it is false or not and doing the specified path.

    • @Doubleaa500
      @Doubleaa500 Місяць тому

      The truth or false of it is already predetermined before the thing is connected..?

    • @livinfreestyle6727
      @livinfreestyle6727  Місяць тому +1

      @@Doubleaa500 It depends on what you connect it to. For example, if we wanted to know if you are jumping. We check to see "IF" you are falling. So the value of "IS Falling" can be true or false depending on if the character is actually falling. Then IF falling is true.....deploy parachute for example. The "branch" just allows you to choose two different actions for whether or not the condition is true or false.

  • @bergus541
    @bergus541 3 місяці тому

    i don't now but coding in blueprint gives me lot of fun than just coding in javascript or python.
    plus is much esier to understand all stuff because is same but in grafics style, is there any correct way to build good blueprints or is same as normal programing ?. ( i mean we can write one thing in 10 ways)

    • @livinfreestyle6727
      @livinfreestyle6727  3 місяці тому

      Each team I"ve been on generally comes up with Blueprint standards. Just like with clean code you want the next person to be able to read and understand. SO good layout, sensical variable names, comment things that might not be clear, etc

    • @bergus541
      @bergus541 3 місяці тому +1

      @@livinfreestyle6727 ok, i got it, thank you

  • @user-hehhe
    @user-hehhe 25 днів тому

    hey Kevin love your tutorials seems like I can understand BP now.. Thanks you very much for all this but can you give some advice how do learn to use the blueprint that i never heard of

    • @livinfreestyle6727
      @livinfreestyle6727  23 дні тому

      Not sure I understand the last part. What blueprint you have never heard of?

    • @user-hehhe
      @user-hehhe 23 дні тому

      @@livinfreestyle6727 like for example i want to make a flashlight system and i saw some tutorial uses "Set Visiblity" node ...what if never heard of that node thats means i could never know about that node until i watch tutorials

    • @livinfreestyle6727
      @livinfreestyle6727  22 дні тому

      @@user-hehhe Usually the API reference: dev.epicgames.com/documentation/en-us/unreal-engine/BlueprintAPI

  • @Elnaz_Heydari_22
    @Elnaz_Heydari_22 2 місяці тому

    Thanks a lot ✌🏻✌🏻✌🏻

  • @graham8624
    @graham8624 3 місяці тому

    Thank you

  • @JairusC
    @JairusC 2 місяці тому

    Man, those "NOT" nodes are going to drive me crazy.
    I absolutely love that you mentioned about how you have to write down the logic because of how quickly convoluted things can become, especially if you're just thinking it all out. Sometimes the good ol' pen and paper can help.
    I definitely would love to see an addendum to this that provides more examples so that way I could practice and apply this more, if possible! (Unless it gets implemented more with the upcoming Loops & Arrays).
    Otherwise, again, wonderful job on explaining this and I am definitely excited for the next segment with Loops and Arrays.

    • @livinfreestyle6727
      @livinfreestyle6727  2 місяці тому +1

      I'll keep it in the back of my mind to keep track of examples of nots and booleans to maybe provide an addendum.

  • @thomasstrickland3711
    @thomasstrickland3711 2 місяці тому

    These videos are amazing! You break everything down into bite sized understandable parts. I've been a gamer almost my whole life and have wanted to make games. I tried as a teenager to learn how to script but I wasn't good at it. I am more visual and better at art. I am currently assisting with art on a project with others, but want to learn how to do blueprints so that I could do my own projects. Like others, a lot of the other tutorial videos show how to do blueprints, but do not really explain the fundamentals of what makes them work. Your videos do explain the fundamentals in such a way that even I can understand what's going on. Thank you so much. I hope that you continue to grow and get the attention, likes, subscribers, and support that you deserve.

    • @livinfreestyle6727
      @livinfreestyle6727  2 місяці тому +1

      I definitely hope to continue. Glad you have found the style works for you and welcome to the channel!

  • @legotimebombshorts4231
    @legotimebombshorts4231 6 місяців тому

    Another great video and explanation. Keep up the good work.

    • @livinfreestyle6727
      @livinfreestyle6727  6 місяців тому +1

      roger that. Keep on cranking. Thanks for the comment