Python Pygame shoot any direction

Опубликовано: 01 Ноябрь 2024
на канале: Neal Holtschulte
17,951
348

My students are always excited to get to the point where they can program games. In this video I run through the basics of modifying a Galaga-like game written in Pygame to let the player shoot in any direction. This includes a small trigonometry lesson. The IDE used is Visual Studio.

Code can be found here:
https://github.com/nealholt/python_pr...

Educators, links to a broad set of Python programming curriculum resources can be found at this Google Drive link:
https://drive.google.com/file/d/1yjS8...
or at this Github link:
https://github.com/nealholt/python_pr...