我想这个游戏是按住某个键时是行走的动作,同时按住两个键时是跑步的动作。
比如按住 D 键是往前走的动作,同时按住 D 键和空格键时就是跑的动作。
怎么写法,找了好久也找不到。
单单写按住一个键就能,但是找不到同时按住两个键的。
缓缓练缓缓练
@缓缓练缓缓练
0
Reputation
1
Posts
1
Profile views
0
Followers
0
Following
Best posts made by 缓缓练缓缓练
This user hasn't posted anything yet.
Latest posts made by 缓缓练缓缓练
-
请问怎么写同时按住键盘两个键?