Ok, so after tweaking a bit more of the functionality, I think I have it ready to put together my first 3 levels.
I have designed each individually in their own map. Meshes, textures, targets and all.
All 3 levels use the same GameMode, instance, pawn, playercontroller, etc.
Currently, when I load the game, in GM I load a MainMenu Widget.
- First, I would like to move this to its own map when the game starts. From there do I just use an OpenLevel(by name) node to open the subsequent levels when the user clicks Play???
- Currently, this is loaded from GM. Obviously I don’t want GM to load this on every level.
Should I move the code that loads the widget in the MainMenu map (level-blueprint)? - I would like each level to have a widget that opens first (including objectives, directions, etc specific for each level. Is this a good candidate for using the level-blueprint or is there a different way to achieve this? Is the level-blueprint ever used for anything??? lol
- When the user clicks Play from MainMenu, I want to load Level1. Level1 should load with its own widget (objectives/directions bla,bla…)
- When the user clicks “Start Level” from this widget the game starts.
- When the level ends… I want to display another widget that shows the stats for that level (Whether the level was completed, points etc etc).
- If the level is completed there’s another button to “Continue” on click this opens Level2… so on so forth
If the level is not completed, return the user to MainMenu. - Currently, in the MainMenu, I use a loading screen animation → delay it by 3 seconds and load the full widget. Is there a way to loop an animation while the level is loading?? And fully load the rest of the widget when the level is ready to be played?
What do you guys think? Any tips/ideas? Stuff to look out for/avoid?