Bag om Code the Classics Volume 2
Code the Classics Volume 2 not only tells the stories of some of the seminal video games of the 1980s, but shows you how to create your own games inspired by them, following examples programmed by Raspberry Pi founder Eben Upton. In this book, you'll learn how to run and edit the games in this book by installing Python, Pygame Zero, and an IDE. You'll also:
Get game design tips and tricks from the masters. Understand the fundamental tasks needed for every game: display images, play sound effects and receive inputs from the keyboard or a game controller. Learn how to code your own games with Pygame Zero, a library that helps automate those tasks. Explore the code listings and find out how they work. You'll meet these vintage-inspired games, and learn from their code in between rounds of play:
Avenger: fly across a scrolling landscape while you save humans from malevolent aliens. Beat Streets: fight your way through a level, and defeat a notorious crime boss. Eggy: collect gems and survive as long as possible before time runs out. Leading Edge: Race a car on a pseudo-3d race track. Kinetix: Break bricks with your paddle, and use powerups to avoid various menaces.
Vis mere