Making UIs With C++ in Unreal Engine, by Ben UI

Sdílet
Vložit
  • čas přidán 21. 08. 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

Komentáře • 18

  • @gamescreator5040
    @gamescreator5040 Před 4 měsíci +3

    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.

  • @linwilson1624
    @linwilson1624 Před 9 měsíci +5

    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!

  • @2k7u
    @2k7u Před rokem +31

    You know he's gotta be good when it's "Ben UI"

  • @StefanJann
    @StefanJann Před měsícem

    Thank you

  • @volodymyrgolovan6137
    @volodymyrgolovan6137 Před rokem +3

    Please, add support for correct formatting for Slate in Rider!

  • @Ronin-6
    @Ronin-6 Před 10 měsíci +1

    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?

  • @marcapouli7805
    @marcapouli7805 Před 4 měsíci

    I think I'm gonna stick to Widget Blueprints, and my HUD will call these classes. But great video, I think

  • @user-od4wm5cj6g
    @user-od4wm5cj6g Před rokem +2

    My slate UI is not showing after play in viewport. Is there anyone can help?

  • @furyodev1842
    @furyodev1842 Před rokem

    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.

  • @tburnettiii
    @tburnettiii Před 10 měsíci +1

    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

  • @psychotrout
    @psychotrout Před 6 měsíci

    If you wanna make something in Slate it necessarily needs to be painful

    • @psychotrout
      @psychotrout Před 2 měsíci

      @@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

  • @hapticsvideodrome5785
    @hapticsvideodrome5785 Před rokem +4

    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.

    • @vosdraug4628
      @vosdraug4628 Před 8 měsíci +3

      That's what you have Blueprints for.

  • @YoutubeAccountMan
    @YoutubeAccountMan Před 4 měsíci +1

    Step 1: don't

  • @FUnzzies1
    @FUnzzies1 Před 2 měsíci +1

    It's a shame he's pro terrorism/genocide.

    • @dislikebutton4029
      @dislikebutton4029 Před měsícem

      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.

    • @Mittzys
      @Mittzys Před 21 dnem

      ??