we build upon what we have done from the 20th & 21st episode - we introduce gamepad movement for the player.
we duplicate the 21st project & instantly import the 'Gamepad' class, then move on & make a new function called 'onGamepadAxis', which we then put in our d-pad controls.
we lastly then show the changes for using analog controls properly.
link for the USB SNES controller
http://www.gearbest.com/mice-keyboards/pp_261728.html
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