Project isn’t publicly available anymore.
Goal of this framework is to focus on creating actual content, avoid writing scripts that everybody writes while starting work with UE4.
I think that many different games could use the same script base and… I decided to share current progress
It’s free to use, even commercially.
- Based on UMG, written mostly in blueprints.
- It allows for compositing UI from fully reusable widgets (I call it composites). Define widget style and logic once, use it hundred times! Or define logic once and set different appearance for every widget instance.
- In clean UMG (without any own scripts) you have to script every element (like button, text or slider) individually. It means lots of copy-pasting scripts responsible for input, localization, styling, setting and restoring state. Everything. Of course many developers close part of those scripts in reusable functions and apply them at every element. My approach is to close entire functionality of element or element group in separate widget file, then simply put this widget in UI panel and fill up parameters. Element added in UMG’s Designer tab works out of the box. There’s no need to script anything except your custom game logic.
- Appearances of widgets placed in panels refresh automatically after change - which isn’t possible in pure UMG.
- And I’m adding a lot of common functions for managing UI panels and input (not only UI related).
Take a look!
This is entire script for Pause Menu, as simple as it always should be.
You don’t need to produce spaghetti blueprint for every UI element. Prepare it quickly by setting params.
- Typical UI composites like Text Button, Interaction Hint, Labeled Slider, etc. Every composite automatically updates its default state based on instance values.
- Scripts called UI Manager and Panel take care of creating and switching panels, opening panels in hierarchy, handling input, basic navigation, activating chosen widget in panel, receiving input from active widget. So you don’t have to script basic widget actions in your panels. Focus on designing it and scripting custom and advanced functions.
- Samples of Main/Options menus simplifies creating your own menus, i.e. Video Menu allows you to set common graphics options. Just customize it to your needs. Or just download it, don’t change a thing and enjoy basic menus working in your cooked build.
- Input Manager provides basic functionalities: setting various inputs for single action, activating interactions, detecting input device and automatically updating displayed icon and key of interaction.
- You don’t have to reinvent the wheel when you’re starting work on UI. I already did it. Partially
I’d love to hear you feedback!
I’ll continue to work on it, make it as universal as UI script can be. Although keep it mind that won’t ever “completed” or “finished”. It’s just impossible if we’re talking about user interfaces.
You can use all this work free of charge.
If you decided to use it in your project, please consider a PayPal donation
If you’d like to get some features soon than other features… donation would encourage me do it quicker. If nobody will donate, I’ll just implement features that I need the most