Unreal Engine 5 Tutorial - Widgets Part 5: Controller Support

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • SUPPORT ME
    Patreon I / ryanlaley
    Buy Me a Coffee I buymeacoffee.com/RyanLaley
    Donations I paypal.me/ryanlaley
    PRIVATE 1-2-1 SESSIONS
    Email me at support@ryanlaley.com for more information and rates, or visit www.ryanlaley.c...
    JOIN THE COMMUNITY
    Discord I / discord
    FOLLOW ME
    Twitter I / ryanlaley
    Facebook I / ryanlaleygames
    Instagram I / ryanlaleygames

КОМЕНТАРІ • 16

  • @foxedwards3486
    @foxedwards3486 3 місяці тому +4

    Thank you so much! I'd been trying to figure this out for hours before your video dropped!

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

    Thank you Ryan, appreciate the video.
    For Anyone trying to get the gamepad controller to focus on the button in widget (when you first open it), add a 0.2 seconds delay in event construct before setting the set keyboard focus, worked for me, cheers.

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

      I had this problem, but solved it the same way. Now though, I can't activate/press the first button until I've navigated down a button and back up?! The animation stays so I know its not been unfocused, but the blue box around it isn't there? I'm very confused

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

      @@kozselfmusic Two things that might be the culprit, 1. check if you are setting up "Current focused button" in event construct ? 2. Have you set up the function override for "on key down" in your widget ? If answer to both of them is yes, then convert the "Current focused button" to a validated get in "on key down" override function, put up a print string see if it goes through.

  • @kellowattentertainment
    @kellowattentertainment 3 місяці тому +7

    what about using common UI? for further controller support in widgets?

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

      I want to know this aswell

  • @Oathelius
    @Oathelius 20 днів тому

    5:52 the On Focused event doesn’t show up for me in my widget blueprint, is jt because I’m using a regular button and not a custom button?

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

    Nice video!

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

    Would you suggest this over common UI?

  • @FF-FAN9999
    @FF-FAN9999 Місяць тому

    Can you do one about game pad for common UI as well?

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

    I have a problem when following this tutorial: when you boot the level, the first button does not respond to the controller command. For example: my first button is "New Game", so the expected user experience is that you immediately press the gamepad button A to trigger it. However, that does not work.
    I first have to move at least by one button and then it will work. In your example: to make "Play Game" work, I need to move to "Load Game" first and then go back to "Play Game", then pressing the button with the pad works. Are you encountering the same issue?

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

      Hi, I'm having the same problem. But i also have some widgets to which I added only one button and i doesn't let me activate the associated interaction

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

      @@FabioRaffaeleDeSantis same! The way I solved it for the "one button widget" is that I created an "on key up" function override which basically triggers that button whatever button of the controller I press. It's a hacky way, but at least it works for that specific use case

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

    good luck trying to gamepad press the button that the mouse is hovered though. bad implementation

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

    can you make multiplayer lobby?

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

    bit strange you are using a Fortnight thumbnail when fortnight them self don't using any logic you have showed off. they used the Common UI plugin & its common UI widgets