Basic PyGame Animation

Опубликовано: 30 Сентябрь 2024
на канале: Professor Gerry Jenkins
4,894
47

A simple programming tutorial to show the basics of animating a drawing (spinning line) in PyGame using Python. I designed this video for phone viewing.

code link: https://gist.github.com/gerryjenkinsl...

To install PyGame:
windows 10: in command line: pip3 install pygame
Mac: in Terminal: pip3 install pygame
Linux versions:
Debian/Ubuntu/Mint: sudo apt-get install python3-pygame
Fedora/Red hat: sudo yum install python3-pygame
Arch/Manjaro: sudo pamac install python-pygame

To install my environment of Python 3.8 and Pygame see my videos:
Windows 10:    • Install #Python 3.8 and #PyCharm on W...  
Mac:    • From install to Run for Python3.7 and...  
Ubuntu Linux:    • From Install to running python with P...