But I couldn't find some good example from wiki, so I decided to find it out myself how this function work.
This is my code:
Code: Select all
function love.load()
str = ""
end
function love.touchgestured(x, y, theta, distance, touchcount)
str = x ..":".. y ..":".. theta ..":".. distance ..":".. touchcount
end
function love.draw()
love.graphics.print(str)
end
If someone have experience with love.touchgestured, please share! thanks.