I will welcome player input, but no entity will tell me what I have to do.
我会欢迎的球员的投入,但没有实体会告诉我什么,我要做的。
Player input, AI and the updating of the game state have enough with 25 frames per second.
玩家输入,AI和游戏状态的更新每秒25次就足够了。
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.
既然我们已经向你展示了如何编写在一个典型的检测玩家的输入是否存在给定的关键词集,让我们看看真正的游戏引擎是如何检测玩家输入中的关键词的。
应用推荐