In GitLab by on Feb 24, 2019, 20:44
Rework them into a mapped input system like seen in Unreal Engine, that also allows to integrate other input methods (like gyroscope, gamepad) with ease. Ideally, there should be a system where a programmer listens to actions, that are described as an aggregation of different inputs, e.g. action "To Left" that combines the "A" key, the arrow button, and gamepad stick or d-pad.
- [x] code it as a core module;
- [x] rework ct.keyboard, ct.mouse;
- [x] make a UI editor;
- [x] document the process of telling ct.IDE what keys are supported by a module;
- [x] test it on catsteroids or such;
- [x] update demos & examples;
- [x] update docs & tutorials;
- [x] add stupidity checks.
该提问来源于开源项目:ct-js/ct-js