You are previewing Instant Pygame for Python Game Development How-to.
O'Reilly logo
Instant Pygame for Python Game Development How-to

Book Description

Create engaging and fun games with Pygame, Python's Game development library

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.

  • Quickly develop interactive games by utilizing features that give you a great user experience

  • Create your own games with realistic examples and easy to follow instructions

  • Learn about the game development process, from installing simple games to more complicated multiplayer games, ensuring compatibility with mobile devices

In Detail

Pygame is a library created to make multimedia software documenting easy to design. It adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the Python language. Pygame comes with functions and tools that will help you create a great user experience.

"Instant Pygame for Python Game Development How-to" is written in a concise and result-oriented format. Leading you through practical recipes, you’ll find that this essential reference guide helps you to create visually appealing and thrilling games with a few clicks.

This book starts with the basic instructions to install Pygame on different servers. It then goes into creating a sample game and explaining the features of drawing, animating, using fonts and Matplotlib with Pygame. The book then takes you through recipes to get access to some great sound and graphic effects. Giving you the steps to allow you to configure these games on Android and other networks, it ends with a walkthrough of the features of Sprites, OpenGL, and Simulation.

Table of Contents

  1. Instant Pygame for Python Game Development How-to
    1. Instant Pygame for Python Game Development How-to
    2. Credits
    3. About the Author
    4. About the Reviewer
    5. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    7. 1. Instant Pygame for Python Game Development How-to
      1. Preparing your development environment (Simple)
        1. Getting ready
        2. How to do it...
      2. Running a simple game (Simple)
        1. How to do it...
        2. How it works...
      3. Drawing with Pygame (Simple)
        1. How to do it...
      4. Animating objects (Simple)
        1. How to do it...
        2. How it works...
      5. Using fonts (Simple)
        1. How to do it...
      6. Using Matplotlib with Pygame (Simple)
        1. How to do it...
        2. How it works...
      7. Accessing surface pixel data (Intermediate)
        1. How to do it...
        2. How it works...
      8. Accessing sound data (Simple)
        1. How to do it...
        2. How it works...
      9. Playing a movie (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      10. Pygame on Android (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      11. Artificial intelligence (Intermediate)
        1. Getting ready
        2. How to do it...
        3. How it works...
      12. Drawing sprites (Intermediate)
        1. How to do it...
        2. How it works...
      13. Using OpenGL with Pygame (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
      14. Detecting collisions (Intermediate)
        1. How to do it...
        2. How it works...
      15. Adding networking functionality (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...
      16. Debugging your game (Intermediate)
        1. Getting ready
        2. How to do it...
      17. Profiling your code (Intermediate)
        1. How to do it...
        2. How it works...
      18. Puzzle game with Pygame (Advanced)
        1. How to do it...
        2. How it works...
      19. Simulating with Pygame (Advanced)
        1. Getting ready
        2. How to do it...
        3. How it works...