I have a game object (player), and with device screen width and average FPS, I'm able to calculate exact velocity for the player to reach whole screen from left to right in a specified time (fx. for 1 second). Objective of this is to move player on different devices still same (reach for 1 second their screen width).
I can calculate this in runtime. But is it somehow possible to calculate it before, for example in surfaceCreated? Because in my game, I need that velocity to be constant from start (I can't change it in runtime). Is possible to approximately calculate it?