Good day everyone!
So, today when I was testing my game in samsung tab i saw that fps of the game could be either less or more and i can't control it ( in config i set fps=30).
So in main game loop I need to calculate physics ( Impulse and smth else) and make changes to elements in a game. And if fps is more my elements is faster and if it's fewer - it's lower.
It's really bad.
I tried to make calculation and setting of parameters by timer (100 ms loop)- but the game started "twitching"
as i see fps on my samsung could be 33 or more sometimes. And i think it could be the same problem on other devices.
How i could to find the solution of this problem ?
P.S. Sorry for my english if I have made mistakes )))