Kelly Python, PyGame and Raspberry Pi Game Development
1. Auflage 2016
ISBN: 978-1-4842-2517-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 198 Seiten
Reihe: Professional and Applied Computing (R0)
ISBN: 978-1-4842-2517-2
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Gain the basics of Python and use PyGame to create fast-paced video games with great graphics and sounds. You'll also learn about object oriented programming (OOP) as well as design patterns like model-view-controller (MVC) and finite state machines (FSMs).
teaches you how to use Python and PyGame on your computer. Whether you use Windows, macOS, Linux, or a Raspberry Pi you can unleash the power of Python and PyGame to create great looking games. Included in the text are complete code listings and explanations for "Bricks," "Snake" and "Invaders"-- three fully-working games. These allow you to get started making your own great games. Modify them or build your own exciting titles.
What You'll Learn
- Gain the basics of Python and employ it for game development
- Design your game
- Build games using game projects as templates like Bricks, Snake, and Invaders
- Work with user defined functions, inheritance, composition, and aggregation
- Add sound to your games
- Implement finite state machines
Who This Book Is For
Experienced coders or game developers new to Python, PyGame and Raspberry Pi. This book is also for makers interested in getting into game development.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Weitere Infos & Material
1. What is a Programming Language?.- 2. What is Python?.- 3. Introducing Python.- 4. Breaking Free from the Interpreter.- 5. Making Decisions.- 6. Making the Raspberry Pi Repeat Itself.- 7. Containers.- 8. Introduction to the IDLE under LXDE.- 9. Basic Introduction to PyGame.- 10. Designing Your Game.- 11. Game Project: Bricks.- 12: User Defined Functions.- 13. File Input and Output.- 14. Introducing Object Oriented Programming.- 15. Inheritance, Composition, and Aggregation.- 16. Game Project: Snake.- 17. Model View Controller.- 18. Sound.- 19. Finite State Machines.- 20. Invaders.- 21. Conclusion.




