Now lets create the ball logic, which calculates the position,... . No drawing is done here, that will be done in the ball widget later. Always remember, use small (but meaningful) building blocks. That way you can test them and find problems fast.
This page was last edited on 19 July 2019, at 17:43. Content is available under Creative Commons License SA 4.0 unless otherwise noted.