Working with different fps

J

Jeggy

Guest
I have a game where my room speed is 60. But on some older Android devices they can't get that much fps which means everywhere where I have

alarm[0] = 100;
or
hspeed = -4;

It doesn't give the same result. I started just moving down to 30 instead of 60, but on the iOS simulator I often get less than 15fps.

My question is what is a better way of working with this? I have looked at the fps constant but just can't get it right.
 
Top