Hey everyone,
I wanted to find out how to make my character jump farther if more force is applied, or if the screen is touched longer. I currently have jump set up. The the variable I am using to control the jump is ‘monster.accel’. Here is my touch function for the jump:
[code]
function touched( event )
if(event.phase == “began”) then
if(event.x < 241) then
if(onGround) then
monster.accel = monster.accel + 27
end
[import]uid: 175550 topic_id: 30912 reply_id: 330912[/import]