Learning Python by Building Games
暫譯: 透過遊戲學習 Python
Kafle, Sachin
- 出版商: Packt Publishing
- 出版日期: 2019-10-11
- 售價: $1,540
- 貴賓價: 9.5 折 $1,463
- 語言: 英文
- 頁數: 510
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1789802989
- ISBN-13: 9781789802986
-
相關分類:
Python、程式語言
已絕版
買這商品的人也買了...
-
$1,620$1,539 -
$875Analysis of Biological Networks (Hardcover)
-
$2,350$2,233 -
$600$570 -
$650$585 -
$290$284 -
$480$379 -
$2,540$2,413 -
$1,715Numerical Python: Scientific Computing and Data Science Applications with Numpy, SciPy and Matplotlib Second Edition
-
$450$356 -
$680$537 -
$580$458 -
$690$587 -
$680$537 -
$1,400$1,330 -
$380$342 -
$500$395 -
$2,100$2,058 -
$1,200$948 -
$540$486 -
$540$529 -
$560$437 -
$680$537 -
$580$452 -
$840$798
商品描述
A fun and interactive way to get started with the Python language and its libraries is by getting hands-on with game development.
Learning Python by Building Games brings you the best of both worlds. The book will first introduce you to Python fundamentals, which you will then use to develop a basic game. You’ll gradually explore the different Python libraries best suited for game development such as Pygame, Pyglet, and PyOpenGL. From building game characters through to using 3D animation techniques, you’ll discover how to create an aesthetic game environment. In addition to this, you’ll focus on game physics to give your effects a realistic feel, complete with movements and collisions. The book will also cover how you can use particle systems to simulate phenomena such as an explosion or smoke. In later chapters, you will gain insights into object-oriented programming by modifying a snake game, along with exploring GUI programming to build a user interface with Python’s turtle module.
By the end of this book, you’ll be well-versed with Python programming concepts and popular libraries, and have the confidence to build your own games
- Explore core Python concepts by understanding Python libraries
- Build your first 2D game using Python scripting
- Understand concepts such as decorators and properties in the Python ecosystem
- Create animations and movements by building a Flappy Bird-like game
- Design game objects and characters using Pygame, PyOpenGL, and Pymunk
- Add intelligence to your gameplay by incorporating game artificial intelligence (AI) techniques using Python
- Learn game development and Python through a practical, example-driven approach
- Discover a variety of game development techniques to build games that gradually increase in complexity
- Leverage popular Python gaming libraries such as Pygame, PyOpenGL, Pymunk, and Pyglet
商品描述(中文翻譯)
一個有趣且互動的方式來開始學習 Python 語言及其庫,就是透過遊戲開發來實踐。
《透過建立遊戲學習 Python》將為你帶來兩全其美的體驗。本書首先會介紹 Python 的基本概念,然後你將利用這些知識來開發一個基本的遊戲。你將逐步探索最適合遊戲開發的不同 Python 庫,如 Pygame、Pyglet 和 PyOpenGL。從建立遊戲角色到使用 3D 動畫技術,你將發現如何創建一個美觀的遊戲環境。此外,你還將專注於遊戲物理,以使你的效果具有真實感,包括運動和碰撞。本書還將涵蓋如何使用粒子系統來模擬爆炸或煙霧等現象。在後面的章節中,你將通過修改一個貪食蛇遊戲來深入了解物件導向程式設計,並探索 GUI 程式設計,使用 Python 的 turtle 模組來建立用戶介面。
在本書結束時,你將熟悉 Python 程式設計概念和流行的庫,並有信心建立自己的遊戲。
- 透過理解 Python 庫來探索核心 Python 概念
- 使用 Python 腳本建立你的第一個 2D 遊戲
- 理解 Python 生態系中的裝飾器和屬性等概念
- 通過建立類似 Flappy Bird 的遊戲來創建動畫和運動
- 使用 Pygame、PyOpenGL 和 Pymunk 設計遊戲物件和角色
- 通過使用 Python 結合遊戲人工智慧 (AI) 技術為你的遊戲增添智慧
- 透過實用的範例驅動方法學習遊戲開發和 Python
- 發現各種遊戲開發技術,建立逐漸增加複雜度的遊戲
- 利用流行的 Python 遊戲庫,如 Pygame、PyOpenGL、Pymunk 和 Pyglet