Game Development Patterns with Godot 4
Packt Publishing Limited (Verlag)
978-1-83588-028-9 (ISBN)
Key Features
Leverage Godot’s built-in features to implement design patterns
Explore object-oriented design from a unique perspective based on the philosophy of language
Learn SOLID principles with practical, intuitive implementation strategies
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionGame development demands more than just creativity; it requires code that’s as dynamic and adaptable as the games you dream of creating. Master the art of writing clean, robust game code by understanding object-oriented programming and leveraging proven design patterns tailored for game development using the Godot Engine. Henrique Campos, a seasoned game developer, educator, and creator of popular resources like The Essential Guide to Creating Multiplayer Games with Godot 4.0, blends industry expertise with practical teaching methods to ensure you gain both theoretical and hands-on expertise in crafting game code.
Starting with the fundamentals of object-oriented design, you’ll master SOLID principles. You’ll learn how to favor composition over inheritance—an essential approach for creating reusable code bases. Through a hands-on sample game project, you’ll implement a series of basic and advanced design patterns using
Godot Engine’s features and identify where, when, and why to implement each design pattern.
By the end of this game development book, you’ll not only understand the principles of object-oriented programming, but also be able to diagnose and fix pathologies in your code with ease.
What you will learn
Create reusable and scalable code with SOLID principles
Identify common game development issues and apply industry-standard solutions
Understand feature requests and turn them into concrete solutions leveraging design patterns
Analyze game development pathologies to figure out underlying issues
Architect reliable systems that are understandable, intuitive, and scalable
Structure professional, collaborative game systems that are easy to maintain
Who this book is forIf you are a game developer, game designer, technical artist, or solo developer with programming experience in Godot Engine and the GDScript programming language, this book is for you. Perfect for professionals looking to create solid, reusable, and reliable architecture that can adapt and grow with their creative vision.
Henrique “Pigdev” Campos is an indie game developer and game designer working in the industry for years. Started as a University teacher in 2015 in the Computer Graphics and Artificial Intelligence chairs and working in the GDQuest team from 2018 to 2022, Henrique is also an independent consultant for studios and schools. Under the alias of Pigdev, Henrique creates game development content on his YouTube channel making games, assets, ebooks, and courses that can be found in his itch.io profile. Being the author of The Essential Guide to Creating Multiplayer Games with Godot 4.0, Henrique paved the way for Godot users to make incredible shared online experiences while helping them discover the engine's bleeding edge features.
Table of Contents
Understanding Object-Oriented Design
Learning the Four Fundamental Pillars
Creating SOLID Design Solutions
Favoring Composition Over Inheritance
Maintaining Global States with the Singleton Pattern
Decoupling Objects with the Observer Pattern
Spawning Game Objects with the Factory Pattern
Changing Object Behavior with the State Pattern
Designing Actors with the Command Pattern
Implementing AI with the Strategy Pattern
Creating a Power-Up System with the Decorator Pattern
Cross-Fading Transitions with the Service Locator Pattern
Improving Game Feel with the Event Queue Pattern
Erscheinungsdatum | 22.08.2024 |
---|---|
Verlagsort | Birmingham |
Sprache | englisch |
Maße | 191 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Grafik / Design |
Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge | |
Informatik ► Software Entwicklung ► Spieleprogrammierung | |
ISBN-10 | 1-83588-028-2 / 1835880282 |
ISBN-13 | 978-1-83588-028-9 / 9781835880289 |
Zustand | Neuware |
Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich