Monday 25 May 2020

SketchUp assignment 2

SketchUp assignment 1

This assignment was pretty straight forward, the video was pretty easy to follow he did repeat himself a lot. the only thing that was hard was trying to make my name face up, which i did thne first time but couldn't get it the last time. Overall easy work.

Friday 24 April 2020

Day 9 of Drawing Code

Day 9 of Drawing Code Flappy Square
Step 1 was to add the name "Flappy Square" to the top corner.
Step 2 was to add the score to the other corner.
Step 3 was to test the game and make a few changes to make the game more challenging. I changed gravity and the height that the block jumps.
Step 4 was to change the colors of the things inside the game. I made the walls purple and the square blue.

Day 8 of Drawing Code

Day 8 of Drawing Code Flappy Square
Step 1 was to make sure the square wasn't going through any walls.
Step 2 was to space out and size the walls.
Step 3 was to space the distance between the two walls.

Wednesday 22 April 2020

Day 7 of Drawing Code

Day 7 of Drawing Code Flappy Square
Step 1 was to make the square fly by clicking the screen.
Step 2 was to add the boundary so the square stays above it.
Step 3 was to make the walls move in the background.
Step 4 was to create an infinite number of walls.
Step 5 was to make sure there was a border for the walls.

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.

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.