itch.io is community of indie game creators and players

Devlogs

Quests!

Brown Bear's Big Adventure
A downloadable game

So the last sprint on BBBA has all been about Quests.

First, I added a QuestManager that allowed me to define the quests, trigger their activation and completion state and save the state of all the quests for the player. Quests can be activated or completed off the back of anything that can trigger an event or programmatically via any object that I'm running code in.

Once I'd done most of the quest manager, I added functionality to specify a 'focused' quest and have that appear in the top left corner of the in-game UI. If the player completes this quest, the UI will animate out and, if there are more active quests, the next one will be automatically selected and will animate in.

The next step was adding in the UI to allow the player to view the complete active quest list, read their descriptions and potentially change the focused quest in the in-game UI.

The last piece of the puzzle was to add a small notification whenever a new quest was activated so that you knew there was something new that had been added / activated.

One final thing I'd like to add (but haven't yet) is to adjust the quest list UI so that quests are marked as new until you have highlighted and read their description. But that will have to wait a bit.

Leave a comment