Für diesen Artikel ist leider kein Bild verfügbar.

Learning Python by Building Games

(Autor)

Buch | Softcover
510 Seiten
2019
Packt Publishing Limited (Verlag)
978-1-78980-298-6 (ISBN)
33,65 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Explore modern game development and programming techniques to build games using Python and its popular libraries such as Pygame and PyOpenGL


Key Features

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

Book Description


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

What you will learn

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

Who This Book Is For


If you are completely new to Python or game programming and want to develop your programming skills, then this book is for you. The book also acts as a refresher for those who already have experience of using Python and want to learn how to build exciting games.

Sachin Kafle is a computer engineer from Tribhuvan University, Nepal, and a programming instructor currently living in Kathmandu. He is the founder of Bitfourstack Technologies, a software company that provides services including automation for real-time problems in businesses. One of his courses, named Python Game Development, is the best seller on many e-learning websites. His interests lie in software development and integration practices in the areas of computation and quantitative fields of trade. He has been utilizing his expertise in Python, C, Java, and C# by teaching since 2012. He has been a source of motivation to younger people, and even his peers, regardless of their educational background, who are embarking on their journey in programming.

Table of Contents

Getting to know Python: Setup Python, Setup Python Editor
Make Your First Game By Learning Fundamentals of Python
Flow Control: Build Decision Maker For Your Game
Data Structures and Methods: Refine Your Game with the Taste of AI
Learn Curses By Building Snake Game
Learn Object Oriented Programming Modifying Snake Game
List Comprehensions and Properties
Turtle Class-Drawing to the Screen
Data Model Implementation
Upgrade Snake Game with Turtle
Outdo Turtle: Snake Game UI with Pygame
Learn Character Animation, Collision and Movement By Building Flappy Bird Game
Coding Tetris Game with Pygame and Python Essentials
Getting to Know PyopenGL
Getting to Know Pymunk Building Angry Bird Game
Learn Game AI Building a Bot to Play Our Snake Game

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Grafik / Design
Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Spieleprogrammierung
ISBN-10 1-78980-298-9 / 1789802989
ISBN-13 978-1-78980-298-6 / 9781789802986
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
2D- und 3D-Spiele entwickeln

von Thomas Theis

Buch | Softcover (2023)
Rheinwerk (Verlag)
29,90