Beginning game programming with Pygame Zero : coding interactive games on Raspberry Pi using Python /: coding interactive games on Raspberry Pi using Python. (2020)
- Record Type:
- Book
- Title:
- Beginning game programming with Pygame Zero : coding interactive games on Raspberry Pi using Python /: coding interactive games on Raspberry Pi using Python. (2020)
- Main Title:
- Beginning game programming with Pygame Zero : coding interactive games on Raspberry Pi using Python
- Further Information:
- Note: Stewart Watkiss.
- Other Names:
- Watkiss, Stewart
- Contents:
- Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Introduction -- Chapter 1: Creating Computer Games -- Inspiration Rather Than Imitation -- Playing Games -- Create the Resources -- Development Cycle -- Making Programming Enjoyable -- Python and Pygame Zero -- Compiled vs. Interpreted -- Choosing a Programming Environment -- Summary -- Chapter 2: Getting Started with Python -- Using the Mu Editor -- Python Programming -- Variables -- Strings and Format -- Lists -- Dictionaries -- Tuples -- Conditional Statements (if, elif, else) Simple Quiz Game -- Loops -- While, For -- While Loop -- For Loop -- Forever Loop -- while True -- Changing Loop Flow -- break and continue -- Functions -- Variable Scope -- Refactoring the Code -- Further Improvements -- Summary -- Chapter 3: Pygame Zero -- Pygame Zero Development -- Compass Game -- Required Files -- Running Mu in Pygame Zero Mode -- Adding a Background Image -- Adding an Actor -- Moving the Sprite Around the Screen -- Making the Movements More Realistic -- Keeping Game State -- Detecting Collisions -- Change in Direction -- Keeping Score -- Adding a Countdown Timer Final Code for Compass Game Version 0.1 -- Summary -- Chapter 4: Game Design -- What Makes a Game Enjoyable? -- Challenging but Achievable -- Choices and Consequences -- Rewards and Progress -- Likeable Characters -- Storyline/Historical Relevance -- Educational -- Takes an Appropriate Level of Time to Play --Intro -- Table of Contents -- About the Author -- About the Technical Reviewer -- Acknowledgments -- Introduction -- Chapter 1: Creating Computer Games -- Inspiration Rather Than Imitation -- Playing Games -- Create the Resources -- Development Cycle -- Making Programming Enjoyable -- Python and Pygame Zero -- Compiled vs. Interpreted -- Choosing a Programming Environment -- Summary -- Chapter 2: Getting Started with Python -- Using the Mu Editor -- Python Programming -- Variables -- Strings and Format -- Lists -- Dictionaries -- Tuples -- Conditional Statements (if, elif, else) Simple Quiz Game -- Loops -- While, For -- While Loop -- For Loop -- Forever Loop -- while True -- Changing Loop Flow -- break and continue -- Functions -- Variable Scope -- Refactoring the Code -- Further Improvements -- Summary -- Chapter 3: Pygame Zero -- Pygame Zero Development -- Compass Game -- Required Files -- Running Mu in Pygame Zero Mode -- Adding a Background Image -- Adding an Actor -- Moving the Sprite Around the Screen -- Making the Movements More Realistic -- Keeping Game State -- Detecting Collisions -- Change in Direction -- Keeping Score -- Adding a Countdown Timer Final Code for Compass Game Version 0.1 -- Summary -- Chapter 4: Game Design -- What Makes a Game Enjoyable? -- Challenging but Achievable -- Choices and Consequences -- Rewards and Progress -- Likeable Characters -- Storyline/Historical Relevance -- Educational -- Takes an Appropriate Level of Time to Play -- Inclusivity -- Age Appropriate -- Improving Compass Game -- Updated Timer -- Adding Obstacles -- Adding a High Score -- Try and Except -- Summary -- Chapter 5: Graphic Design -- Creating a Theme -- File Formats -- Bitmap Images -- Vector Images -- Useful Tools -- LibreOffice Draw Inkscape -- GIMP -- Creating a Computer Image from a Drawing or Photo -- Creating a Pixel Art Sprite -- Blender -- Create Using Code -- Other Sources -- Summary -- Chapter 6: Colors -- Color Mixing -- Bouncing Ball -- Background Color Selector -- Handling Mouse Events -- Creating the Color Selector -- Summary -- Chapter 7: Tank Game Zero -- Vector Image of Tank -- Creating a Dynamic Landscape -- Calculating the Trajectory -- Detecting a Collision -- Complete Game Code -- Improving the Game -- Summary -- Chapter 8: Sound -- Recording Sound Effects -- Creating Artificial Sound Effects Recording Audio on the Raspberry Pi -- Connecting a USB Microphone -- Using arecord -- Audacity -- Recording Sounds with Audacity -- Convert Audio Formats -- Extract Audio from Video Files -- Trim Audio Files -- Creating Music with Sonic Pi -- Downloading Free Sounds and Music -- Adding Sound Effects in Pygame Zero -- Playing Music in Pygame Zero -- Piano Game Created with Tones -- Summary -- Chapter 9: Object-Oriented Programming -- What Is Object-Oriented Programming? -- OOP Classes and Objects -- Creating a Class, Attributes, and Methods -- Creating an Instance of a Class (Object) … (more)
- Publisher Details:
- Berkeley, CA : Apress L.P
- Publication Date:
- 2020
- Extent:
- 1 online resource (358 pages)
- Subjects:
- 794.8/1513
Computer games -- Programming
Python (Computer program language)
Raspberry Pi (Computer)
Computer games -- Programming
Python (Computer program language)
Raspberry Pi (Computer)
Electronic books - Languages:
- English
- ISBNs:
- 9781484256503
1484256506 - Related ISBNs:
- 9781484256497
1484256492 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.490487
- Ingest File:
- 03_051.xml