Make a 2D Side-Scroller Game With PyGame

In this course, you’ll learn about creating games using Python and the library PyGame. By the end of this course, you’ll be able to: Draw items on your screen Play sound effects and music Handle user input Implement event loops Describe how game programming differs from standard procedural Python programming This primer assumes you have a basic understanding of writing Python programs, including user-defined functions, imports, loops, and conditionals. You should also be familiar with how to open files on your platform. A basic understanding of object-oriented Python is helpful…

Read More
Programming 

PyGame: A Primer on Game Programming in Python

When I started learning computer programming late in the last millennium, it was driven by my desire to write computer games. I tried to figure out how to write games in every language and on every platform I learned, including Python. That’s how I discovered pygame and learned how to use it to write games and other graphical programs. At the time, I really wanted a primer on pygame. By the end of this article, you’ll be able to: Draw items on your screen Play sound effects and music Handle…

Read More