examples: load the plateformer example
This commit is contained in:
parent
d3a4809295
commit
f321703260
2 changed files with 2 additions and 0 deletions
|
@ -6,4 +6,5 @@ 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",
|
||||||
|
Plateformer = require "examples.gameplay.plateform"
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,7 @@ function MainMenu:new()
|
||||||
self:addScene("menus", examples.Options, "options")
|
self:addScene("menus", examples.Options, "options")
|
||||||
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.menusystem:setSoundFromSceneAssets("navigate")
|
self.menusystem:setSoundFromSceneAssets("navigate")
|
||||||
|
|
Loading…
Reference in a new issue