The first scene

image

Ok, now the first scene is rendered.

I have the character’s animation always on with the Corona libs for Sprites + Animation.

I also use their physics to add simple gravity to the scene + character’s body.
Few lines and I have the physics ready !

Scene :

local physics = require("physics")

physics.start()

physics.setGravity( 09.8 )

Character :

physics.addBody( character, { density = 1.0, friction = 1, bounce = 0.12} )

character.isFixedRotation = true

Tiles : 

physics.addBody( tile, "static", { friction=0.5, bounce=0 } )

tile.isFixedRotation = true