Book description
Learn and use Python and PyGame to design and build cool arcade games. In Program Arcade Games: With Python and PyGame, Fourth Edition, Dr. Paul Vincent Craven teaches you how to create fun and simple quiz games; integrate and start using graphics; animate graphics; integrate and use game controllers; add sound and bit-mapped graphics; and build grid-based games.
After reading and using this book, you'll be able to learn to program and build simple arcade game applications using one of today's most popular programming languages, Python. You can even deploy onto Steam and other Linux-based game systems as well as Android, one of today's most popular mobile and tablet platforms.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- Introduction
- Chapter 1: Before Getting Started…
- Chapter 2: Create a Custom Calculator
- Chapter 3: What Is a Computer Language?
- Chapter 4: Quiz Games and If Statements
- Chapter 5: Guessing Games with Random Numbers and Loops
-
Chapter 6: Introduction to Graphics
- Computer Coordinate Systems
- Pygame Library
- Colors
- Open a Window
- Interacting with the User
- Ending the Program
- Clearing the Screen
- Flipping the Screen
- Open a Blank Window
- Drawing Introduction
- Drawing Lines
- Drawing Lines with Loops and Offsets
- Drawing a Rectangle
- Drawing an Ellipse
- Drawing an Arc
- Drawing a Polygon
- Drawing Text
- Full Program Listing
- Review
- Chapter 7: Back to Looping
- Chapter 8: Introduction to Lists
- Chapter 9: Introduction to Animation
- Chapter 10: Functions
- Chapter 11: Controllers and Graphics
- Chapter 12: Bitmapped Graphics and Sound
- Chapter 13: Introduction to Classes
- Chapter 14: Introduction to Sprites
- Chapter 15: Libraries and Modules
- Chapter 16: Searching
- Chapter 17: Array-Backed Grids
- Chapter 18: Sorting
- Chapter 19: Exceptions
- Chapter 20: Recursion
- Chapter 21: Formatting
-
Chapter 22: Exercises
- Exercise 1: Custom Calculators
- Exercise 2: Create-a-Quiz
- Exercise 3: Camel
- Exercise 4: Create-a-Picture
- Exercise 5: Loopy Lab
- Exercise 6: Adventure!
- Exercise 7: Animation
- Exercise 8: Functions
- Exercise 9: User Control
- Exercise 10: Bitmapped Graphics and User Control
- Exercise 11: Classes and Graphics
- Exercise 12: Sprite Collecting
- Exercise 13: Sprite Moving
- Exercise 14: Spell Check
- Exercise 15: Final Exercise
- Index
Product information
- Title: Program Arcade Games: With Python and Pygame, Fourth Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Apress
- ISBN: 9781484217900
You might also like
book
Python, PyGame, and Raspberry Pi Game Development
Expand your basic knowledge of Python and use PyGame to create fast-paced video games with great …
book
Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python
Make fun games while learning to code. Focused on making games rather than teaching programming theory, …
book
Core HTML5 2D Game Programming
Game programming offers a wealth of creative and business opportunities, and it’s never been more accessible. …
video
Arduino for Beginners (Que Video)
These quick and simple video tutorials are the perfect way to break into the Arduino space. …