Python, PyGame and Raspberry Pi Game Development

  • 2h 24m
  • Sloan Kelly
  • Apress
  • 2016

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 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.

About the Author

Sloan Kelly is an experienced software developer with over 18 years of progressive experience. Hands-on professional with a proven record of success and delivery. Skills include C#, C/C++, Unity3D, Windows Presentation Foundation (WPF/MVVM), Windows Communication Foundation (WCF), Managed Extensibility Framework (MEF), DirectX, XNA, Collada, Java, HTML, CSS, JavaScript, XML.

In this Book

  • What Is a Programming Language?
  • What Is Python?
  • Introducing Python
  • Breaking Free from the Interpreter
  • Making Decisions
  • Making the Raspberry Pi Repeat Itself
  • Containers
  • Introduction to IDLE under LXDE
  • Basic Introduction to PyGame
  • Designing Your Game
  • Game Project: Bricks
  • User-Defined Functions
  • File Input and Output
  • Introducing Object-Oriented Programming
  • Inheritance, Composition, and Aggregation
  • Game Project: Snake
  • Model View Controller
  • Sound
  • Finite State Machines
  • Invaders
  • Conclusion
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)