Now that we're familiar with handling input and assets, why don't we build a platformer prototype? This should be a nice challenge that will introduce us to some more concepts and ways to work with Moai SDK.
In order to build this game, we'll copy the full content of the previous chapter's code and clean everything from
game.lua that is specific to the Concentration game.
resource_definitionssince we're going to use it).
self.wasClicking = falsefrom the