Learn Python with Generative AI - Self Paced Online
Learn Excel & Financial Modeling the Way Finance Teams Actually Use Them
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn how to create a simple car game from scratch using Pygame in this beginner-friendly tutorial. Explore the basics of Pygame, including drawing shapes, working with images, using relative coordinates, animating elements, handling keyboard events, and increasing game difficulty over time. Gain hands-on experience in game development while building a fun project suitable for those with basic Python knowledge. Follow along step-by-step to create your own interactive car game and enhance your Python programming skills.
Syllabus
- intro
- create Pygame window
- run Pygame app with Anaconda
- set background colour
- set window title
- what is relative coordinates?
- draw rectangles with Pygame
- use coordinates in Pygame
- relative coordinates example
- use images in Pygame
- keyboard events in Pygame
- animation in Pygame
- random events in Pygame
- end game logic in Pygame
- game levels logic
- introduction to Anvil
- increase game difficulty over time
- thanks for watching!
Taught by
Python Simplified