Skip to content

请问关于输入系统为什么没有使用事件机制? #305

Answered by Ol6rin
rocketman123456 asked this question in Q&A
Discussion options

You must be logged in to vote

输入系统确实存在你说的问题。完备的输入系统应该复杂得多,利用事件机制只是一部分,实际按键需要经过改键映射变为虚拟按键,然后虚拟按键需要通过能够配置转化为基础游戏指令,基础游戏指令经过组合输出实际游戏指令,最终触发相应游戏逻辑。小引擎中目前输入系统是比较hack的简单实现,后续视开发计划情况再改进。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ol6rin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants
Converted from issue

This discussion was converted from issue #253 on July 19, 2022 13:19.