Can someone tell me how do you manage to play media player at that first black/splash/welcome screen when game starts?
I know about FCoreUObjectDelegates::PreLoadMap.AddUObject(this, &UMyGameInstanceCPlusPlus::BeginLoadingScreen); which you use in GameInstance, but i need to know where do you execute function for that first black/splash/welcome screen when game starts. My guess is in GameInstance as well but how to do it?
I recommend you download the ShooterGame example, and use the code for their LoadingScreen submodule.
That code shows you how to use a static image or a video as a loading screen
Please remember to edit your .uproject via any text editor to include the submodule, as the shootergame.uproject does, because the LoadingScreen submodule has to “hook in” before the game module loads
For reference I am talking about this (inside .uproject opened as a text file)
Thank you very much Rama for clarifying this! Just one more question, at the moment when i try to build my project with this module it can’t build this new module’s DLL. Any idea why? I have copied their module and made my own and in both i get the same error.