Getting started with Unreal - lots of confusion
Posted: 25 Jan 2024, 19:34
I have spent the last couple days looking through the docs and I found information in regards to the usage with Unreal quite scattershot. There is for example the "First steps with Unreal" doc, but it is actually not really a list of first steps but more of a reference to features in no particular order. My issue is that architecturally I still don't quite understand how this is all supposed to be implemented, even though I have quite a bit of experience with UMG and Slate.
There are the samples, so for example something that should be simple like this:
https://github.com/Noesis/Tutorials/tre ... Menu3D/UE4
This does not explain why the UI is implemented in a separate module altogether or whether this is necessary at all. It then refers to "MainWindow.h" which is actually nowhere to be found and produces a 404. In any case, MainMenu.h, MainMenu.cpp, SettingsMenu.h, SettingsMenu.cpp, StartMenu.h and StartMenu.cpp are all created and contain InitializeComponent() and LoadComponent() calls even though the only element that actually contains functionality is OptionSelector. I don't really understand why this is or whether it is necessary.
Then, in BP screenshots I frequently see an Initialize function being called on Views, but I have no idea where that comes from and I don't see it in the overrides for View BPs either.
So to sum it up I am quite confused. I've layouted a quick placeholder HUD UI with two buttons and I'd like to start figuring Noesis out by calling a function when one of the buttons is clicked (maybe opening another Noesis Widget). At this point I do not even know whether this is supposed to happen through a delegate/BP event, this "Command" Binding I have seen and/or something else.
I can handle Slate in C++ just fine yet I still have no idea how to go about this even after all the docs and samples. Any pointers? Thanks!
There are the samples, so for example something that should be simple like this:
https://github.com/Noesis/Tutorials/tre ... Menu3D/UE4
This does not explain why the UI is implemented in a separate module altogether or whether this is necessary at all. It then refers to "MainWindow.h" which is actually nowhere to be found and produces a 404. In any case, MainMenu.h, MainMenu.cpp, SettingsMenu.h, SettingsMenu.cpp, StartMenu.h and StartMenu.cpp are all created and contain InitializeComponent() and LoadComponent() calls even though the only element that actually contains functionality is OptionSelector. I don't really understand why this is or whether it is necessary.
Then, in BP screenshots I frequently see an Initialize function being called on Views, but I have no idea where that comes from and I don't see it in the overrides for View BPs either.
So to sum it up I am quite confused. I've layouted a quick placeholder HUD UI with two buttons and I'd like to start figuring Noesis out by calling a function when one of the buttons is clicked (maybe opening another Noesis Widget). At this point I do not even know whether this is supposed to happen through a delegate/BP event, this "Command" Binding I have seen and/or something else.
I can handle Slate in C++ just fine yet I still have no idea how to go about this even after all the docs and samples. Any pointers? Thanks!