Python is a great programming language; however, most people spend too long trying to learn how to code and create games with Python the hard way. This book is the only one that will get you to learn Python fast without wasting so much time. This book is the second book in the series “Python Games from Zero to Proficiency” where you will learn to code fast and be able to create your own video games with Python in no time and add interesting game play including Artificial Intelligence for the NPCs.
What you will learn
- After completing this book, you will be able to:
- Be comfortable with Python.
- Use common structures to create programs in Python (e.g., loops, conditional statements, etc.).
- Know and master the features that you need to create 2D games (user interface, collision and keyboard detection).
- Create popular features found in pacman or shooter games.
- Create and instantiate classes using Python.
- Create and manage an inventory of weapons for the player character using classes and lists.
- Create and manage weapons and ammunitions that the player character can collect and use.
- Create Artificial Intelligence for NPCs so that they can see or hear the player.
- Make it possible for NPCsC to patrol, detect and follow the player
- Create a finite state machine to manage the behaviour of NPCs.
- Learn how to use the Pygame library.
Who this book is for
This book is for:
- Hobbyists who need a book that gets them started with Python and game development easily.
-Parents looking for a book that introduces their children to game programming painlessly.
-Teachers looking for a complete and clear resource on programming through the creation of games.
-Aspiring indie game developers.
How this book is different
This is the only book that you need to get started with Python and game programming fast and to enjoy the journey without frustration. This book includes six chapters that painlessly guide you through the necessary skills to master Python and Python games development, use its core features, and create interesting 2D games. It assumes no prior knowledge on your part and ensures that you have all the information and explanations that you need every step of the way.
What this book offers
This book includes all the features that you need to get started with Python and game development:
- Learn without the headaches: This book assumes that you can’t be expected to learn everything at once; this is why you will build all your skills incrementally.
- Make your dream of creating your own games come true: This book ensures that you stay motivated by giving you the right amount of information and challenge in each chapter; we all know that it’s hard to keep motivated when learning a new skill, so this book always contextualizes the knowledge with an example (so that you feel it’s relevant), and also makes sure that you get to challenge yourself, if you need to, with optional challenges present at the end of each chapter.
- Progress and feel confident in your skills: You will have the opportunity to learn and to use Python at your own pace and become comfortable with its core features. This is because every single new concept introduced will be explained in great detail so that you never feel lost. All the concepts are introduced progressively so that you don’t feel overwhelmed.
- Create your own games and feel awesome: With this book, you will build your own 2D games and you will spend more time creating than reading, to ensure that you can apply the concepts covered in each section. All chapters include step-by-step instructions with examples that you can use straight away.
If you want to get started with Python games today, then buy this book now
Patrick Felicia is the author of 4 best-selling books on games development and programming, including the series called "Unity from Zero to Proficiency".
Through his books, training videos, and conferences, he's helped thousands of people on their journey to creating their games and learning how to code in the process