UI Navigation System Using Gamepad, Keyboard & Mouse - Unreal Engine 5 Blueprint Tutorial

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2024

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

  • @nxtalex10
    @nxtalex10 2 месяца назад +3

    What a shame i did it myself already 😭
    This would have saved days of working on it xD
    ok nvm i watched the video but its pretty simple, as it should be for a tutorial ofc, but im glad i spent like extra 2 days to make hovering better and other stuff, only downside is that the code is too huge :(

    • @MelvinTangGames
      @MelvinTangGames  2 месяца назад +1

      Yep, working with complex UI can be quite a mess! learning by yourself will definitely also improve your problem-solving skills, don't worry!

  • @nxtalex10
    @nxtalex10 2 месяца назад +2

    The way i solved the focus issure is by having an integer value bound to each button and checking which button i should be focusing now, and setting the keyboard focus, so actually this problem didn't really exist

  • @yorisongs9804
    @yorisongs9804 Месяц назад +1

    Thanks for the great video.
    I have a question.
    Is there any way to make the mouse hover or click change color the same as the controller hover or click?
    Also, is it a spec that the white border on the buttons is gone?

  • @LeonItashev
    @LeonItashev Месяц назад +1

    Thanks for the tutorial, but I have a question. Instead of changing the button style, how can I make it so I can change the text style/color?

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

      You can create a variable as I did in the video. Instead of button style, I believe its called Text Style. you can play around with the value there 😁

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

      was yo able to figre it out? if so can yo let me know as i'm interested in same thing

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

      If you want to achieve this, lets say u want to change the text color when hovering, you have to create a variable of type LinearColor, then you have to set the text isVariable = true, then Text->SetColorAndOpacity and you can plug in the variable there. Hope it helps

  • @yozakura16
    @yozakura16 2 месяца назад

    🔥🔥🔥

  • @anthawnmcfarlane4567
    @anthawnmcfarlane4567 День назад

    when I use my gamepad I can't see which Ui I'm on how can I fix it?

  • @BlenderLaoJiang
    @BlenderLaoJiang 22 дня назад

    I have a problem. My UI hides the mouse and only uses the keyboard to control the buttons. It enters the interface by default. Although the keyboard is focused, it cannot respond to the Enter key for interaction. The Enter key only works after pressing the arrow keys to switch buttons. Although the mouse is hidden, after I click the mouse, the Enter key does not work again. I need to switch the button again. I don’t know how to solve it.

    • @MelvinTangGames
      @MelvinTangGames  22 дня назад

      @@BlenderLaoJiang Go to the class you create the widget, after that you can get player controller > set show mouse cursor and set that to true. then player controller > set focus mode Ui only and plug the widget return value to the in widget . this should works

  • @importedsayur9447
    @importedsayur9447 15 дней назад

    Ok, default on clicked gamepad button x. And i want change to button triangle. How to make it?

    • @MelvinTangGames
      @MelvinTangGames  13 дней назад

      I guess you have to handle it manually via a On Pressed Key Down override function

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

    can yo show how to do it with text rather than button?

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

      If you want to achieve this, lets say u want to change the text color when hovering, you have to create a variable of type LinearColor, then you have to set the text isVariable = true, then Text->SetColorAndOpacity and you can plug in the variable there. Hope it helps