
- 160 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Learning to code your own shoot-'em-up game is infinitely more satisfying than beating any end-of-level boss. While millions of us enjoy nothing more than spending hours racking up high scores on our favourite video games, too few are exposed to an even more gratifying way to spend time — making them.
Tested to run on the latest Raspberry Pi hardware and operating system, the games and instructions in this book work on Windows, macOS, or Linux.
This book teaches Python and Pygame development, helping you to understand the games you play and create almost anything your imagination can come up with. As you work your way up to creating your own shoot-‘em-up game, you’ll learn how to:
- Create shapes and paths
- Move sprites and detect collisions
- Handle keyboard, mouse, and gamepad input
- Add sound and music
- Simulate physics and forces
Although this book isn't aimed at complete programming beginners, it isn’t too advanced either. If you've written programs in Python (or a similar programming language) and can perform basic administrative tasks — such as creating files and navigating your computer's file system — without too much difficulty, then you're ready to get started.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Make games with Python, 2nd Edition
- Copyright Page
- Welcome
- About the author
- Colophon
- Chapter 1: Draw Shapes and Paths
- Chapter 2: Animate Shapes and Paths
- Chapter 3: Take control: keyboard, mouse, and gamepad
- Chapter 4: Your first game
- Chapter 5: Pygame Soundboard
- Chapter 6: Physics and forces
- Chapter 7: Physics and Collisions
- Chapter 8: Fred’s Bad Day
- Chapter 9: The Aliens Are Trying to Kill Me!
- Chapter 10: The Aliens Are Here and They’re Coming in Waves!