(WIP) - Ninja Arcade

Awesome, thank you for trying it out and thanks for the positive response.

As far as the menu + game pad goes, I used a very brute force kind of way to make it work and it is not actually UMG. The only UMG elements in there are the animated text that come in for the music credits and the disclaimer on top. The actual menu functionality is not UMG.

The way my game pad and keyboard input work is very messy and I never wanted to show that in any detail because it’s not a good way of doing it. I think you can see it in one of my early making of videos, possibly the very first one where I show an overview of the project, but I never showed it in detail, or all the parts to it.

The way it works is just to have the mouse click events be called through button press events. So for mouse clicks, I have a bunch of booleans to make them function for highlighting…etc. and ultimately calling the correct function, like start game, or whatever. I just reuse that stuff for button presses. So for button presses I have this counter structure that takes care of what to highlight next and pressing the button of course sets off the event to highlight the text in stead of a mouse over event, and pressing enter or “A” on the pad, or whatever, then calls the appropriate button function that has been set, in stead of the mouse click event. So it’s kind of an overlapping system all calling the same events and functions in 2 different ways.

This was based kinda on my system I created in UDK and Kismet but UE4 of course is so much better with blueprints, but I was learning how to use it properly back then. So it works, but it’s “clunky” and not easy to modify. There’s too many parts to it and any modification will have repercussions on everything. So it’s definitely not a method I want to specifically share publicly in case someone does this and waste time on work that has to be thrown out.

Sorry I don’t really answer your question in more detail. If you want to see more how I did it anyway, I will show maybe some shots how crazy it is, but I don’t know it can be useful regarding UMG. As I understand Epic is adding keyboard and game pad support, but not sure where that stands in 4.9 or even how the setup works. That’s something I still need to get to in my own project. My final menu won’t be implemented until basically the game is done, so it’s a ways off still before I get there.