Part 8 - Animation
This section introduces the basics of how to use the Pygame library to animate simple items on the screen.
What to do/hand in?
What to do/hand in?
1. Go through the Chapter 8 - Introduction to Animation tutorial. Do the required online reading from Chapter 8 of Program Arcade Games.
- Part 1 - Bouncing Rectangle
- Feel free to check out the final working program with color changing if you are stuck, but try it on your own first.
- animated rectangle collision and color.py
- Part 2 - Falling Snow
- Make snow.py on your own but you may see completed version of snow.py below if necessary.
- Try to implement the suggestions. If you are stuck look at:
- snow with random size.py - basic falling snow with various sizes.
- snow with random size, speed, color.py - all suggestions implemented
2. Complete the animation assignment in Part 3 of the tutorial listed above.
Submit
1. Chapter 8 Worksheet
2. Your Animation exercise as per Part 3 in the Chapter 8 - Introduction to Animation tutorial.
Part 8 - Introduction to Animation.pdf