improvement(examples): put menu examples after gameplay examples
This commit is contained in:
parent
fbe5d56b4d
commit
443b8c0e1c
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,6 @@ function MainMenu:new()
|
||||||
self.assets:batchImport("examples.mainmenu.assets")
|
self.assets:batchImport("examples.mainmenu.assets")
|
||||||
|
|
||||||
self:addMenu("main", true)
|
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
|
for i=1, 4 do
|
||||||
local name = i .. "player"
|
local name = i .. "player"
|
||||||
self:addSubMenu(name, name)
|
self:addSubMenu(name, name)
|
||||||
|
@ -52,6 +49,9 @@ function MainMenu:new()
|
||||||
self:addScene(name, examples.MovePlayer3D, "topdown3D (zoom)", i, "zoom")
|
self:addScene(name, examples.MovePlayer3D, "topdown3D (zoom)", i, "zoom")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
self:addSubMenu("menus", "menu")
|
||||||
|
self:addScene("menus", examples.Inventory, "inventory")
|
||||||
|
self:addScene("menus", examples.Options, "options")
|
||||||
|
|
||||||
|
|
||||||
self.menusystem:setSoundFromSceneAssets("navigate")
|
self.menusystem:setSoundFromSceneAssets("navigate")
|
||||||
|
|
Loading…
Reference in a new issue