In this course, you will master essential object-oriented programming techniques using Godot 4, focusing on building resilient and scalable game systems. You will learn to implement design patterns that are widely used in the game development industry, ensuring your game systems are both adaptable and maintainable.
通过 Coursera Plus 提高技能,仅需 239 美元/年(原价 399 美元)。立即节省

推荐体验
推荐体验
中级
Ideal for game developers, designers, and technical artists with experience in Godot and GDScript, and a basic understanding of programming concepts.
推荐体验
推荐体验
中级
Ideal for game developers, designers, and technical artists with experience in Godot and GDScript, and a basic understanding of programming concepts.
您将学到什么
Create reusable and scalable code that follows SOLID principles
Apply industry-standard solutions to common game development issues
Turn feature requests into concrete solutions using design patterns
要了解的详细信息

添加到您的领英档案
February 2026
13 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有13个模块
In this section, we explore object-oriented design principles and their application in game development, focusing on structuring logic and creating scalable game systems using OOP patterns.
涵盖的内容
2个视频4篇阅读材料1个作业
2个视频•总计2分钟
- Course Overview•1分钟
- Understanding Object-Oriented Design - Overview Video•1分钟
4篇阅读材料•总计55分钟
- Introduction•10分钟
- Complying with the Principles of OOP•5分钟
- Designing Games with OOP•10分钟
- Turning Your Design into an Object in Godot Engine•30分钟
1个作业•总计10分钟
- Foundations of Object-Oriented Design•10分钟
In this section, we explore abstraction, encapsulation, inheritance, and polymorphism to design scalable OOP systems with controlled access and behavior extension.
涵盖的内容
1个视频4篇阅读材料1个作业
1个视频•总计1分钟
- Learning the Four Fundamental Pillars - Overview Video•1分钟
4篇阅读材料•总计60分钟
- Introduction•10分钟
- Scoping Properties and Methods with Encapsulation•10分钟
- Extending an Object's Behaviors with Inheritance•20分钟
- Maintaining Compatibility with Polymorphism•20分钟
1个作业•总计10分钟
- Foundations of Object-Oriented Design•10分钟
In this section, we explore the SOLID principles, focusing on SRP, OCP, and LSP, to enhance code maintainability, scalability, and adaptability in game development.
涵盖的内容
1个视频3篇阅读材料1个作业
1个视频•总计1分钟
- Creating SOLID Design Solutions - Overview Video•1分钟
3篇阅读材料•总计25分钟
- Introduction•10分钟
- Maintaining and Extending Objects with the OCP•5分钟
- Creating Components with the ISP•10分钟
1个作业•总计10分钟
- SOLID Design Principles Overview•10分钟
In this section, we explore composition over inheritance, emphasizing reusable components and modular architecture for flexible, maintainable software design in game development.
涵盖的内容
1个视频3篇阅读材料1个作业
1个视频•总计1分钟
- Favoring Composition Over Inheritance - Overview Video•1分钟
3篇阅读材料•总计35分钟
- Introduction•10分钟
- Creating Complex Scenes by Composing with Nodes•5分钟
- Turning a Behavior into a Component•20分钟
1个作业•总计10分钟
- Designing Flexible and Maintainable Systems•10分钟
In this section, we explore the Singleton pattern in Godot for maintaining global states, focusing on persistent data like scores and background music across scenes using Autoload nodes.
涵盖的内容
1个视频5篇阅读材料1个作业
1个视频•总计1分钟
- Maintaining Global States with the Singleton Pattern - Overview Video•1分钟
5篇阅读材料•总计90分钟
- Introduction•20分钟
- Using Third-Party APIs and Plugins•10分钟
- Creating the Score System•20分钟
- Removing the Diamond's Scoring Responsibility•20分钟
- Implementing the Multi-Door Teleporting System•20分钟
1个作业•总计10分钟
- Mastering the Singleton Pattern in Game Development•10分钟
In this section, we explore the Observer pattern to decouple objects in Godot, focusing on use cases and implementation with signals.
涵盖的内容
1个视频4篇阅读材料1个作业
1个视频•总计1分钟
- Decoupling Objects with the Observer Pattern - Overview Video•1分钟
4篇阅读材料•总计40分钟
- Introduction•10分钟
- Spotting Use Cases for the Observer Pattern•5分钟
- Implementing the Observer Pattern in Godot•5分钟
- Integrating the Player's Health Interface•20分钟
1个作业•总计10分钟
- Decoupling Objects with the Observer Pattern•10分钟
In this section, we cover the Factory pattern and Spawner class implementation in Godot for efficient game object spawning.
涵盖的内容
1个视频4篇阅读材料1个作业
1个视频•总计1分钟
- Spawning Game Objects with the Factory Pattern - Overview Video•1分钟
4篇阅读材料•总计65分钟
- Introduction•10分钟
- Implementing the Factory Pattern in Godot•5分钟
- Creating the Node2DFactory Class•20分钟
- Using Node2DFactory in Our Game•30分钟
1个作业•总计10分钟
- Mastering Object Creation with the Factory Pattern•10分钟
In this section, we explore the State pattern for dynamic object behavior and implement FSMs using Godot's AnimationTree for scalable game logic and state transitions.
涵盖的内容
1个视频11篇阅读材料1个作业
1个视频•总计1分钟
- Changing Object Behavior with the State Pattern - Overview Video•1分钟
11篇阅读材料•总计140分钟
- Introduction•5分钟
- Understanding the State Pattern•5分钟
- Spotting Use Cases of the State Pattern in Games•5分钟
- Implementing the State Pattern in Godot•5分钟
- Implementing an FSM with Animations•10分钟
- Creating Animation Transitions•10分钟
- Establishing Transition Conditions and Advance Expressions•10分钟
- Handling State-Specific Behaviors with the State Pattern•20分钟
- Extracting the Context Behaviors into States•30分钟
- Moving Around with the Run State•30分钟
- Killing Our Character with the Dead State•10分钟
1个作业•总计10分钟
- Mastering Dynamic Behavior with the State Pattern•10分钟
In this section, we explore the Command pattern for managing game actions, enabling complex actor behaviors and input mapping in Godot Engine with practical applications like undo/redo systems.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Designing Actors with the Command Pattern - Overview Video•1分钟
7篇阅读材料•总计125分钟
- Introduction•10分钟
- Spotting Use Cases for the Command Pattern•5分钟
- Implementing the Command Pattern in Godot•20分钟
- Creating the BumpingPig Commands•20分钟
- Implementing the Concrete Commands•30分钟
- Mapping the Commands to Buttons•10分钟
- Designing the Bumping Pig Brain•30分钟
1个作业•总计10分钟
- Designing Game Systems with Patterns•10分钟
In this section, we explore implementing the Strategy pattern for AI behavior, emphasizing decoupled algorithms and runtime adaptability in game development.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Implementing AI with the Strategy Pattern - Overview Video•1分钟
6篇阅读材料•总计80分钟
- Introduction•10分钟
- Spotting Use Cases for the Strategy Pattern•10分钟
- Implementing the Strategy Pattern in Godot•10分钟
- Creating the InteractionStrategy Family•20分钟
- Cleaning up the Brain Class with Strategy Executions•20分钟
- Implementing Interaction Strategies•10分钟
1个作业•总计10分钟
- Mastering the Strategy Pattern in Game AI•10分钟
In this section, we explore the Decorator pattern for dynamic behavior modification in game development, emphasizing composition over inheritance for flexible and maintainable code.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Creating a Power-Up System with the Decorator Pattern - Overview Video•1分钟
7篇阅读材料•总计105分钟
- Introduction•10分钟
- Spotting Use Cases for the Decorator Pattern•5分钟
- Implementing the Decorator Pattern in Godot Engine•10分钟
- Turning Properties into the Stats Class•20分钟
- Creating Our StatsDecorator Class•10分钟
- Wrapping Stats with the Power-Ups Singleton•30分钟
- Using Diamond Objects to Add Power-Ups•20分钟
1个作业•总计10分钟
- Power-Up System Design with the Decorator Pattern•10分钟
In this section, we explore the Service Locator pattern for managing game audio, focusing on cross-fading transitions and avoiding redundant code in real-world scenarios.
涵盖的内容
1个视频5篇阅读材料1个作业
1个视频•总计1分钟
- Cross-Fading Transitions with the Service Locator Pattern - Overview Video•1分钟
5篇阅读材料•总计60分钟
- Introduction•10分钟
- Spotting Use Cases for the Service Locator Pattern•5分钟
- Implementing the Service Locator Pattern in Godot Engine•5分钟
- Creating the Background Music Service Locator•20分钟
- Using the Background Music Service Locator•20分钟
1个作业•总计10分钟
- Service Locator and Audio Transition Techniques•10分钟
In this section, we explore the Event Queue pattern to implement input buffering, enhancing game feel through forgiving design and improving player engagement with flexible mechanics.
涵盖的内容
1个视频5篇阅读材料1个作业
1个视频•总计1分钟
- Improving Game Feel with the Event Queue Pattern - Overview Video•1分钟
5篇阅读材料•总计65分钟
- Introduction•20分钟
- Spotting Use Cases for the Event Queue Pattern•10分钟
- Implementing the Event Queue Pattern in Godot•5分钟
- Storing Input Events with an Input Buffer•20分钟
- Buffering and Processing Jumps•10分钟
1个作业•总计10分钟
- Mastering Game Input and Event Management•10分钟
位教师

提供方

提供方

Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
常见问题
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is currently available only to learners who have paid or received financial aid, when available.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
更多问题
提供助学金,

