its ok to just type with things & run. but we need some interaction - here comes the keyboard.
we get two new classes in - 'Key' & 'Keyboard'. then we make 2 new functions 'onKeyDown' & 'onKeyUp'.
lastly we make sure that it can be read in to print our presses.
*there has been a change with the keyboard, more so 'key'. now it uses something called 'keycode' instead of 'key'. makes things a little bit easier & shorter to type.
first update video is here:
https://www.youtube.com/watch?v=ZltHQfMCLyw
then has another update here:
https://www.youtube.com/watch?v=BD0Pk_mlW6k
all source code has been updated for these changes
source code:
https://github.com/lewislepton/kha-tutorial-series
SUPPORT ON PATREON FROM AS LITTLE AS $1:
https://patreon.com/lewislepton
intro & outro music is from this EP:
https://lewislepton.bandcamp.com/album/coat-noise-ep
like, share & subscribe to stay up to date.
https://lewislepton.com
https://patreon.com/lewislepton
https://twitter.com/lewislepton
https://facebook.com/lewislepton
https://lewislepton.bandcamp.com
https://soundcloud.com/lewislepton
https://github.com/lewislepton