Tuesday 21 April 2020

Day 6 of Drawing Code

 Day 6 of Drawing Code Flappy Square
Step 1 was to write the functions.
Step 2 was to add context.translate.
Step 3 was to use context.save and restore.
Step 4 was draw a series of frames.
Step 5 was to clear the canvas in between frames.
Step 6 was to give it more simulation of gravity.

No comments:

Post a Comment