Python, PyGame, and Raspberry Pi Game Development
Autor Sloan Kellyen Limba Engleză Paperback – 29 mai 2019
You'll learn about object-oriented programming (OOP) as well as design patterns, such as model-view-controller (MVC) and finite-state machines (FSMs). Whether using Windows, macOS, Linux, or a Raspberry Pi, you can unleash the power of Python and PyGame to create great looking games.
The book also includes complete code listings and explanations for "Bricks," "Snake," and "Invaders"—three fully working games. These allow you to get started in making your own great games and then modify them or build your own exciting titles. The concepts are further explained using games such as “Copycat,” where the player must concentrate and repeat the sequence of lights and sounds, and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 2–4 players.
What You’ll Learn
- Gain basic knowledge of Python and employ it for game development
- Study game projects you can use as templates, such as Bricks, Snake, and Invaders
- Work with user-defined functions, inheritance, composition, and aggregation
- Implement finite state machines
- Integrate your game with electronics using the GPIO pins
Experienced coders or game developers new to Python, PyGame and Raspberry Pi would find this book helpful. It is also for beginners interested in getting into game development.
Preț: 221.64 lei
Preț vechi: 277.05 lei
-20% Nou
Puncte Express: 332
Preț estimativ în valută:
42.42€ • 44.12$ • 35.55£
42.42€ • 44.12$ • 35.55£
Carte disponibilă
Livrare economică 20 februarie-06 martie
Preluare comenzi: 021 569.72.76
Specificații
ISBN-13: 9781484245323
ISBN-10: 1484245326
Pagini: 165
Ilustrații: XXV, 389 p. 81 illus.
Dimensiuni: 155 x 235 x 27 mm
Greutate: 0.58 kg
Ediția:2nd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
ISBN-10: 1484245326
Pagini: 165
Ilustrații: XXV, 389 p. 81 illus.
Dimensiuni: 155 x 235 x 27 mm
Greutate: 0.58 kg
Ediția:2nd ed.
Editura: Apress
Colecția Apress
Locul publicării:Berkeley, CA, United States
Cuprins
Chapter 1: What Is a Programming Language?.- Chapter 2: What Is Python?.- Chapter 3: Introducing Python.- Chapter 4: Breaking Free from the Interpreter.- Chapter 5: Making Decisions.- Chapter 6: Making the Raspberry Pi Repeat Itself.- Chapter 7: Container Data Types.- Chapter 8: Introduction to IDLE running on the Pixel Desktop.- Chapter 9: Basic Introduction to PyGame.- Chapter 10: Designing Your Game.- Chapter 11: Game Project: Bricks.- Chapter 12: User-Defined Functions.- Chapter 13: File Input and Output.- Chapter 14: Introducing Object-Oriented Programming.- Chapter 15: Inheritance, Composition, and Aggregation.- Chapter 16: Game Project: Snake.- Chapter 17: Model View Controller.- Chapter 18: Sound.- Chapter 19: Finite State Machines.- Chapter 20: Invaders.- Chapter 21: Simple Electronics with the GPIOs.- Chapter 22: Copycat Game.- Chapter 23: Couch Multi-Player Quiz Game.- Chapter 24: Conclusion.
Notă biografică
Sloan Kelly has worked in the games industry for nearly 12 years. He has worked on a number of AAA and indie titles and currently works for an educational game company. He lives in Ontario, Canada with his wife and children. Sloan is on Twitter @codehoose and makes YouTube videos in his spare time.
Textul de pe ultima copertă
Expand your basic knowledge of Python and use PyGame to create fast-paced video games with great graphics and sounds. This second edition shows how you can integrate electronic components with your games using the build-in general purpose input/output (GPIO) pins and some Python code to create two new games.
You'll learn about object-oriented programming (OOP) as well as design patterns, such as model-view-controller (MVC) and finite-state machines (FSMs). Whether using Windows, macOS, Linux, or a Raspberry Pi, you can unleash the power of Python and PyGame to create great looking games.
The book also includes complete code listings and explanations for "Bricks," "Snake," and "Invaders"—three fully working games. These allow you to get started in making your own great games and then modify them or build your own exciting titles. The concepts are further explained using games such as “Copycat,” where the player must concentrate and repeat the sequence of lights, and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 4 players.
You'll learn about object-oriented programming (OOP) as well as design patterns, such as model-view-controller (MVC) and finite-state machines (FSMs). Whether using Windows, macOS, Linux, or a Raspberry Pi, you can unleash the power of Python and PyGame to create great looking games.
The book also includes complete code listings and explanations for "Bricks," "Snake," and "Invaders"—three fully working games. These allow you to get started in making your own great games and then modify them or build your own exciting titles. The concepts are further explained using games such as “Copycat,” where the player must concentrate and repeat the sequence of lights, and “Couch Quiz,” in which PyGame and electronic components create a quiz game for 4 players.
Caracteristici
Introduction to the PyGame framework and its workings Use Python to access the GPIOs Design a game from a code perspective