improvement(example): rename topdown example

This commit is contained in:
Kazhnuz 2019-07-12 23:48:57 +02:00
parent 6ee3a910f6
commit 98103a8d48
3 changed files with 7 additions and 5 deletions

View file

@ -45,6 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **camera:** Make mode configuration configurable
- **examples:** Rename "movable" to "topdown"
### Fixed
- **world:** Remove a forgotten camera debug function

View file

@ -5,7 +5,7 @@ return {
["test1"] = "Basic Test 1",
["test2"] = "Basic Test 2",
["testmenu"] = "Basic Test Menu",
["movable"] = "Movable Player",
["topdown"] = "Top Down",
["options"] = "Options",
["inventory"] = "Inventory",
}

View file

@ -45,11 +45,11 @@ function MainMenu:new()
if i == 1 then
self:addScene(name, examples.Plateformer, "plateform", i)
end
self:addScene(name, examples.MovePlayer, "movable", i)
self:addScene(name, examples.MovePlayer3D, "movable3D", i)
self:addScene(name, examples.MovePlayer, "topdown", i)
self:addScene(name, examples.MovePlayer3D, "topdown3D", i)
if i > 1 then
self:addScene(name, examples.MovePlayer, "movable (zoom)", i, "zoom")
self:addScene(name, examples.MovePlayer3D, "movable3D(zoom)", i, "zoom")
self:addScene(name, examples.MovePlayer, "topdown (zoom)", i, "zoom")
self:addScene(name, examples.MovePlayer3D, "topdown3D (zoom)", i, "zoom")
end
end