I have a simple project in which I have a Area2d which is dropping from the top of my screen to the bottom (resolution = 1080x1920 in portrait) with the following code:
var speed = 800
position.y += speed*delta
if position.y > 1920:
When the game is running on my desktop the movement is quite smooth, but when I export it to an android apk the movement is much less smooth.
I believe it is because my game is running at around 35 fps on my phone. If I force the fps on my computer to be 30 fps I am able to reproduce this issue.
I can also get rid of it if I set a lower speed for the object.
My question is, how to smooth the movement of fast objects on a android that runs at 30 fps ?
Thanks for your help.