Python Game Programming By Example (+source code)
Rodas de Paz A., Howse J.Seven hands-on games to create 2D and 3D games rapidly from scratch Illustrative guide to explore the different GUI libraries for building your games.
Who This Book Is For :
If you have ever wanted to create casual games in Python and you would like to explore various GUI technologies that this language offers, this is the book for you. This title is intended for beginners to Python with little or no knowledge of game development, and it covers step by step how to build seven different games, from the well-known Space Invaders to a classical 3D platformer.
Table of Contents
1: Hello, Pong!
2: Cocos Invaders
3: Building a Tower Defense Game
4: Steering Behaviors
5: Pygame and 3D
6: PyPlatformer
7: Augmenting a Board Game with Computer Vision
What You Will Learn :
Take advantage of Python’s clean syntax to build games quickly
Discover distinct frameworks for developing graphical applications
Implement non-player characters (NPCs) with autonomous and seemingly intelligent behaviors
Design and code some popular games like Pong and tower defense
Compose maps and levels for your sprite-based games in an easy manner
Modularize and apply object-oriented principles during the design of your games
Exploit libraries like Chimpunk2D, cocos2d, and Tkinter
Create natural user interfaces (NUIs), using a camera and computer vision algorithms to interpret the player’s real-world actions
In Detail
With a growing interest in learning to program, game development is an appealing topic for getting started with coding. From geometry to basic Artificial Intelligence algorithms, there are plenty of concepts that can be applied in almost every game. Python is a widely used general-purpose, high-level programming language. It provides constructs intended to enable clear programs on both a small and large scale. It is the third most popular language whose grammatical syntax is not pred