This is the beginning of the movement of the game. It's not terribly difficult but the lines of code are getting very long. I'm still heavily relying on the answer to get by though because I get lost easily | |
---|---|
1. This adds a line of code that responds to clicking on the canvas. As you can see in the picture, the square is higher, every click brings it higher
|
2. The point of the game is to avoid obstacles, so we needed to add code that when the square leaves the game boundary, the game is over
|
3. This challenge shows us how to move our obstacles to the left, making it look like your flappy square is moving through them
|
4. we need to have the square go on forever or else the game would consist of three obstacles.
|
5.Finally we needed to make the squares be contained in the border.
|
Wednesday, April 22, 2020
Coding Day 7 - Flappy Square Stage 3
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment