hey jedi,
try adding the position movement AFTER the rotation movement:
fe.load_module("animate")
::OBJECTS <- {
image = fe.add_image("mame.jpg", 50, 150, 200, 50 )
}
local anim1 = {
when = When.ToNewSelection,
property = "position",
start = { x = 50, y = 150 },
end = { x = 300, y = 150 },
time = 1500,
loop=false
}
local anim2 = {
when = When.ToNewSelection,
property = "rotation",
start = 0,
end = -90,
time = 1500,
loop=false
}
animation.add( PropertyAnimation ( OBJECTS.image, anim2 ) );
animation.add( PropertyAnimation ( OBJECTS.image, anim1 ) );