From 443b8c0e1cd4745d0d30a60cb1c27ce3fac09228 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Fri, 12 Jul 2019 23:52:49 +0200 Subject: [PATCH] improvement(examples): put menu examples after gameplay examples --- examples/mainmenu/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/mainmenu/init.lua b/examples/mainmenu/init.lua index 5eb7f49..7ce434b 100644 --- a/examples/mainmenu/init.lua +++ b/examples/mainmenu/init.lua @@ -36,9 +36,6 @@ function MainMenu:new() self.assets:batchImport("examples.mainmenu.assets") self:addMenu("main", true) - self:addSubMenu("menus", "menu") - self:addScene("menus", examples.Inventory, "inventory") - self:addScene("menus", examples.Options, "options") for i=1, 4 do local name = i .. "player" self:addSubMenu(name, name) @@ -52,6 +49,9 @@ function MainMenu:new() self:addScene(name, examples.MovePlayer3D, "topdown3D (zoom)", i, "zoom") end end + self:addSubMenu("menus", "menu") + self:addScene("menus", examples.Inventory, "inventory") + self:addScene("menus", examples.Options, "options") self.menusystem:setSoundFromSceneAssets("navigate")