Python Game Programming by Example (Paperback)

Python Game Programming by Example (Paperback)

作者: Alejandro Rodas de Paz Joseph Howse
出版社: Packt Publishing
出版在: 2015-09-30
ISBN-13: 9781785281532
ISBN-10: 1785281534
裝訂格式: Paperback
總頁數: 231 頁




內容描述


A pragmatic guide for developing your own games with PythonAbout This BookStrengthen your fundamentals of game programming with Python languageSeven hands-on games to create 2D and 3D games rapidly from scratchIllustrative guide to explore the different GUI libraries for building your gamesWho This Book Is ForIf 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.What You Will LearnTake advantage of Python's clean syntax to build games quicklyDiscover distinct frameworks for developing graphical applicationsImplement non-player characters (NPCs) with autonomous and seemingly intelligent behaviorsDesign and code some popular games like Pong and tower defenseCompose maps and levels for your sprite-based games in an easy mannerModularize and apply object-oriented principles during the design of your gamesExploit libraries like Chimpunk2D, cocos2d, and TkinterCreate natural user interfaces (NUIs), using a camera and computer vision algorithms to interpret the player's real-world actionsIn DetailWith 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 predominantly based on C. Python is also very easy to code and is also highly flexible, which is exactly what is required for game development. The user-friendliness of this language allows beginners to code games without too much effort or training. Python also works with very little code and in most cases uses the “use cases” approach, reserving lengthy explicit coding for outliers and exceptions, making game development an achievable feat.Python Game Programming by Example enables readers to develop cool and popular games in Python without having in-depth programming knowledge of Python. The book includes seven hands-on projects developed with several well-known Python packages, as well as a comprehensive explanation about the theory and design of each game.It will teach readers about the techniques of game design and coding of some popular games like Pong and tower defense. Thereafter, it will allow readers to add levels of complexities to make the games more fun and realistic using 3D.At the end of the book, you will have added several GUI libraries like Chimpunk2D, cocos2d, and Tkinter in your tool belt, as well as a handful of recipes and algorithms for developing games with Python.Style and approachThis book is an example-based guide that will teach you to build games using Python. This book follows a step-by-step approach as it is aimed at beginners who would like to get started with basic game development. By the end of this book you will be competent game developers with good knowledge of programming in Python.




相關書籍

Computer Vision: Algorithms and Applications (Hardcover)

作者 Richard Szeliski

2015-09-30

Python Deep Learning Cookbook: Over 75 practical recipes on neural network modeling, reinforcement learning, and transfer learning using Python

作者 Indra den Bakker

2015-09-30

高效能 Python 程式設計, 2/e (High Performance Python: Practical Performant Programming for Humans, 2/e)

作者 Micha Gorelick Ian Ozsvald 賴屹民 譯

2015-09-30







2
2
2