Log In  

Cart #rgbfidgetspinner-0 | 2023-05-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

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

P#130267 2023-05-28 21:43 ( Edited 2023-05-28 22:02)

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 :)

P#130404 2023-06-01 09:18

[Please log in to post a comment]