Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python (Paperback)

Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python (Paperback)

作者: Watkiss Stewart
出版社: Apress
出版在: 2020-02-05
ISBN-13: 9781484256497
ISBN-10: 1484256492
裝訂格式: Quality Paper - also called trade paper
總頁數: 348 頁





內容描述


Make fun games while learning to code. Focused on making games rather than teaching programming theory, in this book you're more likely to see code on how gravity affects a missiles trajectory instead of the most efficient way to search through data. Even then the code is kept simple as games should be about playability rather than complex physics. There are links to the official documentation when you need to lookup information that isn't included in the book.
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.


作者介紹


Stewart Watkiss is a keen maker, programmer, and author of Learn Electronics with Raspberry Pi. He studied at the University of Hull, where he earned a master's degree in electronic engineering and more recently with Georgia Institute of Technlogy where he earned a master's degree in computer science.
Stewart also volunteers as a STEM Ambassador, helping teach programming and physical computer to school children and at Raspberry Pi events. He has created a number of resources using Pygame Zero which he makes available on his web site (www.penguintutor.com).




相關書籍

智能優化算法及其 MATLAB 實例, 3/e

作者 包子陽 餘繼周 楊杉

2020-02-05

Density Ratio Estimation in Machine Learning

作者 Masashi Sugiyama Taiji Suzuki Takafumi Kanamori

2020-02-05

PyTorch 深度學習實戰:從新手小白到數據科學家

作者 張敏

2020-02-05