We can add body to an image using the following code
|
1 2 |
local board = display.newImage( "board.png" ) physics.addBody( board, { density=0.8, friction=0.3, bounce=0.3 } ) |
let us make technology work for you
We can add body to an image using the following code
|
1 2 |
local board = display.newImage( "board.png" ) physics.addBody( board, { density=0.8, friction=0.3, bounce=0.3 } ) |