Multiple layers

Layer is a conjunction of Mapper, Gestures and Buttons. Look the video how it works in real game.

Layer information are stored inside jsdos.json file and generated with Dos.Zone game studio.

Often one layer is enough for a game, but sometimes the game has a complex UI that requires changing layers between scenes. In that case you can attach multiple layers to the game and then switch between them when needed.

Golden Axe one such game, take a look how it works.