Module 08 - Pygame 00
Module 08 - Pygame 00
Day One
Watch
Read
(0) p.14-15 in "Coding Games in Python".
Do
For these lessons, we'll be using PyGame, a module containing helpful functions for game programming, as well as PyGame Zero, a simplified version of the PyGame module. Instructions in your book only cover installation on Windows and Mac OS (p. 18-19). On Linux, execute the following command in the terminal to install:
- PyGame: 'sudo pip3 install pygame' (if a window appears asking about KDE Wallet or encryption, just click cancel on it and the installation should continue in the terminal window).
- PyGame Zero: 'sudo pip3 install pgzero' (if a window appears asking about KDE Wallet or encryption, just click cancel on it and the installation should continue in the terminal window).
(0) Complete the coding exercise "Your first program" on p.22-24 of the "Coding Games in Python" book.
Day Two
Watch
(0) Warm Up: “How to ACTUALLY get into Gamedev”
Do
(0) Complete the coding exercise "Shoot the Fruit" on p.50-56 of the "Coding Games in Python" book. (refer to p.198 if you get stuck). Turn in your final .py file to Google Classroom when it is finished.