feat: Add intro splash screen with transition effects and rendering support
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -295,6 +295,9 @@ class WolfEngine {
|
||||
}
|
||||
|
||||
switch (menuManager.activeMenu) {
|
||||
case WolfMenuScreen.introSplash:
|
||||
menuManager.updateIntroSplash(input);
|
||||
break;
|
||||
case WolfMenuScreen.mainMenu:
|
||||
_tickMainMenu(input);
|
||||
break;
|
||||
@@ -370,7 +373,7 @@ class WolfEngine {
|
||||
_currentEpisodeIndex = 0;
|
||||
onEpisodeSelected?.call(null);
|
||||
menuManager.clearEpisodeSelection();
|
||||
menuManager.startTransition(WolfMenuScreen.mainMenu);
|
||||
menuManager.beginIntroSplash();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user