Python, PyGame and Raspberry Pi Game Development
Book information
Description
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). Python, PyGame and Raspberry Pi Game Development 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 developmentDesign your gameBuild games using game projects as templates like Bricks, Snake, and InvadersWork with user defined functions, inheritance, composition, and aggregationAdd sound to your gamesImplement 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. Front Matter....Pages i-xviii What Is a Programming Language?....Pages 1-2 What Is Python?....Pages 3-5 Introducing Python....Pages 7-21 Breaking Free from the Interpreter....Pages 23-25 Making Decisions....Pages 27-35 Making the Raspberry Pi Repeat Itself....Pages 37-41 Containers....Pages 43-51 Introduction to IDLE under LXDE....Pages 53-57 Basic Introduction to PyGame....Pages 59-65 Designing Your Game....Pages 67-71 Game Project: Bricks....Pages 73-85 User-Defined Functions....Pages 87-94 File Input and Output....Pages 95-97 Introducing Object-Oriented Programming....Pages 99-108 Inheritance, Composition, and Aggregation....Pages 109-116 Game Project: Snake....Pages 117-139 Model View Controller....Pages 141-151 Sound....Pages 153-154 Finite State Machines....Pages 155-162 Invaders....Pages 163-191 Conclusion....Pages 193-193 Back Matter....Pages 195-198
Similar books
Unity Networking Fundamentals: Creating Multiplayer Games with Unity
2021 · PDF
Unity Networking Fundamentals: Creating Multiplayer Games with Unity
2021 · EPUB
Unity Networking Fundamentals: Creating Multiplayer Games with Unity
2021 · PDF
Python, PyGame, and Raspberry Pi Game Development
2019 · EPUB
Python, Pygame, and Raspberry Pi Game Development
2019 · PDF
Python, PyGame and Raspberry Pi Game Development
2016 · PDF
BlitzMax for Absolute Beginners Games Programming for the Absolute Beginner
2016 · PDF
EXCEL 2023 CRASH COURSE: Master Excel 2023 With This Complete Crash Course In 7 Days
2022 · EPUB