Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Pygame Tutorial for Beginners - Python Game Development Course

via freeCodeCamp

Overview

Dive into game development with Python using Pygame in this comprehensive tutorial. Build a space invaders game from scratch while learning essential concepts such as creating game windows, adding images, implementing movement mechanics, handling keyboard inputs, and setting boundaries. Explore enemy creation, bullet shooting mechanics, collision detection, and managing multiple enemies. Enhance your game with background images, score displays, sound effects, and background music. By the end of this 2-3 hour course, you'll have a fully functional space invaders game and a solid foundation in Pygame development. Access the complete source code on GitHub and follow along with the step-by-step video instructions to create your own exciting space adventure.

Syllabus

Installing Python and Pycharm.
Creating Our First Game Window.
Changing the Title, Logo and Background Color.
Adding Images into Our Space Invader Game.
Movement Mechanics in Game Development.
Keyboard Input Controls & Key Pressed Event.
Adding Boundaries to Our Game.
Creating the Enemy.
Movement Mechanics of the Enemy Space Invader.
Adding a Background Image.
Creating Bullets for Shooting.
Shooting Multiple Bullets at Space Invaders.
Collision Detection.
Creating Multiple Enemies.
Adding Text and Displaying Score.
Adding Sounds and Background Music.
Game Over.

Taught by

freeCodeCamp.org

Reviews

5.0 rating, based on 1 Class Central review

Start your review of Pygame Tutorial for Beginners - Python Game Development Course

  • Bhavya Agarwal
    This course was very useful. It helped me to learn many new things about python and coding. I loved this course. All concepts were explained thoroughly.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.