Monday, 20 April 2020

Day 5 of Drawing Code

Day 5 of Drawing Code Flappy Square
Step 1 was to learn how to use the coordinate system. 
Step 2 was to draw the flappy square.
Step 3 was to make a border for the game using context.strokeRect.
Step 4 was to add the square and the boundary plus walls to avoid. 
Step 5 was to add variables to the code.
Step 6 was to add a hash to the code.
The main thing that confused me was with the wording on the third step about making the boundary. it confused me because instead of using (0,0) as the corner they wanted to use (25,25) which then messed up my numbers for the size of the boundary.

No comments:

Post a Comment