Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python (Paperback)
暫譯: 使用 Pygame Zero 開始遊戲程式設計:在 Raspberry Pi 上使用 Python 編寫互動遊戲 (平裝本)

Watkiss, Stewart

  • 出版商: Apress
  • 出版日期: 2020-02-05
  • 售價: $2,080
  • 貴賓價: 9.5$1,976
  • 語言: 英文
  • 頁數: 348
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484256492
  • ISBN-13: 9781484256497
  • 相關分類: Python程式語言Raspberry Pi
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

製作有趣的遊戲,同時學習編程。在這本書中,重點是製作遊戲,而不是教授編程理論,因此你更有可能看到關於重力如何影響導彈軌跡的代碼,而不是最有效的數據搜尋方法。即便如此,代碼仍然保持簡單,因為遊戲應該以可玩性為主,而不是複雜的物理學。當你需要查找書中未包含的信息時,會有官方文檔的連結。

從一個簡單的基於文本的遊戲開始,掌握 Python 的基本編程知識。然後轉向使用 Pygame Zero 創建簡單的圖形遊戲。你不僅會學習物件導向編程,以便更輕鬆地製作更複雜的遊戲,還會努力創建自己的圖形和聲音。3D 圖形有點複雜,因此我們專注於 2D 遊戲,包括一些經典桌上遊戲和街機遊戲的變體。所有遊戲都設計為在 Raspberry Pi 上運行。它們可以在任何 Raspberry Pi 上運行,但也可以在任何支持 Python 3 和 Pygame Zero 的其他計算機上運行。

你製作的遊戲將是可玩的,並且希望能夠帶來樂趣。在書的結尾,你可以超越提供的源代碼,開發自己獨特的遊戲和程序。

你將學到的內容


  • 使用 Python 編碼

  • 為 2D 遊戲生成聲音和圖形

  • 掌握 Pygame Zero 的物件導向編程

本書適合誰對使用低成本且易於學習的解決方案(如 Pygame Zero 和 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).

作者簡介(中文翻譯)

斯圖亞特·瓦特基斯是一位熱衷於創作、編程的專家,也是《與 Raspberry Pi 一起學習電子學》的作者。他在赫爾大學(University of Hull)學習,獲得電子工程碩士學位,最近又在喬治亞理工學院(Georgia Institute of Technology)獲得計算機科學碩士學位。

斯圖亞特還擔任 STEM 大使,志願幫助教導學校的孩子們編程和實體計算機,並參加 Raspberry Pi 活動。他使用 Pygame Zero 創建了多個資源,並在他的網站(www.penguintutor.com)上提供這些資源。