game character movement not robust (sluggish)

Hi All,

         I was trying to develop a simple game like the “flappy bird”, mainly to understand game buiiding concepts using corona. The game itself works fine with collisions, moving pipes, scoring etc. but I am not happy with the movement of the main character, in response to “tap” event (runtime listener). The response is not smooth and robust. The character seems to move slow as if there is a “drag” (sluggish). I have kept gravity to a minimum (0.5) and I am using the transition.to

transition.to( animation, { time=2, rotation=0, alpha=0, y=-50, delta=true, transition=easing.inQuad } )

I have set the physics as:

physics.addBody(animation, ‘dynamic’, {density = 0.1, friction = 0.3 , bounce = 0.1 } )

I have also tried applyForce, but my character gets blown off the screen fast.  I have tried with static images instead of animation, but the result is the same.

Any help or suggestion is greatly appreciated.

thanks

You should be using applyForce, if the character is blown off screen just keep reducing the force or increasing the density until it feels right, it might be 0.1, might be 0.01 or even 0.001. 

Also, 0.5 gravity seems very low, flappy bird probably has a higher gravity than real life.

Nick,

        Thank you. Now the character is moving pretty good. Appreciate your help.

Regards,

Ram

You should be using applyForce, if the character is blown off screen just keep reducing the force or increasing the density until it feels right, it might be 0.1, might be 0.01 or even 0.001. 

Also, 0.5 gravity seems very low, flappy bird probably has a higher gravity than real life.

Nick,

        Thank you. Now the character is moving pretty good. Appreciate your help.

Regards,

Ram