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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Video tutorial that walks beginners through building a complete Space Invaders–style game in Python using the Pygame library. Starting from installing Python and PyCharm, it covers creating a game window, setting title, logo and background, loading images, movement mechanics, keyboard input and key-pressed events, screen boundaries, enemy creation and movement, shooting single and multiple bullets, collision detection, spawning multiple enemies, displaying text and score, adding sound effects and background music, and a game-over state. Suited to newcomers to game development who have basic familiarity with Python.

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.