Это видео недоступно.
Сожалеем об этом.

CROSSHAIR With HUD - Unreal Engine 5 Tutorial

Поделиться
HTML-код
  • Опубликовано: 26 апр 2022
  • 💡 Download The FREE GameDev Tools Here: 👉 buvesa.com/free
    ✔️ Free GameDev E-book
    ✔️ Free Game Design Document
    ✔️ Free Platformer Course (UE5)
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    🏆 Join My Premium UE5 Course (The Unreal Vault) 🏆
    👉 Link: buvesa.com/course
    🗸 Full GameDev proces
    🗸 Level design
    🗸 Boss Fights
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    📱 SOCIALS 📱
    RUclips ► / @buvesagamedevelopment
    Instagram ► / buvesagamedevelopment
    TikTok ► / buvesagamedevelopment
    Twitter ► / buvesa
    Itch.io ► buvesagamedevelopment.itch.io
    🔔 Subscribe! 🔔
    Subscribe ► / @buvesagamedevelopment
    ☝️ In this unreal engine 5 tutorial we will create a crosshair with hud widget on screen. We will create a widget blueprint, add a png transparant crosshair onto the screen and show in inside of our fps game.
    Subscribe: / @buvesagamedevelopment
    #unrealengine #gamedevelopment #Buvesa

Комментарии • 54

  • @brokenworld542
    @brokenworld542 Год назад +30

    Guys please dont position ur crosshair manually, use the alignments, put them to 0,5 and you are 100% centered if you have Position X and Y to 0

    • @rwalper
      @rwalper Год назад +4

      Ya, the free moving to set the crosshair here made me twitch. 😛

    • @ethereal41
      @ethereal41 6 месяцев назад +1

      to make the crosshair perfectly in the middle set the position x and y to negative of half the size of the crosshair. e.g. my crosshair size is 50x50 so pos x = -25 and pos y = -25 @@rwalper

  • @lukefrohling
    @lukefrohling Год назад +2

    Nice! I was doing your FPS and found there wasn't a default HUD/crosshair so I thought I was sunk. I'm so glad you had this tutorial which roughly hooked into the unreal 5 tutorial at that point :)

  • @tonyjthegamer1068
    @tonyjthegamer1068 Год назад +1

    Thank you so much for this video. When I searched on how to do this the other people's ways of doing it would not work. When I found this video it helped me very much and was very useful. Thanks again.

  • @MilanKarakas
    @MilanKarakas Год назад +1

    It is so simple once one knows how. Now I know. Thanks for that!

  • @ThalesMML
    @ThalesMML 2 года назад +8

    Thanks for quick tutorials. Precision is not correct because of gun position probably. (Crosshair vs the actual projectile hit)
    Edit: Found out that adjusting the Projectile Offset in BP_Rifle to (100.0, -7.0, 22.5) makes projectiles shoot perfectly in the center.
    In the HUD, you can set X and Y positions to 0. Then set alignments to 0.5 and 0.5. This way crosshair will be perfectly in center.

    • @chankulovski
      @chankulovski 2 года назад +3

      Or just look for a Tutorials with Line Trace by Channel . This way whenever and wherever you aim at something, the projectile will hit precisely . :)

  • @awesomeboy122
    @awesomeboy122 8 месяцев назад

    Thank you for this tutorial! It really helped me with my game!

  • @MarkGameDesign
    @MarkGameDesign 2 года назад +3

    Easy to understand, to the point video that helped me with my College Graded Unit project. Liked and Subscribed :)

  • @electro7mixtapes
    @electro7mixtapes Год назад +1

    You're the man, thank you.

  • @Gorongirl
    @Gorongirl 6 месяцев назад

    Yay! Thank you!

  • @LiterallyJordan
    @LiterallyJordan Год назад +2

    Thanks Brother. Very cool

  • @nomad7317
    @nomad7317 8 месяцев назад +2

    Great video!
    Also, is it advisable to have multiple widget objects?
    Like, one for reticle, one for Player HUD to show attributes, one for indicating controls, one for compass/mini-map etc.?

  • @marciomarquer
    @marciomarquer 3 месяца назад

    Great!!!

  • @user-rc8ev7wp7e
    @user-rc8ev7wp7e Год назад +1

    Thanks ❤️

  • @kenarfl9134
    @kenarfl9134 2 года назад +2

    thanks

  • @adamlauben2279
    @adamlauben2279 Месяц назад

    thank you

  • @g99gaming85
    @g99gaming85 8 месяцев назад +1

    i have done everything, but my guns fire left side not on center where the crosshair is located, And its also doesnt shoot my ai enemy charecter
    . so do you have any solutions for that?

  • @yantingye1677
    @yantingye1677 11 месяцев назад

    hi,How to Remove UI in first person shooter mode in UE5

  • @flyingroads3498
    @flyingroads3498 Год назад

    do you know if you can make the crosshair move, animate bud it will be made of tringales.

  • @user-rc8ev7wp7e
    @user-rc8ev7wp7e Год назад

    Explain to us how to connect a server to online games
    I follow you from Iraq

  • @SouthernStarsMotivation
    @SouthernStarsMotivation Год назад +1

    How do i go about only showing crosshairs when i pick weapon up, i have tried a branch with a condition

    • @artendor719
      @artendor719 4 месяца назад

      ig u can bind crosshairs transparacy and cast to a blueprint with information about weapon being picked up/or not, get the boolean out of there and check on tick event if the boolean is true (weapon IS picked up) than trnsparacy 0 (u can see ut), if else, js set transparacy to 1.

  • @UE-5
    @UE-5 Год назад

    that is UMG based on User Widget class
    though it functions as a HUD this is not based off the HUD class

  • @nohamahon2988
    @nohamahon2988 Год назад +1

    is there another way to show the crosshair because i am using event begin play for showing a stamina bar so when i bring that is the crosshair widget it gets rid of the stamina bar widget do you know how to fix that

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад +5

      From event beginplay: Bring in a sequence node. Then you can add as many things as you like :)

    • @nemo9398
      @nemo9398 Год назад

      @@BuvesaGameDevelopment life saver

    • @nikolanojic6861
      @nikolanojic6861 Год назад

      @@BuvesaGameDevelopment Thanks

  • @DenisZaharenko
    @DenisZaharenko 2 года назад +4

    3:24 🤨

  • @SWN1975
    @SWN1975 Год назад

    when I try to add event begin play it just shows me the one that already exists in the blueprint

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад +1

      you can add a sequence node so you can have multiple nodes running after event begin play

  • @ry6554
    @ry6554 Год назад

    Epilepsy Warning?
    The screen flickering might be a little problematic.

  • @Crazybanana13
    @Crazybanana13 6 месяцев назад

    how do you get rid of the background of the crosshair

    • @artendor719
      @artendor719 4 месяца назад

      photoshop and then save as a .PNG file

  • @Maphrow
    @Maphrow Год назад

    Wait, If I want to make a different for a different weapon how?

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад +1

      You can create and call different widget blueprints or use a 'widget switcher' node

    • @Maphrow
      @Maphrow Год назад +1

      @@BuvesaGameDevelopment Thanks

  • @kreesgaming
    @kreesgaming 2 года назад

    How I can play 2d sound for 5 second and then the song gone?

  • @hype_axe360
    @hype_axe360 Год назад +1

    So what do you do if your bullet doesn’t hit the center screen

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад +2

      If your bullet in Unreal Engine doesn't hit the center screen, there are several potential causes and solutions:
      Incorrect projectile trajectory - check and adjust the projectile's launch speed and direction.
      Collision problems - ensure the projectile is colliding with the appropriate objects in the scene.
      Weapon accuracy - adjust the weapon's accuracy settings to ensure bullets hit the center screen more consistently.
      Camera position - ensure the camera position is not affecting the bullet trajectory.
      Physics simulation - check the physics simulation for any issues that might affect the projectile's trajectory.

    • @hype_axe360
      @hype_axe360 Год назад

      @@BuvesaGameDevelopment thank youu

    • @hype_axe360
      @hype_axe360 Год назад

      @@BuvesaGameDevelopment I have started a new project, and the projectiles land bottom right of the crosshair

    • @JesterLegend4life
      @JesterLegend4life 10 месяцев назад

      ​@@hype_axe360yep, exact same issue

  • @Ravenger2559
    @Ravenger2559 Год назад

    when i view the code in the event graph i can see the crosshair and i compile and save it but when i go back to first person map and play the crosshair doesn't show up any advice?

    • @BuvesaGameDevelopment
      @BuvesaGameDevelopment  Год назад

      Maybe you forget the node 'add to viewport' or didn't select the widget in the dropdown, could be a couple of things but these are the main things that happen

    • @Ravenger2559
      @Ravenger2559 Год назад

      @@BuvesaGameDevelopment i have the code exactly as you do but i dont know why it only works on play this level

    • @Ravenger2559
      @Ravenger2559 Год назад

      i ended up solving buy making a Hud blueprint in game mode for world settings and put my widget there

  • @petrichor2_
    @petrichor2_ 2 года назад +1

    Hi! the white dont go away for me pls help

    • @Noone-px7xg
      @Noone-px7xg Год назад +1

      The umage has to be transparent, if the white doesn't go away than find a different image