Just made my first ever working piece of code, thoughts?



Nice. Well done :)
It's absolutely not needed, but it might be good practice to put the controls in the update function, and just leave the draw function for doing stuff with the graphics. It just makes it a little easier to find the bits your looking for when the code gets bigger and more complex :)
[Please log in to post a comment]