Making UIs With C++ in Unreal Engine, by Ben UI
Вставка
- Опубліковано 27 лис 2024
- This talk was part of the JetBrains GameDev Day Online 2022 conference. Details: pages.jetbrain...
Description: Game developers should be good at crafting the UI, shouldn’t they? This talk will dig into game UI goals and how best to attain them. It will give you hints of a good UI design and how to guide the users visually. Unreal Engine has an option to create a beautiful UI using Blueprints, but at times you might find yourself limited by its options, and you’ll have to fall back on good old C++.
Twitter: / _benui
Slides: benui.ca/unrea...
Speaker: Ben UI, Lead Programmer at Brace Yourself Games
Original stream: • JetBrains GameDev Day ...
#GameDevDayOnline - Наука та технологія
Ben mentioned reasons why you might want to create your own Slate widget at the end of the video, and I would like to add another useful case for this. Unreal Engine has SSearchableComboBox, but for some reason, there is no UWidget equivalent available. As a result, you cannot use it directly in UMG. To utilize it in UMG, you can create your own UWrapper for this purpose.
I was a Unity developer and moved to Unreal recently. I feel like Slate in Unreal is at the same level as writing UI in code for Unity Editor. However, the latter one is not accessible for creating in Game UI. I do think Slate is ideal and intuitive for UI programmers to write in Game UI code. The one thing that makes me feel redundant is having to wrap Slate with the UMG class in order to be used in the editor. But I am also not sure if it is a good idea for Epic Games to remove the bridge. Anyway is a good introduction video for me! Top!
You aight Ben! ⭐
You know he's gotta be good when it's "Ben UI"
This is super useful, previously the best example of using Slate C++ in menus/UI was the Shooter Game example project in UE4.
I've noticed in 5.2+ I can no longer create new C++ classes derived from the 'SCompoundWidget' class. Has anyone else encountered this?
Please, add support for correct formatting for Slate in Rider!
I think I'm gonna stick to Widget Blueprints, and my HUD will call these classes. But great video, I think
Very nice thanks. Where is the github for the code. I'm getting a "no instance of function template "CreateWidget" matches the arguement list" when I try it.. Thanks
My slate UI is not showing after play in viewport. Is there anyone can help?
If you wanna make something in Slate it necessarily needs to be painful
@@JosephSeed Ahah some Pyside from time to time but it gives me the creeps too. I am happily married with WPF since 11 years and occasionally some Avalonia for personal projects so I complain quickly when there is even a bit of pain :D
Thank you
Been searching for this kind of knowledge for a few days and I finally stumble upon it (why so late tho). Perfect video, many thanks.
Step 1: don't
not very beginners friendly....I wish Unreal would redo their all ui system to make it more accessible and more coding friendly akind HTML/CSS for web.
That's what you have Blueprints for.
It's a shame he's pro terrorism/genocide.
He's more like 'pro-current-thing', which is a common mental illness among peoplе lacking any academic background outside their narrow professional field of interest.
??