Автор: Pol Camarillo, Thomas Carroll
Издательство: Independently published
Год: 2024
Страниц: 287
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
Game programming is very rewarding nowadays and it can also be used in advertising and as a teaching tool too. Game development includes mathematics, logic, physics, AI, and much more and it can be amazingly fun. In Python, game programming is done in Pygame and it is one of the best modules for doing so. Pygame is a free and open-source library for creating video games and other multimedia programs with Python. It supports graphics, sound, input, and game development features, and has many tutorials, documentation, and examples. You can code the games and then use specific commands to change it into an executable file that you can share with your friends to show them the work you have been doing. It includes computer graphics and sound libraries designed to be used with the Python programming language.
Python is a global programming language used by equally data engineers & data scientists, and it is also the most popular. Python is loved by all the Data Scientists I've talked to and many of my friends since it can automate all the mundane operational work that data engineers must perform.
Here what you'll learn after downloading this book:
- Introduction to Pygame
- Getting Started with Pygame
- Install Pygame
- Interesting Facts about Pygame
- PyGame – Import and Initialize
- Create an empty PyGame window
- Get the size of PyGame Window
- Allowing resizing window in PyGame
- Change screen background color in Pygame
- Set up the Game Loop in PygGame
- Change the PyGame icon
- Pygame – Surface
- Pygame – Time
- Pygame – Drawing Objects and Shapes
- Add Custom Events in Pygame
- Get keyboard input in PyGame
- Pygame – Working with Text
- Working with images
And more...
This Book Is Perfect For:
- Total beginners with zero programming experience
- Returning professionals who haven’t written code in years
- Seasoned professionals looking for a fast, simple, crash course in Python
Скачать Python Games Development using Pygame