🤹 Make More Stuff Move
Do Now (In…you know)
What does it mean to increment a variable? What does it let us do?
Back to Balls
| Specification | Points |
|---|---|
Your canvas must resize to the window. |
1 |
User created variables for x position, y position, x direction and y direction |
3 |
| Conditionals for the left/right and top/bottom edge of the screen | 1 |
| New Stuff! | !! |
| Make your ellipse change color when it hits the edge | 1 |
Add another shape (ellipse(), triangle()) and make it move separately |
1 |
| Extension | ✱ |
| When a key is pressed either change the shape or the size of the shape | 1 |
| Ball bounces using only 2 conditionals | 2 |
| Total: | __ / 10 |