From f657408e4fd8b96f6fb73039bc2eb0bfd76b306a Mon Sep 17 00:00:00 2001 From: "arthur.jamet" Date: Sat, 5 Jun 2021 12:26:24 +0200 Subject: [PATCH] define loading functions for menu scenes --- sources/Runner/Runner.cpp | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/sources/Runner/Runner.cpp b/sources/Runner/Runner.cpp index 5a0edb0d..5826137a 100644 --- a/sources/Runner/Runner.cpp +++ b/sources/Runner/Runner.cpp @@ -65,6 +65,74 @@ namespace BBM wal.addSystem(window); } + std::shared_ptr loadTitleScreenScene() + { + auto scene = std::make_shared(); + //needed material + //game logo + //plain background + //text "press to play" + //music + //sound + return scene; + } + + std::shared_ptr loadMainMenuScene() + { + auto scene = std::make_shared(); + //needed material + //play button + //play button assets + //settings button + //settings button assets + //quit button + //quit button assets + //plain background + //logo + //music + //sound + return scene; + } + + std::shared_ptr loadPauseMenuScene() + { + auto scene = std::make_shared(); + //needed material + //return button + //return button assets + //settings button + //settings button assets + //quit button + //quit button assets + //plain background + //logo + //music + //sound + return scene; + } + + std::shared_ptr loadSettingsMenuScene() + { + auto scene = std::make_shared(); + //needed material + // music logo + // sound logo + // plus button + // minus button + //mute music logo + //mute sound logo + //text for debug + // ticked box + // unticked box + // back button + // back button asset + //plain background + //logo + //music + //sound + return scene; + } + std::shared_ptr loadGameScene() { auto scene = std::make_shared();