Posted July 08, 2025 by Ludonauta
Today, we're diving deep into the QuestContainer class the core component that manages all quests in our game.
The QuestContainer is much more than just a simple quest manager. As a Singleton, it serves as the central hub where all components of our quest system communicate with each other. This design choice ensures that quest data remains consistent throughout the game and accessible from any part of our codebase.
Our QuestContainer implementation includes several essential methods:
We've also implemented a signal system with quest_added
to notify other components when new quests become available.
In our next chapter, we'll implement the QuestProgress class - a crucial component that will handle tracking and visualizing objectives for each quest. We'll also introduce the Navigation system to help players locate these objectives in the game world.
With the QuestContainer foundation in place, we're now ready to build more advanced features on top of it, creating a flexible and powerful quest system for our game.
Stay tuned for more updates as we continue to develop our quest system!
Henrique Campos