Closed enragedginger closed 7 years ago
I just ran through the tutorial. What's the appropriate way for checking for multiple key presses simultaneously? It looks like the screen map in :on-key-down has a :key property which only points to a single key (instead of a collection of keys).
:on-key-down
:key
You may also use the key-pressed function, which you would normally call inside the :on-render event.
:on-render
Great! Thank you!
I just ran through the tutorial. What's the appropriate way for checking for multiple key presses simultaneously? It looks like the screen map in
:on-key-down
has a:key
property which only points to a single key (instead of a collection of keys).