Easy tool for creating animation paths.

Does anyone know an easy tool to convert a path to a list of coordinates in corona?

Corona does not have key frame animation, so I have to plot out every coordinate for an object to follow if I want a custom animation.

I have levelHelper but that is overly complex for that one task.

THanks.

Low-tech solution…

Paste the following code in an empty main.lua and run it. Then tap the screen and it will spit out X/Y coordinates.

local function tappity(event)     local dot = display.newCircle( event.x, event.y, 2 )     dot:setFillColor ( 255, 255, 255 )     print(event.x, event.y) end Runtime:addEventListener("tap", tappity )  

Not sure if that’s too low tech for your needs. :slight_smile:

 Jay

I need pretty complex shapes. Plotting them out point by point would be too time consuming.
Looking at. SVG levelbuilder. It can use inkscape as a toll to build the paths.

I just am no fan of inkscape. (besides the fact it won’t run on maverick)

Low-tech solution…

Paste the following code in an empty main.lua and run it. Then tap the screen and it will spit out X/Y coordinates.

local function tappity(event)     local dot = display.newCircle( event.x, event.y, 2 )     dot:setFillColor ( 255, 255, 255 )     print(event.x, event.y) end Runtime:addEventListener("tap", tappity )  

Not sure if that’s too low tech for your needs. :slight_smile:

 Jay

I need pretty complex shapes. Plotting them out point by point would be too time consuming.
Looking at. SVG levelbuilder. It can use inkscape as a toll to build the paths.

I just am no fan of inkscape. (besides the fact it won’t run on maverick)