Announcement

Collapse
No announcement yet.

Community Led Training - Gamepad Support for UMG - August 29 - Celeste from Panda Studios

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Community Led Training - Gamepad Support for UMG - August 29 - Celeste from Panda Studios

    Click image for larger version  Name:	CT_GamepadSupportCeleste.png Views:	1 Size:	61.4 KB ID:	1345158





    WHAT
    User Interfaces are an essential part of any game, and they should be intuitive and simple to navigate. Celeste returns to delve further into UMG development to explain how to add gamepad support to your UMG widgets. She will show how to receive inputs, navigate menus, and visualize that navigation to help your users have a smooth experience.

    NOTE - This is an intermediate level training, so some fundamental knowledge of programming or Blueprints is assumed.

    New to UE4? You're still encouraged to join in, as you'll still learn something new along the way, but introductory topics will not be covered. Check out this Getting Started beforehand!

    Download Celeste's Project file here

    WHEN
    Tuesday, August 29th @ 2:00PM ET [Countdown]

    WHERE
    Twitch
    Youtube

    WHO
    Celeste - Panda Studios - @CatherineCel / @PandaDevStudios

    Have questions about gamepad support? Post below and we'll gather them up!

    ARCHIVE

    Last edited by Amanda.Bott; 09-01-2017, 01:37 PM.

  • replied
    So followed the video and everything works like it shows. Except one thing. Shouldn't i have a button on gamepad to actually select a button?

    Leave a comment:


  • replied
    I am new to Unreal Engine. I Set up all menus widgets for my game with hover, press down, up, etc. and everything worked perfect with mouse. XBOX wants me to send them a demo of my game with controller support.

    I purchased a USB wired Xbox controller and plugged into my computer and the games actually played with the controller! But then I tried navigating the menus I spent weeks creating and nothing would work with the controller

    After reading for hours and hours and watching tons of videos I am starting to come to the conclusion that all menus have to be recreated to work with the controller.

    This seems crazy, You can add the on keyboard focus and you can use the controller to move around and press buttons but it will not highlight the hover button color. All the work to recreate the navigation for a controller just seems like a huge waste of time. It would seem that Epic could just add a node that says keyboard hover or something like that.

    If anyone know an easy way around this please let me know! Thank you.

    Leave a comment:


  • replied
    Originally posted by Panda Studios View Post

    You create a widget in the player controller, store the reference and then you are giving the input to the umg you created for that controller.

    On Yuri,
    I am well aware that it exists, In gamedev there is never one way of doing it and I much more prefer this method, there's no reason to just simply assume I am not aware it exists because I don't use it.
    If you know that it exists i don't understand why you want to reinvent the wheel, don't blame me, i'm an old dinosaur engineer

    Said that, the built-in nav system need an improvement, Epic has to at least give us the ability to remap the navigation keys whitout change the engine source (i wonder why they are hardcoded) but for the rest it work fine.
    Last edited by ZioYuri78; 09-19-2017, 05:35 AM.

    Leave a comment:


  • replied
    Originally posted by LoN View Post

    Sadly I have no idea how to use the second player controller in the same menu. Can you give me any tips using the same method as in your video?
    You create a widget in the player controller, store the reference and then you are giving the input to the umg you created for that controller.

    On Yuri,
    I am well aware that it exists, In gamedev there is never one way of doing it and I much more prefer this method, there's no reason to just simply assume I am not aware it exists because I don't use it.

    Leave a comment:


  • replied
    Originally posted by Mootjuh View Post
    From what I understand is you're going to be setting your input mode to Game and have your player controller perform the UI navigation. That's judging from the preview picture ofcourse, 1) if that's the case, why is that preferred over using the Navigation within UMG?


    http://puu.sh/xlQte/e0bc4a3c21.png

    There's also this issue where you should be able to seamlessly switch between gamepad and keyboard, therefore my other question is. 2) Is there a way for your mouse to be at the last position of the widget you've highlighted through your gamepad, so when you move your mouse it's at the selected widget you selected.

    Also, how will you tackle dynamically changing lists of widgets, for example a friends list?
    1) My personal opinion, there is no reason to prefer her method, looks like she doesn't know that UE4 has a built-in navigation system for UMG.
    2) Uhm, easy way could be store somewhere the last focused widget and when you move your mouse set its coords at stored widget (of course had to be done only once or mouse cursor will stay forever here, you understand what i mean).
    Last edited by ZioYuri78; 09-13-2017, 11:46 AM. Reason: english

    Leave a comment:


  • replied
    Originally posted by Panda Studios View Post

    Hey, if you follow my stream and actually use the player controller(which have their own player controller) you can get the controls mapped to their own spawned UI. You'll need Input mode Game and UI though, but it's a nice workaround as opposed to binding OnKeyDown or using anything else.
    Sadly I have no idea how to use the second player controller in the same menu. Can you give me any tips using the same method as in your video?

    Leave a comment:


  • replied
    Originally posted by mendiolanivelle View Post

    hey thank you for the response. i was waiting when will epic upload your stream yesterday. because it is still not in their youtube chanel
    Usually takes some time, you can find it here in the meantime https://www.twitch.tv/videos/170749220

    Leave a comment:


  • replied
    Originally posted by Panda Studios View Post

    Hey, if you follow my stream and actually use the player controller(which have their own player controller) you can get the controls mapped to their own spawned UI. You'll need Input mode Game and UI though, but it's a nice workaround as opposed to binding OnKeyDown or using anything else.
    hey thank you for the response. i was waiting when will epic upload your stream yesterday. because it is still not in their youtube chanel

    Leave a comment:


  • replied
    Originally posted by mendiolanivelle View Post

    hey did you find solution about your problem ? because im trying to create a character selection like tekken or street fighter ..where 2 player select character together
    Hey, if you follow my stream and actually use the player controller(which have their own player controller) you can get the controls mapped to their own spawned UI. You'll need Input mode Game and UI though, but it's a nice workaround as opposed to binding OnKeyDown or using anything else.

    Leave a comment:


  • replied
    Originally posted by Roel View Post
    Great, can't wait! Will this also work for multiple controllers? I have a hard time getting focus on the menu with player 2,3 and 4 (local multiplayer)
    hey did you find solution about your problem ? because im trying to create a character selection like tekken or street fighter ..where 2 player select character together

    Leave a comment:


  • replied
    Download link for the project made on stream -> https://drive.google.com/open?id=0B5...XFNdkc5d1BDWVk

    Leave a comment:


  • replied
    Great, can't wait! Will this also work for multiple controllers? I have a hard time getting focus on the menu with player 2,3 and 4 (local multiplayer)

    Leave a comment:


  • replied
    From what I understand is you're going to be setting your input mode to Game and have your player controller perform the UI navigation. That's judging from the preview picture ofcourse, if that's the case, why is that preferred over using the Navigation within UMG?


    http://puu.sh/xlQte/e0bc4a3c21.png

    There's also this issue where you should be able to seamlessly switch between gamepad and keyboard, therefore my other question is. Is there a way for your mouse to be at the last position of the widget you've highlighted through your gamepad, so when you move your mouse it's at the selected widget you selected.

    Also, how will you tackle dynamically changing lists of widgets, for example a friends list?
    Last edited by Mootjuh; 08-28-2017, 05:27 PM.

    Leave a comment:


  • replied
    Best Practice when dealing with FOCUS & Input from a Gamepad (or all 3 Mouse/Keyboard too)?

    Basically to avoid problems as outlined in the following thread, regarding loss of focus / input etc.
    Right now the only thing that works reliably is to always accept Gamepad input in any game state.

    Why? The Set Input nodes don't work! That means more complicated code & game state checks.
    Just to know which UI / HUD / Widgets are active on screen / and which have 'valid selections' etc..

    Leave a comment:

Working...
X