Hi everyone,
I am playing with physic world and i want to create some effect like slow motion game.
For example:
http://giderosmobile.com/code/cfeMSinNWTZIapuJoKn8YdlPIN2Jdi2gIn this example, touch screen to make the ball jump.
What params should i add or change to make ball jump more slowly or more quickly ? (Still keep the same jump height )
Thank so much!
P/S this code base on article by
@ar2rsawseen from:
http://appcodingeasy.com/Gideros-Mobile/Gideros-Camera-Move
Comments
I still need keep same ball jump height.
http://docs.giderosmobile.com/reference/physics/b2Body/setLinearDamping#b2.Body:setLinearDamping
in some cases this might also be helpful, but will change the jump height:
http://docs.giderosmobile.com/reference/physics/b2Body/setGravityScale#b2.Body:setGravityScale
Another option is to change fps of the app from 60 to 30 with application:setFps().
With your advices, i think we can control this by skip frames: