Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Right now we need to set the off screen position for the panda and have it transition to its starting launch location so the user can interact with it.
startNewRound() and add an if statement to initiate the panda object into the scene.local startNewRound = function() if panda then
activateRound() within startNewRound(). Set the starting position of the panda display object on screen and add ground:toFront() so that ground appears in front of the panda character. local activateRound = function()
waitingForNewRound = false
if restartTimer then
timer.cancel( restartTimer )
end
ground:toFront()
panda.x = 240;
panda.y = 300;
panda.rotation = 0
panda.isVisible = true
panda.isBodyActive = true