Maintaining a list of objects to draw on the screen
Rotating objects drawn on the screen
Mouse drag and drop operations
Calculations to simulate ballistic motion (effects of gravity) and collisions
4. Cannonball and Slingshot
Get The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.