If you don't want to bother with a prediction function, you can work with a maximum frame rate, but finding the right game update rate for both slow and fast hardware can be tricky.
如果你不想花心思在预报函数上,转而使用使用最大帧速率,你会发现在低速和高速硬件都获得正确的游戏更新速率会很棘手。
The tame tigers play the same game on the frame.
温顺的老虎在框架上玩同一游戏.
The game is updated with the time difference of the previous frame.
当帧内容有变化的时候游戏才会被更新。
应用推荐