we have drawn blocks, we have even put keyboard stuff in. lets smash them together - we look at player movement.
we create a new project & make a new class which has some bools in amongst also a speed float.
we head back into our main class & instantly start bringing our keyboard controls. then lastly make sure we can update our movement, so when keys are pressed, the player moves.
snippets link:
https://gist.github.com/lewislepton/808d6d2bef1c1c71cf76
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