阅读背景:

如何将键码存储到数组中并执行它们?

来源:互联网 

I'm wondering if it's possible to store keyboard input history into a array and execute them at a later time? Basically I have a 3D grid game and a character moving around the grid. I want the user to enter all the movement instructions via right down left up keys while the player remains still, and once I press enter the player will begin to execute each instruction that is stored into the array. any suggestions?I'm wondering if it's possible to store keyboar




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: