Beginning python games development

Beginning Game Development with Python and Pygame : From Novice to Professional

Like music and movies, video games are rapidly becoming an integral part of our lives. Over the years, you’ve yearned for every new gaming console, mastered each blockbuster within weeks after its release, and have even won a local gaming competition or two. But lately you’ve been spending a lot of time thinking about a game idea of your own, or are exploring the possibility of making a career of this vibrant and growing industry. But where should you begin?

Beginning Game Development with Python and Pygame is written with the budding game developer in mind, introducing games development through the Python programming language and the popular Pygame games development library. Authored by industry veteran and Python expert Will McGugan, who worked on the MotorStorm game for PlayStation 3, you’ll be privy to insights that will not only help you to exploit Pygame to its maximum potential, but also make you a more creative and knowledgeable games developer all round.

  • Learn how to create advanced games by taking advantage of the popular open source Python programming language and Pygame games development library
  • Learn about coding gaming preferences, sound, visual effects, and joystick/keyboard interaction
  • Discover the concepts that are crucial to success in today’s gaming industry, such as support for multiple platforms, and granting users the ability to extend and customize your games
Читайте также:  Задать блоку класс css

Источник

Beginning Python Games Development, Second Edition

Book cover

This is a preview of subscription content, access via your institution.

Table of contents (14 chapters)

Front Matter

Introducing Python

Exploring Python

Introducing Pygame

Creating Visuals

Making Things Move

Accepting User Input

Take Me to Your Leader

Moving into the Third Dimension

Exploring the Third Dimension

Making Things Go Boom

Lights, Camera, Action!

Setting the Scene with OpenGL

Game Object Reference

Packaging Your Game

Back Matter

About this book

Beginning Python Games Development, Second Edition teaches you how to create compelling games using Python and the PyGame games development library. It will teach you how to create visuals, do event handling, create 3D games, add media elements, and integrate OpenGL into your Python game.

In this update to the first ever book to cover the popular open source PyGame games development library, you’ll stand to gain valuable technical insights and follow along with the creation of a real-world, freely downloadable video game. Written by industry veterans and Python experts Will McGugan and Harrison Kinsley, this is a comprehensive, practical introduction to games development in Python. You can also capitalize upon numerous tips and tricks the authors have accumulated over their careers creating games for some of the world’s largest game developers.

About the authors

Will McGugan is a software developer living and working in northwest England. He has worked in video games and computer graphics since the early days of 3D and has created several shareware games in his spare time. Will works for Evolution Studios, one of the world’s leading games development studios. He also has extensive experience in application development, having worked in the field of user interface creation and video conferencing. His current interests include application and web development in Python. Outside of work, Will enjoys juggling and cycling, although not at the same time. For more information on Will’s current work and various musings, visit his blog at WillMcGugan.com.

Читайте также:  Which language is used in java

Bibliographic Information

  • Book Title : Beginning Python Games Development, Second Edition
  • Book Subtitle : With PyGame
  • Authors : Harrison Kinsley, Will McGugan
  • DOI : https://doi.org/10.1007/978-1-4842-0970-7
  • Publisher : Apress Berkeley, CA
  • eBook Packages : Professional and Applied Computing , Professional and Applied Computing (R0) , Apress Access Books
  • Copyright Information : Will McGugan and Harrison Kinsley 2015
  • Softcover ISBN : 978-1-4842-0971-4 Published: 21 June 2015
  • eBook ISBN : 978-1-4842-0970-7 Published: 10 July 2015
  • Edition Number : 2
  • Number of Pages : XXII, 308
  • Number of Illustrations : 53 b/w illustrations
  • Topics : Game Development , Software Engineering

Источник

Beginning Python Games Development : With Pygame, Second Edition

Beginning Python Games Development : With Pygame, Second Edition

Read it now on the O’Reilly learning platform with a 10-day free trial.

O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Book description

Beginning Python Games Development, Second Edition teaches you how to create compelling games using Python and the PyGame games development library. It will teach you how to create visuals, do event handling, create 3D games, add media elements, and integrate OpenGL into your Python game.

In this update to the first ever book to cover the popular open source PyGame games development library, you’ll stand to gain valuable technical insights and follow along with the creation of a real-world, freely downloadable video game. Written by industry veterans and Python experts Will McGugan and Harrison Kinsley, this is a comprehensive, practical introduction to games development in Python. You can also capitalize upon numerous tips and tricks the authors have accumulated over their careers creating games for some of the world’s largest game developers.

Table of contents

  1. Cover
  2. Title
  3. Copyright
  4. Dedication
  5. Contents at a Glance
  6. Contents
  7. About the Authors
  8. About the Technical Reviewer
  9. Introduction
  10. Chapter 1: Introducing Python
    1. Your First Look at Python
      1. Numbers
      2. Strings
      3. Lists and Tuples
      4. Unpacking
      5. Loops
      1. Creating Scripts
      2. Working with Logic
        1. Understanding Booleans
        2. if Statement
        3. and Operator
        4. Or Operator
        5. Not Operator
        6. else Statement
        7. elif Statement
        1. Defining Functions
        2. Default Values
        1. Using Classes
        2. Creating an Object
        3. Adding to our Class
        1. Introducing import
        2. Useful Modules for Games
        3. Math Module
        1. History of Pygame
        2. Installing Pygame
        3. Using Pygame
        4. Hello World Revisited
        5. Understanding Events
          1. Retrieving Events
          2. Handling Mouse Motion Events
          3. Handling Mouse Button Events
          4. Handling Keyboard Events
          5. Filtering Events
          6. Posting Events
          1. Full-Screen Displays
          2. Windows with No Borders
          3. Additional Display Flags
          1. Using Pixel Power
          2. Working with Color
            1. Representing Color in Pygame
            2. Scaling Colors
            3. Blending Colors
            1. Creating Images with an Alpha Channel
            2. Storing Images
            1. Creating Surfaces
            2. Filling Surfaces
            3. Getting Pixels in a Surface
            4. Blitting
            1. pygame.draw.rect
            2. pygame.draw.polygon
            3. pygame.draw.circle
            4. pygame.draw.ellipse
            5. pygame.draw.arc
            6. pygame.draw.line
            7. pygame.draw.lines
            8. pygame.draw.aaline
            9. pygame.draw.aalines
            1. Understanding Frame Rate
            2. Moving in a Straight Line
              1. It’s About Time
              2. Diagonal Movement
              1. Creating Vectors
              2. Storing Vectors
              3. Vector Magnitude
              4. Unit Vectors
              5. Vector Addition
              6. Vector Subtraction
              7. Vector Negation
              8. Vector Multiplication and Division
              1. Diagonal Movement
              2. Game Objects Vector Class
              1. Controlling the Game
              2. Understanding Keyboard Control
                1. Detecting Key Presses
                2. Directional Movement with Keys
                3. Rotational Movement with Keys
                1. Rotational Movement with the Mouse
                2. Mouse Gameplay
                1. Joystick Basics
                2. Joystick Buttons
                3. Joystick Direction Controls
                4. Joystick Objects
                1. Creating Ar?tificial Intelligence for Games
                  1. What Is Intelligence?
                  2. Exploring AI
                  1. Game Entities
                  2. Building Worlds
                  3. Ant Entity Class
                  4. Building the Brains
                  1. Creating the Illusion of Depth
                  2. Understanding 3D Space
                    1. Using 3D Vectors
                    2. Time-Based Movement in 3D
                    1. Parallel Projections
                    2. Perspective Projections
                    3. Field of View
                    1. What Is a Matrix?
                      1. Using the Matrix Class
                      2. Matrix Components
                      3. Translation Matrix
                      4. Scale Matrix
                      5. Rotation Matrix
                      6. Matrix Multiplication
                      1. Installing PyOpenGL
                      2. Initializing OpenGL
                      3. OpenGL Primer
                      1. What Is Sound?
                      2. Storing Sound
                        1. Sound Formats
                        1. Sound Objects
                        2. Sound Channels
                        3. Mixer Functions
                        4. Hearing the Mixer in Action
                        1. Obtaining Music
                        2. Playing Music
                        3. Hearing Music in Action
                        1. Working with Textures
                          1. Uploading Textures with OpenGL
                          2. Texture Coordinates
                          3. Rendering Textures
                          4. Deleting Textures
                          5. Seeing Textures in Action
                          6. Mip Mapping
                          7. Texture Parameters
                          8. Min and Max Filters
                          9. Texture Wrapping
                          1. Storing Models
                          2. OBJ Format for 3D Models
                          3. Parsing OBJ Files
                          4. Material Library Files
                          5. Seeing Models in Action
                          6. Using the Model3D Class
                          1. Understanding Lighting
                          2. Enabling Lighting
                            1. Setting Light Parameters
                            2. Working with Materials
                            3. Tweaking Parameters
                            4. Managing Lights
                            1. Using Blending
                            2. Alpha Blending
                            3. Additive Blending
                            4. Subtractive Blending
                            5. Seeing Blending in Action
                            6. Blending Issues
                            1. Fog Parameters
                            2. Seeing Fog in Action
                            1. Skyboxes
                            2. Seeing Skyboxes in Action
                            3. Skybox Enhancements
                            1. Importing
                            2. Contributing
                            3. gameobjects.color.Color
                              1. Constructor
                              2. Attributes
                              3. Methods
                              4. Class Methods
                              1. Constructor
                              2. Attributes
                              3. Methods
                              4. Class Methods
                              1. Constructor
                              2. Attributes
                              3. Methods
                              4. Class Methods
                              1. Constructor
                              2. Attributes
                              3. Methods
                              4. Class Methods
                              1. Creating Windows Packages
                                1. Using cx_Freeze
                                2. Building the Installer

                                Product information

                                • Title: Beginning Python Games Development : With Pygame, Second Edition
                                • Author(s): Harrison Kinsley, Will McGugan
                                • Release date: June 2015
                                • Publisher(s): Apress
                                • ISBN: 9781484209707

                                Источник

                                Beginning game development with Python and Pygame : from novice to professional

                                Publication date 2007 Topics Computer games — Programming, Python (Computer program language), Open source software Publisher Berkeley, CA : Apress ; New York, NY : Distributed to the book trade worldwide by Springer-Verlag New York Collection inlibrary; printdisabled; internetarchivebooks Digitizing sponsor Kahle/Austin Foundation Contributor Internet Archive Language English

                                [WorldCat (this item)]

                                Access-restricted-item true Addeddate 2021-10-21 04:10:07 Boxid IA40264605 Camera Sony Alpha-A6300 (Control) Collection_set printdisabled External-identifier urn:oclc:record:1285456735
                                urn:lcp:beginninggamedev0000mcgu:lcpdf:dc8c31d1-5665-47e0-8437-b5d759a8fff4
                                urn:lcp:beginninggamedev0000mcgu:epub:a764c1bd-6237-4efa-b6d9-6f24f80fb4c8 Foldoutcount 0 Identifier beginninggamedev0000mcgu Identifier-ark ark:/13960/t0pt0g22x Invoice 1652 Isbn 1590598725
                                9781590598726 Lccn 2009278911 Ocr tesseract 5.0.0-beta-20210815 Ocr_detected_lang en Ocr_detected_lang_conf 1.0000 Ocr_detected_script Latin Ocr_detected_script_conf 0.9521 Ocr_module_version 0.0.13 Ocr_parameters -l eng Old_pallet IA-WL-0000190 Openlibrary_edition OL9357831M Openlibrary_work OL9171701W Page_number_confidence 90.68 Pages 350 Partner Innodata Pdf_module_version 0.0.15 Ppi 360 Rcs_key 24143 Republisher_date 20211021092944 Republisher_operator associate-mayel-franco@archive.org;associate-ritzell-pardillo@archive.org Republisher_time 1071 Scandate 20211016033933 Scanner station08.cebu.archive.org Scanningcenter cebu Scribe3_search_catalog isbn Scribe3_search_id 9781590598726 Sent_to_scribe station08.cebu.archive.org Tts_version 4.5-initial-80-gce32ee1e

                                Источник

Оцените статью