Python, PyGame and Raspberry Pi Game Development

Sloan Kelly

  • 出版商: Apress
  • 出版日期: 2016-12-24
  • 售價: $1,110
  • 貴賓價: 9.5$1,055
  • 語言: 英文
  • 頁數: 198
  • 裝訂: Paperback
  • ISBN: 1484225163
  • ISBN-13: 9781484225165
  • 相關分類: Raspberry Pi
  • 海外代購書籍(需單獨結帳)

商品描述

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.

商品描述(中文翻譯)

學習Python的基礎知識,並使用PyGame創建具有出色圖形和聲音的快節奏視頻遊戲。您還將學習面向對象編程(OOP)以及設計模式,如模型-視圖-控制器(MVC)和有限狀態機(FSM)。

《Python、PyGame和Raspberry Pi遊戲開發》教您如何在計算機上使用Python和PyGame。無論您使用Windows、macOS、Linux還是Raspberry Pi,都可以發揮Python和PyGame的威力,創建出色的遊戲。書中包含完整的代碼清單和對“Bricks”、“Snake”和“Invaders”這三個完全可運行的遊戲的解釋。這些遊戲讓您可以開始製作自己的精彩遊戲。修改它們或者建立您自己的令人興奮的遊戲。

您將學到什麼:
- 掌握Python的基礎知識並應用於遊戲開發
- 設計您的遊戲
- 使用遊戲項目作為模板(如Bricks、Snake和Invaders)來構建遊戲
- 使用用戶定義函數、繼承、組合和聚合
- 為遊戲添加聲音
- 實現有限狀態機

適合閱讀對象:
- 有經驗的編碼人員或新手遊戲開發人員,對Python、PyGame和Raspberry Pi感興趣。本書也適合對遊戲開發感興趣的製造者。