we make our player move, but not too far. we look at bounds.
straight away we duplicate our 20th episode project & rename it. we get right into the 'Player' & start adding in width/height & making sure we are 'getting' those as well.
we then head into our main project & start making a new function which will hold our bounds, so our player always stays within our screen bounds.
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