From 30a0d59a41219ac58176eb8a4bcd6f30a1cb9fde Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 30 Jun 2019 17:10:29 +0200 Subject: [PATCH] improvement(examples): register the fake3D example --- examples/init.lua | 1 + examples/mainmenu/init.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/init.lua b/examples/init.lua index cde2dfe..df649cb 100644 --- a/examples/init.lua +++ b/examples/init.lua @@ -6,5 +6,6 @@ return { Inventory = require "examples.menus.inventory", Options = require "examples.menus.options", MovePlayer = require "examples.gameplay.moveplayer", + MovePlayer3D = require "examples.gameplay.moveplayer3D", Plateformer = require "examples.gameplay.plateform" } diff --git a/examples/mainmenu/init.lua b/examples/mainmenu/init.lua index aefc793..7811b23 100644 --- a/examples/mainmenu/init.lua +++ b/examples/mainmenu/init.lua @@ -46,7 +46,7 @@ function MainMenu:new() self:addSubMenu("gameplay", "gameplay") self:addScene("gameplay", examples.MovePlayer, "movable") self:addScene("gameplay", examples.Plateformer, "plateform") - + self:addScene("gameplay", examples.MovePlayer3D, "movable3D") self.menusystem:setSoundFromSceneAssets("navigate")