๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Learning Python by Building Games: A beginnerโ€™s guide to Python programming and game development

โœ Scribed by Sachin Kafle


Publisher
Packt Publishing
Year
2019
Tongue
English
Leaves
510
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


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.

Downloading the example code for this ebook: You can download the example code files for this ebook on GitHub at the following link: https://github.com/PacktPublishing/Learning-Python-by-building-games. If you require support please email: [email protected]


๐Ÿ“œ SIMILAR VOLUMES


Coding for Beginners: Python: A Step-by-
โœ Elliot Davis ๐Ÿ“‚ Library ๐ŸŒ English

<span>Decode the Mystery of Coding</span><span><br><br>Python is the worldโ€™s most popular coding language not only for software developers but also for scientists, mathematicians, and even kids. </span><span>Python should be the 1st programming language you learn.</span><span> Creating your own apps

Python Advanced Programming: The guide t
โœ Marcus Richards ๐Ÿ“‚ Library ๐Ÿ“… 2024 ๐Ÿ› Marcus Richards ๐ŸŒ English

<p>ย </p><p>If you want to learn the most modern programming language in the world, then keep reading. Python is an high-level programming language.ย It's a modern language, easy to learn and understand but very powerful.</p><p>It's a versatile programming language that is now being used on a lot o

Invent Your Own Computer Games with Pyth
โœ Al Sweigart ๐Ÿ“‚ Library ๐Ÿ“… 2010 ๐Ÿ› Albert\Sweigart ๐ŸŒ English

This is the 2nd edition. The 3rd edition is now available for sale or download. "Invent Your Own Computer Games with Python" teaches you computer programming in the Python programming language. Each chapter gives you the complete source code for a new game and teaches the programming concepts from t