RTS Game - Adding Buildings (Basic Setup & Select/Deselect Functionality)

Sdílet
Vložit
  • čas přidán 20. 08. 2024
  • In this video we'll introduce buildings to the RTS game. We'll make a parent building class blueprint, and then make our first building. We'll also add the functionality to select and deselect buildings by clicking with the mouse.

Komentáře • 28

  • @hucancode9
    @hucancode9 Před 2 lety +15

    Hi Jon, tour videos might not getting many views right now. But your content definitely helps people. Keep it up!

    • @abdelhafidibis
      @abdelhafidibis Před 2 lety +1

      I couldn't agree more.

    • @krisx2S
      @krisx2S Před rokem

      Aye, fantastic videos. Clear and easy to follow

  • @user-pr1uc6vp1i
    @user-pr1uc6vp1i Před 6 měsíci

    Listening to Jon is like listening to your kindly grampa teach you how to fix a car. It makes learning so mush easier.

  • @canertwo
    @canertwo Před rokem +2

    Thank you Jon. There is no other RTS tutorial like this. You helped me and many others immensely!

  • @roznetakiefajne
    @roznetakiefajne Před rokem

    This is the one of the best tutorial on RTS in Unreal! Great stuff here. Thanks

  • @br8698
    @br8698 Před 2 lety

    Just got to this part of the tutorial series and wanted to say thank you for making it. The explanations and comments written in the videos have helped me understand the why of many choices regarding the blueprints so I don't feel like I'm just pasting nodes to the graph.

  • @mikemklee
    @mikemklee Před rokem

    Thank you boss! I am addicted to this series..

  • @jeseyurbaez689
    @jeseyurbaez689 Před 2 lety +1

    Amazing! been following and having a blast! Thanks again for these amazing tutorials!

  • @mellobello74
    @mellobello74 Před rokem

    Hey Jon, thx for your cool RTS Videos. I Love your Style and hope you came back and make more RTS Style Videos 🔥🔥🔥

  • @CT-td9mt
    @CT-td9mt Před 2 lety

    This series is amazing. Thank you so much!

  • @hmilbradt
    @hmilbradt Před rokem +2

    Great videos so far. I come from a background in full-stack web programming, and a couple of things jumped out at me:
    1. Why implement everything under a single interface? I'm assuming this is just for demonstration purposes, but I am curious if there's an Unreal specific reason to do it this way.
    2. Is there a reason you wouldn't want to create a "selectable" interface and add that to both units and buildings? I'm assuming that you've implemented these separately to handle selecting only buildings or units, but the underlying selection logic is essentially the same and I can think of a few ways to handle the filtering instead.
    Thanks!

    • @buildgameswithjon7641
      @buildgameswithjon7641  Před rokem +1

      Hi thanks for watching! Certainly you could separate functionality to different interfaces and you're right I am doing it all in one to keep things as simple as possible for beginners. Cheers!

  • @michalh6977
    @michalh6977 Před 3 měsíci

    😔 CANT CARRY ON....This making me sad...I did it 3 times and still not working. Cant sign objects like on start.🤷‍♂ Missing some fixes.

  • @AMobOGobos
    @AMobOGobos Před rokem +2

    It looks like your finished marquee selection tool cannot be used to select a building (They have to be clicked on directly). Was this intentional, or is it something that could be change? If so, I would really like to see a video on how to change the marquee tool to be able to select building and units, but neither at the same time.

    • @jared875
      @jared875 Před rokem +1

      I thought the same too, but as I think about it, buildings in RTS games aren't usually multi-select because they tend to function alone instead of in a group. To have the other functionality you would need to modify the nodes for checking for actors under the rectangle. Likely storing the first type (building or unit) in a variable and only selecting those. Hope that gives you an idea for a starting point if you or anyone else is still wondering

  • @ISDISNJH
    @ISDISNJH Před rokem +1

    followed this tut after doing the unit selection tutorial and followed it exactly but adding the this new building selections to break drag box selection and also unit selection. anyone else have this issue?

    • @HackerofBlx
      @HackerofBlx Před rokem

      Yes, same issue, cannot select units and cannot deselect the building. Only working in game function is it lets me select the building.

    • @HackerofBlx
      @HackerofBlx Před rokem

      I just found the error is in the "Handle Building Clicks" Macro. When I remove the macro and click "Set Is Left Mouse Pressed?" into "Marquee Pressed" The unit selection and deselection works, and you can also select the building but not deselect it. I've went through and did it as in the video 3 times and have had 0 luck getting it to work properly. Using UE 5.1

    • @AMobOGobos
      @AMobOGobos Před rokem

      Rewatch the video from 8:00 onward. He notices that he broke the marquee selection and fixes it.

  • @CommanderShiz
    @CommanderShiz Před 5 měsíci

    Each video I watch in this series is 2 steps forward and one step back with something that does not work lol

  • @O_M1tsury
    @O_M1tsury Před rokem

    Hi, how are you?
    I loved your videos, but could you help me?
    In the part where we go to MarkHud and change from "actor" to "unit class," something goes wrong, and I can no longer select the building when I hit play.
    Can you help me?

  • @haakk170
    @haakk170 Před rokem

    niceeeeeee

  • @cursedbishstudio
    @cursedbishstudio Před 9 měsíci

    5.7k views.. 136 likes.. shameful

  • @GrunkleSoos
    @GrunkleSoos Před 2 lety

    Hi Jon, thanks for another awesome video. I'm sure I'm telling you something you already know but your mic/sound quality seems to have dropped significantly in this video. I jumped to the next few and they seem pretty bad as well. You're still understandable but it is definitely distracting.

  • @scorp9838
    @scorp9838 Před 10 měsíci

    if the unit selection has stopped working, restart the UE5 editor✅

  • @scorp9838
    @scorp9838 Před 10 měsíci

    👍

  • @KingPredatorHD
    @KingPredatorHD Před 2 lety +1

    Thank you for all these great tutorials Jon. You are helping me not only learn UE5 but also creating my dream RTS game!!!