Learning Python by Building Games

Kafle, Sachin

  • 出版商: Packt Publishing
  • 出版日期: 2019-10-11
  • 售價: $1,160
  • 貴賓價: 9.5$1,102
  • 語言: 英文
  • 頁數: 510
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789802989
  • ISBN-13: 9781789802986
  • 相關分類: Python
  • 下單後立即進貨 (約1~2週)




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