YoVDO

How to Program a Game in Python

Offered By: Keith Galli via YouTube

Tags

Python Courses Programming Courses Game Development Courses Pygame Courses Game Design Courses Event Handling Courses Collision Detection Courses

Course Description

Overview

Learn to create a simple game using Python and the Pygame library in this comprehensive tutorial video. Build a game from scratch, starting with Pygame installation and progressing through key concepts such as creating a game loop, handling events, drawing shapes, implementing player movement, and adding falling blocks as enemies. Master essential game development techniques including collision detection, managing multiple enemies, setting frame rates, and incorporating additional features like scoring and increasing difficulty. Follow along with the step-by-step instructions to apply your Python skills in a fun, practical project, and gain valuable experience in game programming fundamentals.

Syllabus

- Introduction
- Pygame Installation
- Creating a blank screen
- Making the game loop +handling quit event
- Drawing a rectangle
- Moving the rectangle with keypresses
- Blocks dropping from the sky
- Setting the frames per second rate FPS/Controlling speed of falling blocks
- Detecting Collisions
- Multiple enemies falling from sky lists
- Adding additional features score, increasing difficulty, background/player colors


Taught by

Keith Galli

Related Courses

Video Game Design and Development: Introduction to Game Programming
Abertay University via FutureLearn
Computer Science for Game Development
Harvard University via edX
Practical Game Development in Unity 4: Level 1
Udemy
Game Development for beginners with Python
Udemy
Code Your First Game: Arcade Classic in JavaScript on Canvas
Udemy