2. Corona SDK
É um framework para desenvolvimento
de aplicativos e jogos 2D
Programação com script Lua
Suporta plataforma Android e iOS,
futuramente Windows Phone
Gratuito!
7. Main.lua - Respond to Touch Event
function touchScreen(event)
if event.phase == “began then
end
transition.to(happy, {time=1000, x=event.x,
y=event.y)
end
Runtime:addEventListener(“touch”, touchScreen)
8. Main.lua - Create Transitions
function moveAngry()
transition.to(angry, {time=1000, x=math.random(80,880),
y=math.random(60,580), onComplete=moveAngry})
end
moveAngry()