简单来说,游戏主循环就是一个循环过程。
从结构上来说,这个主循环非常简单。上面的代码片段基本上能够囊括你的游戏的整个工作过程。
Structurally, the loop is very simple. The above snippet of code can encapsulate the entire workings of your game.
基于恒定游戏速度的FPS的主循环实现方案简单易学。
Making the game state independent of the FPS seems to be the best implementation for a game loop.
应用推荐