Using Pygame to Build an Asteroids Game in Python – Real Python


Do you want to create your own computer games but like Python too much to abandon it for a career as a game developer? There’s a solution for that! With the Pygame module, you can use your amazing Python skills to create games, from the basic to the very complex. Below, you’ll learn how to use Pygame by making a clone of the Asteroids game!

In this course, you’ll learn how to build a complete game, including:

  • Loading images and displaying them on the screen
  • Handling user input in order to control the game
  • Moving objects according to the game logic
  • Detecting collisions between objects
  • Displaying text on the screen
  • Playing sounds



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here