Game Programming with Python
summary
Live code builds a 640x480 pygame demo with keyboard movement, sprite blits from Microsoft Paint art, and a 60 FPS clock; collision uses axis-aligned rectangle math and optional per-pixel hitboxes, enemies spawn with random x between 1000 and 5000 and up to hundreds (demo tries 1000) causing visible frame drops until PNGs are converted and images .convert() is used. Code adds simple lives, walls, and sound hookup (audio over HDMI fails live). Joystick init and controls are shown and the playable prototype mostly works.
AI-written summary · about
chapters (17)
- 0:00Introduction and setup
- 3:52What is a game loop
- 7:06Math basics for game design
- 12:30Collision detection explained
- 15:46Live coding first game
- 21:13Adding player character
- 27:03Keyboard controls setup
- 30:28Creating enemy sprites
- 34:04Game speed and frame rate
- 36:50Managing multiple enemies
- 41:20Detecting collisions
- 45:07Game over and explosions
- 48:15Adding sound effects
- 50:05Adding walls and boundaries
- 52:10Fixing movement bugs
- 53:13Power-ups and lives
- 54:10Q&A and closing
related talks
36mGame Programming with Python and PyGame
37mGame Programming with Python and PyGame, by Mr Valdez - Part 2
27mLevel Up with Python: Building a Shooter Game Live with PyGame
04mGame Programming with Python and PyGame, by Mr Valdez - Part 1
28mMaking Games
29mGame Development with CircuitPython
01h 52mMaking Games with ppb
24mLet's live code a game with Arcade in less than 30 minutes
