improvement(examples): register the fake3D example
This commit is contained in:
parent
0687bc4cfe
commit
30a0d59a41
2 changed files with 2 additions and 1 deletions
|
@ -6,5 +6,6 @@ return {
|
||||||
Inventory = require "examples.menus.inventory",
|
Inventory = require "examples.menus.inventory",
|
||||||
Options = require "examples.menus.options",
|
Options = require "examples.menus.options",
|
||||||
MovePlayer = require "examples.gameplay.moveplayer",
|
MovePlayer = require "examples.gameplay.moveplayer",
|
||||||
|
MovePlayer3D = require "examples.gameplay.moveplayer3D",
|
||||||
Plateformer = require "examples.gameplay.plateform"
|
Plateformer = require "examples.gameplay.plateform"
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@ function MainMenu:new()
|
||||||
self:addSubMenu("gameplay", "gameplay")
|
self:addSubMenu("gameplay", "gameplay")
|
||||||
self:addScene("gameplay", examples.MovePlayer, "movable")
|
self:addScene("gameplay", examples.MovePlayer, "movable")
|
||||||
self:addScene("gameplay", examples.Plateformer, "plateform")
|
self:addScene("gameplay", examples.Plateformer, "plateform")
|
||||||
|
self:addScene("gameplay", examples.MovePlayer3D, "movable3D")
|
||||||
|
|
||||||
self.menusystem:setSoundFromSceneAssets("navigate")
|
self.menusystem:setSoundFromSceneAssets("navigate")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue