we can stay still, but that can be boring. we look at update.
we create a simple project by creating a new class called 'Block', create some variables that can access the X/Y of a rectangle.
we call it with our project & lastly access the X/Y to update the location of the rectangle at 60 frames per second.
snippets can be found here:
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