E-Book, Englisch, 348 Seiten, eBook
Watkiss Beginning Game Programming with Pygame Zero
1. Auflage 2020
ISBN: 978-1-4842-5650-3
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Coding Interactive Games on Raspberry Pi Using Python
E-Book, Englisch, 348 Seiten, eBook
Reihe: Professional and Applied Computing
ISBN: 978-1-4842-5650-3
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Start with a simple text based game to grasp the basics of programming in Python. Then moves on to creating simple graphical games in Pygame Zero. Not only will you learn object oriented programming to make it easier to make more complex games, you'll also work to create your own graphics and sounds. 3D graphics are a little complex. So we focus on 2D games, including spins on some classic boardgames and arcade games. All the games are designed to run on a Raspberry Pi. They will work on any Raspberry Pi, but will also work on any other computer that supports Python 3 along with Pygame Zero.
The games you make will be playable and hopefully fun to play. And by the end of the book, you can step beyond the provided source code to develop your own unique games and programs.
What You'll Learn
- Code in Python
- Generate sounds and graphics for 2D games
- Grasp object oriented programming with Pygame Zero
Who This Book Is ForBeginning game developers interested in working with low-cost and easy-to-learn solutions like Pygame Zero and the Raspberry Pi.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Weitere Infos & Material
Chapter 01 - Game Programming, Introduction to Concepts and Python / Pygame Zero Chapter 02 - Getting Started with Python * Text based joke * Text based quiz Chapter 03 - Pygame Zero * Compass Game Chapter 04 - Changing Game Play (Expands on the basic game in the previous chapter to make it more entertaining) * Compass Game (improved) Chapter 05 - Calculating Trajectory and Creating Dynamic Worlds * Tank warsChapter 06 - Sound Effects * Sounds * Music * Audacity * SonicPi Chapter 07 - Designing Your Own Graphics (Sprites) * Draw * Gimp * Blender Chapter 08 - Object Oriented Programming and Using a Mouse * Memory game Chapter 09 - Color and Customizing Graphics * Adding color (look at color through bouncing balls) * Customize Graphics (based on svg to png conversion) - used in compass game Chapter 10 - Adding Artificial Intelligence * Possibly improving on previous games




