HOW to CREATE a GAMEPAD Menu Unreal Engine 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ธ.ค. 2024

ความคิดเห็น • 41

  • @talanock
    @talanock 4 ปีที่แล้ว +2

    Thanks for this. so many pause menu tutorials and they never tell you about the sontroller downside or even how to fix it.

  • @Goggalor1990
    @Goggalor1990 2 ปีที่แล้ว

    Exactly what I was looking for. Thank you!

  • @edensagasta7735
    @edensagasta7735 ปีที่แล้ว

    Hi I followed your tutorial and I have a menu with gamepad support, but now I want to be able to use the menu with keyboard keys also so... how can this be done without having to press tab to enable keys navigation? thanks

  • @DronX_
    @DronX_ 6 ปีที่แล้ว +1

    does it works with sub menus?

  • @savagebeatscentral4931
    @savagebeatscentral4931 2 ปีที่แล้ว

    so it works for 1 my menus but not the one on begin play , i swapped the widgets around and then the other widget wouldnt work why would this happen on begin play widgets?

  • @OmegaMouse
    @OmegaMouse 6 ปีที่แล้ว +2

    Got it working, except I was curious if you knew how to make it so the first button is highlighted on widget construct. Thanks!

    • @hiQer
      @hiQer 4 ปีที่แล้ว +1

      Just "on construct" set the color on the first button.

  • @TxumaVazquezAizpuru
    @TxumaVazquezAizpuru 2 ปีที่แล้ว

    Thanks Martin. Very useful indeed!

  • @ziroadoki_
    @ziroadoki_ 4 ปีที่แล้ว +1

    Please make a video about Save/Load System menu, your tutorials are amazing!

  • @TheOhgandalf
    @TheOhgandalf 6 ปีที่แล้ว +1

    thaaaaank you!!! justo what I was looking for!!! good video

  • @rewhakki
    @rewhakki 2 ปีที่แล้ว

    How to implement a menu with "D-Pad Up" and "D-Pad Down" buttons? I tried to replace the Stick with these buttons, nothing worked for me. I think the reason is "0.3" and "-0.3" because buttons can't have those values. But I'm not sure. ----- And one more question. For example, I do not want to click on these buttons, but I just need to hover over them with a gamepad to open another menu. How to do it?

    • @Axldyy
      @Axldyy 2 ปีที่แล้ว

      Don't know if you still need help but instead of using the analog stick state just use the node ''is input key down'' you can then use it for d-pad and the gamepad thumbstick. Not so sure how to fix the issue for the next question.

  • @tedpoole9542
    @tedpoole9542 4 ปีที่แล้ว

    is there a way to incorporate grid selection as well?

    • @FLTxxdxx
      @FLTxxdxx  4 ปีที่แล้ว +2

      Yes, you just need to have an index for the X value and for the Y. Change the value for the Y as in the video and for the X use the same technique, but using the Stick X instead of Y in the "Get Input Analog Stick State"

  • @CloudyKeebs
    @CloudyKeebs 3 ปีที่แล้ว

    how do you make it stay in the level? I have a return to main menu button and it lets me pause in the main menu

    • @FLTxxdxx
      @FLTxxdxx  3 ปีที่แล้ว

      If you are using a different game mode for main menu vs the game, you could check for the game mode in the event and only open the widget if the cast game mode is not main menu. ( make a "Get Game Mode" node and use a cast to main menu and from the "cast failed" plug in the menu script)

  • @vicentebasset4756
    @vicentebasset4756 3 ปีที่แล้ว

    hello how are you, was it to ask how would be the programming for 4 buttons instead of 3? I tried on my own but nothing, I would appreciate if you could answer my comment :)

    • @sunnymon1436
      @sunnymon1436 3 ปีที่แล้ว +1

      Set the Modular (%) to 4 rather than 3.

    • @TxumaVazquezAizpuru
      @TxumaVazquezAizpuru 2 ปีที่แล้ว

      @@sunnymon1436 Thansk Sonny!

  • @djsmile9439
    @djsmile9439 3 ปีที่แล้ว

    Why dont use Flip Flop?

  • @misterrider19
    @misterrider19 4 ปีที่แล้ว

    Hi, I would like to do the same but with images, using the hovered image when the button is selected, so just after the "switch on int" node. It seems like there is no node to do that so I'm kinda stuck...

    • @joelholland1414
      @joelholland1414 4 ปีที่แล้ว

      If you're using your images as button styles, try turning off context sensitive search and look for "set button style" and from there name it "hovered"

    • @joelholland1414
      @joelholland1414 4 ปีที่แล้ว

      Ok so I said this before experimenting with it, and the "set button style" function changes the WHOLE style of the button. What you should do is copy/paste your style settings from the button into a button style variable, split the struct pin, and swap out the "normal" for "hovered." Note doing it this way will require extra code to set it back to normal if you switch from gamepad to mouse, but there's a decent chance you'll need that anyway. I have NOT experimented with that yet, but I assume a custom event for "On Hover" that auto restores the defaults plugged into each button would do the trick, since you already have that data stored as a variable!

  • @Kiadaw77
    @Kiadaw77 6 ปีที่แล้ว +1

    Great tutorial

  • @waliddaira9152
    @waliddaira9152 5 ปีที่แล้ว

    hello, sir thank's very informative. I have a problem i don't use a third person character, I use unreal studio for creating an interactive app for architecture and i need to make a pause menu to switch between levels

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว +1

      You could simply have a widget button that when press opens a new level. There is a node for that. All you need is to tell it what the level name is.

    • @waliddaira9152
      @waliddaira9152 5 ปีที่แล้ว

      @@FLTxxdxx thnx sir, i've resolved that issue

  • @austinza55
    @austinza55 7 ปีที่แล้ว

    Good tutorual and relaxing music!

  • @IkBenZielloos
    @IkBenZielloos 4 ปีที่แล้ว

    I did this but it did not work for me.

  • @TheTchaume
    @TheTchaume 7 ปีที่แล้ว

    Thanks a lot ! Do you have any idea how replace basic button with "widget" button (a widget with his own feature) ? (Vous pouvez aussi me répondre dans la langue de Victor Ugo)

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Guillaume P hahaha! Pour votre question, je suppose que vous voulez un menu qui ouvre un autre menu a son tour (dans le genre: options). Oui vous pouvez faire ça assez aisément. Simplement faire qu'a votre "button click" vous crée le nouveau widget en question et "remove from parent" le widget actuel. Donc faire environs la même chose que pour le widget initial + remove :)

  • @Qwiggalo
    @Qwiggalo 5 ปีที่แล้ว

    Depth of Field -> Method doesn't exist in 4.23?

    • @FLTxxdxx
      @FLTxxdxx  5 ปีที่แล้ว

      In the designer tab in the widget, in the palette, search for Gaussian blur. In does the same thing :)

  • @aruce9
    @aruce9 6 ปีที่แล้ว

    this is what i need for my game
    thanks so much
    the box army thanks you as well...

  • @earlygamer3590
    @earlygamer3590 7 ปีที่แล้ว +1

    Thanks for filling my request.

    • @FLTxxdxx
      @FLTxxdxx  7 ปีที่แล้ว

      Pleasure is mine.

  • @CYMCrew
    @CYMCrew 6 ปีที่แล้ว

    Hello Martin, a suggestion - Start making a Fighting game tutorial. I will provide you with Fighting Anim Set. Cheers

    • @FLTxxdxx
      @FLTxxdxx  6 ปีที่แล้ว +1

      It is an good idea, but at the moment I lack the time to do such thing. Will keep in mind for future projects though!

    • @CYMCrew
      @CYMCrew 6 ปีที่แล้ว

      Okay. just lemme know when you are ready and I'll let you have it. cheers

  • @CaliberBeats
    @CaliberBeats 4 ปีที่แล้ว

    this is so stupid this should be done by epic games this isn't our job lmfao, my menu has 30+ focusable things i need to toggle between lol...and what if we have 30 different menu's themselves, are we supposed to duplicate this logic all over our entire project? that's just bad practice.

    • @sunnymon1436
      @sunnymon1436 3 ปีที่แล้ว +1

      You would draw out a grid of your numbers, then you would find sequences between them. Constants will emerge (focusable things). Think of a grid of numbers 1-4 say. if you're on 1 and going right, you'll have to add one (to get to two). If you're on 3 you'll only have to add 1 to go right as well (to get to 4). If you're on 1 and you want to go down (to get to 3) you'd add 2. Likewise, if you're on 2 and want to goto four (down) you'd add two as well.
      You have to extend the idea to let's say, a grid of 36 items... that's 6 row x 6 collums. So in order to go one selection right (start from square 1), you'd be adding 6. Top row reads as 1,7,13,19,25,31... see, each is +6 to go right, and would remain +1 to go down.
      As you can see, it doesn't matter as long as you can find a pattern. Draw the grid of numbers, find the pattern.