Название: Make games with Python: Create your own entertainment with Raspberry Pi (Essentials) 2nd Edition Автор: Sean M. Tracey Издательство: Raspberry Pi Press Год: 2025 Страниц: 231 Язык: английский Формат: pdf, epub Размер: 10.1 MB
Learning to code your own shoot-'em-up game is infinitely more satisfying than beating any end-of-level boss. While millions of us enjoy nothing more than spending hours racking up high scores on our favourite video games, too few are exposed to an even more gratifying way to spend time — making them. Tested to run on the latest Raspberry Pi hardware and operating system, the games and instructions in this book work on Windows, macOS, or Linux. This book teaches Python and Pygame development, helping you to understand the games you play and create almost anything your imagination can come up with. As you work your way up to creating your own shoot-‘em-up game, you’ll learn how to:
Create shapes and paths Move sprites and detect collisions Handle keyboard, mouse, and gamepad input Add sound and music Simulate physics and forces
In this book, we are going to learn to make Python games with Pygame. Pygame is designed to make it easy to create games and interactive software. We’ll look at drawing, animation, keyboard and mouse controls, sound, and physics. Each chapter will add to our knowledge of Python game development, allowing us both to understand the games we play, and to create almost anything our imaginations can come up with. This book isn’t for absolute programming beginners, but it’s not far from it: we’re going to assume that you’ve written some simple Python (or similar) programs in the past and are able to create files and get around your computer’s file system without too much difficulty. If you've written programs in Python (or a similar programming language) and can perform basic administrative tasks — such as creating files and navigating your computer's file system — without too much difficulty, then you're ready to get started.
Скачать Make games with Python: Create your own entertainment with Raspberry Pi (Essentials) 2nd Edition
|