玩家输入,AI和游戏状态的更新每秒25次就足够了。
Player input, AI and the updating of the game state have enough with 25 frames per second.
既然我们已经向你展示了如何编写在一个典型的检测玩家的输入是否存在给定的关键词集,让我们看看真正的游戏引擎是如何检测玩家输入中的关键词的。
Now that we've shown you how to write a typical script to check player input for a give set of keywords, let's look at how the actual game engine checks player input for a given keyword.
这些偶然发生的帧数会影响到输入的响应时间,继而影响到玩家的反应时间。
This drop in frame rate will affect the input response time, and therefore also the player’s reaction time.
应用推荐