feat(examples): Add tests for all player number and camera mode
This commit is contained in:
parent
f9ba042089
commit
6ee3a910f6
2 changed files with 16 additions and 4 deletions
|
@ -29,6 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
- **world:** Add a fake 3D world, à la Zelda or BeatThemAll, complete with shadow support
|
||||
|
||||
- **examples:** Test all player number and camera types
|
||||
|
||||
### Changed
|
||||
|
||||
- **world2D:** Use a list for bodies (hitboxes, etc) and one other for actors
|
||||
|
|
|
@ -39,10 +39,20 @@ function MainMenu:new()
|
|||
self:addSubMenu("menus", "menu")
|
||||
self:addScene("menus", examples.Inventory, "inventory")
|
||||
self:addScene("menus", examples.Options, "options")
|
||||
self:addSubMenu("gameplay", "gameplay")
|
||||
self:addScene("gameplay", examples.MovePlayer, "movable")
|
||||
self:addScene("gameplay", examples.Plateformer, "plateform")
|
||||
self:addScene("gameplay", examples.MovePlayer3D, "movable3D")
|
||||
for i=1, 4 do
|
||||
local name = i .. "player"
|
||||
self:addSubMenu(name, name)
|
||||
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)
|
||||
if i > 1 then
|
||||
self:addScene(name, examples.MovePlayer, "movable (zoom)", i, "zoom")
|
||||
self:addScene(name, examples.MovePlayer3D, "movable3D(zoom)", i, "zoom")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
self.menusystem:setSoundFromSceneAssets("navigate")
|
||||
|
||||
|
|
Loading…
Reference in a new issue