Hi
It might be odd to want to make a 2D game in Unreal but that is what I wanted to do, in order to make things easy on myself I wanted to do it entirely using Widgets. (In order to not have to do communication stuff)
From what I can see though, with most of the items in the widget you can only load a 2D single texture on to buttons and the like. Just wondered if anyone knew a way to add an animation to these things.
As an example of what I mean, say I wanted to make Street Fighter 2 in Widgets, my fighter would be say a “button”, when I click on him he gives me a list of moves (another widget pop out) I select the move I want…however while I am not pressing anything or doing anything I want my “button character” to idle animate; bobbing up and down or side to side ala Street Fighter 2. Is there any way to achieve this does anyone know?
I essentially I guess want a button, or image or whatever cycle through several still images to give the appearance of animation. The only way I can think of doing it is having something like 20 buttons all hidden with a different picture on them and then just have some sort of timer show and hide the buttons in a sequence…I am just not sure what this would do for performance and/or how good that would be from a player perspective…if the buttons are loading in and out. whether pressing on them will have instant effect? Or whether because of the split second between hiding and unhiding buttons there would be an issue.
Thanks
You can texture on a button but you can also use textures on images in the widget, but you cannot make a character animation with a widget.
You can only use animation loops, and cannot use the keyboard inputs on a widget.
You need to use Paper 2D BluePrints and make Sprites and make Tail Maps and Tail Sets.
Widgets is for menus,mini maps, HP bar, ex bar, inventory etc… UI elements.
You need to take you time to learn thel Engine.
So to make it simple:
You need to use Paper 2D to make your game, and use the widgets for the UI Elements you need in your game.
Hope this will help you.
Thanks for the response, I have been working in Unreal since Unreal 3, I understand that the widget system is “UI” however everything is interfaced by the user. There are a number of games out there that are nothing more than UI elements only.
I don’t however need keyboard inputs to be applied to the widgets (you can actual use keyboard and gamepads for certain interactions with widgets) As another example say I wanted to have a button on fire…I had an animation of flames flickering and I wanted to have it as a boarder for the button, but I wanted it to play that animation, so on the menu screen the flames flicker while waiting for user input.
Or say in the background of my menu I wanted a flag blowing in the wind that I had animated to give my menu a little more pop and not be so static.
Just wondering if there is any way to get animation in to the widget system as I personally haven’t found a way, even though I have got it to do a number of other things.
I gotta say, you can absolutely run idle animations on an image in widgets. You just make a material, add a flipbook material function (or craft a custom one for your needs) and plug your spritesheet into it. Make sure to specify the amounts of columns and rows and slap a time node in the top pin and you’re good. It’ll animate. As for playing the game and such in the widget, that would be possible if you wanted to just do buttons and such, but if you want to do movement on tick like a normal 2D platformer or something, that would be better accomplished as Blackforcedragon was suggesting. I will say though, you can always use widgetcomponents to get some of the widget functionality in the world with your paper2d stuff. Sorry to open this thread back up but I wanted to share the option with the material. Don’t forget to make it a user interface material if you do it.