How to achieve smooth animations or transitions?

Hi guys i am just wondering that why my game actors transitions (motions due to physics and timed transitions from one place to another) are not rendering smoothly. I have inserted “ShowFps()” which is provide by denny, just to check my ingame FPS.

My ingame FPS is Max 32 and Min 30
Memory usage is Max 2.41 and Min is 2 Mb
FPS set to 60 in setting file
I am testing this samples project on “samsung s2”

About my testProject…

I have just created one rect.platform at the bottom and one circle with physics. This circle keeps bouncing on the floor and can be move in x directions via accelerometer event. My problem is my circle is moving as i want but animation looks to shabby… its not smooth at all…

I am new to corona and dont understand how to get rid of it… please help or direct me to some documentation which will help me…

Thanks in advance.
[import]uid: 83799 topic_id: 26907 reply_id: 326907[/import]

Sample code? [import]uid: 8271 topic_id: 26907 reply_id: 109176[/import]

[code]
local physics = require “physics”
physics.start()
physics.setGravity(0,9.8)

local ball = display.newCircle(0,0,50)
ball:setReferencePoint(display.CenterReferencePoint)
ball:setFillColor (255,0,0)
ball.x = 240 ; ball.y = 50
physics.addBody(ball,{friction = 0, bounce = 0})
ball.type = “ball”

local base = display.newRect(0,0,480, 100)
base.x = 240; base.y = 820
physics.addBody(base,“static”,{friction = 0, bounce = 0})
base.type = “base”

local function onCollision(event)

if event.phase == “began” then
if event.object1.type == “ball” and event.object2.type == “base” then
local function ballJump()
ball:applyLinearImpulse(0,-2.25,ball.x, ball.y)
end
ball:setLinearVelocity( 0,0 )
timer.performWithDelay( 10, ballJump )
end
end
end

Runtime:addEventListener(“collision” , onCollision)

function movePlayer(e)

ball.x = display.contentCenterX - (display.contentCenterX * (e.yGravity*1.5))

end

Runtime:addEventListener(“accelerometer”, movePlayer)
When i compile this project and run on the device… bounce animation looks jerky… it dose not look smooth at all. I am just wondering how to get it done…
Any help on this will be great help to me…
Thanks in advance [import]uid: 83799 topic_id: 26907 reply_id: 109182[/import]

Is this what you’re seeing, because it looks ok to me. I know when the ball slows down it can give the impression of being jerky, but I’ve not been able to run this on a device yet…

http://screencast.com/t/n0hWIdVdm [import]uid: 8271 topic_id: 26907 reply_id: 109194[/import]

This looks OK on simulator but looks too jerky on device. At least to me. Anyway s thanks for checking. [import]uid: 83799 topic_id: 26907 reply_id: 109216[/import]