Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function jump:touch( event )
- if ( event.phase == "began") then
- if ( canMove == true ) then
- motionx = 0
- motiony = -speed*3.8
- canMove = false
- end
- end
- end
- jump:addEventListener( "touch", jump )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement