Louëlla Creemers
Level Up with Python: Building a Shooter Game Live with PyGame
#1about 4 minutes
Why PyGame is a great starting point for developers
PyGame provides a visual and accessible way to learn core programming concepts like loops, conditions, and object-oriented programming.
#2about 2 minutes
Understanding essential game development terminology
Key concepts like sprites, the event loop, collision detection, ticks for timing, and PyGame's inverted Y-axis coordinate system are explained.
#3about 5 minutes
Building the foundational game window and loop
The initial setup involves importing PyGame, defining screen dimensions, setting frames per second (FPS), and creating the main game loop to display a blank window.
#4about 5 minutes
Creating the player sprite and handling keyboard input
A player is created as a Sprite class, added to a sprite group, and updated based on keyboard events to allow left and right movement.
#5about 4 minutes
Adding bullets and a shooting cooldown mechanic
A Bullet class is created and a shoot method is added to the player, which includes a cooldown timer to prevent continuous firing.
#6about 5 minutes
Spawning enemies and implementing collision detection
Enemies are created as a Sprite class with random horizontal positions, spawned using a custom event, and collision detection is implemented to destroy both the bullet and enemy on impact.
#7about 2 minutes
Replacing placeholder blocks with custom image assets
The basic colored squares for the player and enemies are replaced by loading, scaling, and displaying PNG image files for a more polished look.
#8about 1 minute
Finding resources and code for your own projects
The session concludes with links to additional resources, including the slides and the complete source code for the game in a Git repository.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Intermediate
Senior
Python
Structured Query Language (SQL)
+1
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
Matching moments
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
05:26 MIN
Using AI prompts to rebuild a classic 8-bit game
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
04:09 MIN
How Python became the dominant language for AI
AI in the Open and in Browsers - Tarek Ziadé
01:15 MIN
Crypto crime, EU regulation, and working while you sleep
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
14:06 MIN
Exploring the role and ethics of AI in gaming
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
04:17 MIN
Playing a game of real or fake tech headlines
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:07 MIN
Final advice for developers adapting to AI
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
Featured Partners
Related Videos
The Future Past of Technology - A Game Developers POV
Johanna Pirker
Python: Behind the Scenes
Diana Gastrin
Accelerating Python on GPUs
Paul Graham
Accelerating Python on GPUs
Paul Graham
Creating games to make the web fun again
Nolan Royalty
WeAreDevelopers LIVE - "Fun and games - and all that comes with it", Back to BASIC & more
Chris Heilmann, Daniel Cranney & Johanna Pirker
Exploring the Latest Features of .NET and C# by Building a Game
Rainer Stropek
Overview of Machine Learning in Python
Adrian Schmitt
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Agence Francaise pour le Jeu Vidéo
Paris, France
Remote
Intermediate
C++
Unreal Engine
Software Architecture

Playrix
Barcelona, Spain
Remote
Intermediate
API
Redis
React
Django
+5

Playrix
Badajoz, Spain
Remote
Intermediate
API
Redis
React
Django
+5

Playrix
Carballedo, Spain
Remote
Intermediate
API
Python
A/B testing
Continuous Integration

Playrix
Pamplona, Spain
Remote
Intermediate
API
Redis
React
Django
+5




Playrix
Municipality of Madrid, Spain
Remote
Intermediate
API
Redis
React
Django
+5