This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
local function touchListener( event ) | |
--- Debug Event parameters printout -------------------------------------------------- | |
print();print( "Listener events:" ) | |
for k,v in pairs( event ) do | |
print( " " .. tostring( k ) .. "(" .. tostring( v ) .. ")" ) | |
end | |
--- End of debug Event routine ------------------------------------------------------- |
local rect = display.newRect( 0, 0, 100, 100 ) | |
local function timerListener( object ) | |
return function() | |
print( "Rect x,y = ", object.x, object.y ) | |
end | |
end | |
timer.performWithDelay( 1000, timerListener( rect ) ) |