New in WorkAdventure: Quests and Badges!
We are extremely proud to announce a new feature in WorkAdventure: a gamification system that will let your users participate in quests and win badges.
Want to see it in action? Take a look at our Badge & Quests Youtube tutorial.
Before quests and badges?
For the past 3 years, WorkAdventure has been used for a wide variety of purposes, ranging from online offices to internal / external events or even to promoting products! We tried very hard to make WorkAdventure as extensible as possible. One of the main ways you can customize WorkAdventure is by adding custom scripts in your maps using our "Scripting API". The scripting API has been used for a wide variety of tasks. For instance, we use it to manage doors (who can open and close them, etc...). A lot of users also used it to develop mini games. We have seen a great number of Easter egg hunt organized on WorkAdventure. We have also seen escape games, or even complete quests designed inside WorkAdventure.
In most of those mini-games, when the game is finished, a congratulation message is displayed and... that's it!
But a few users went further. When the quest was over, they sent a request to a third party server that would store the score of each player. They would even display a leader-board of all players. Setting up a leader-board is a long task. It requires setting up a server, a database, communicating with WorkAdventure via an API, etc... It is not extremely complex, but it takes a lot of time.
With the new quests and badges system, we want to make this waaaaay faster. Even better, we provide some "out of the box" quests to get started without typing a single line of code.
What does it look like?
For end users, a new "Quest" item will appear in the menu. Users will be able to see their achievements on this new page.
Each time a user earns a new badge, a popup will be displayed to congratulate the user.
Inside the admin dashboard, you can create quests and badges.
How does it work?
You can create quests from the admin dashboard.
On each quest, a player can gain points. Each quest comes with its own leader-board.
When a certain number of points have been won, a player will unlock badges.
For instance, in the "Marathon" quest, when you reach "42000 points", you unlock the "Marathon finisher" badge.
How points are awarded depends on the quest.
There are 2 types of quests:
preset quests: they have been developed by the WorkAdventure team and can be enabled on any world
custom quests: those are quests that you should develop using the Scripting API. As a developer, you simply have to call a method that will earn points to the current player.
Where is it available?
The quests and badge system is available to all users of the hosted version of WorkAdventure (whether they are free or premium users).
Quests and badges are not available in the self-hosted version. We made this decision for 2 reasons:
The self-hosted version is stateless. It does not come with a database of users. The quest system is essentially extra data added on top of a user list. This requires an "admin dashboard".
The quest system is an opinionated implementation of a gamification engine. On the WorkAdventure side, it has been 100% developed using the scripting API. Self-hosted users can develop their own quest system tailored to their needs, and directly connected to their own back-end.
How customizable is it?
As usual, we tried to make the quest and badge system as flexible as possible. You can design your own quests using the scripting API. You can access the data by API if you want to display the quests and badges using your own design.
But at the core, for each quest, a user has one score, and a set of badges. This design should be perfectly fine for 90% of our users.
If this is not what you are looking for, do not forget you can design you own gamification system with your own database and connect it to WorkAdventure (just like we did before!)
So what's next?
First, we are really looking for feedback.
If you have any comments, don't hesitate to share it with us on Discord!
Then, we will add more preset quests!
Then, if requested by our users (that's you!), we may add an API to grant badges from the outside of WorkAdventure.
Also, wining badges is great. Wining outfits is even better! We might link badges to Wokas in the future! Just imagine, you unlock the "Christmas quest" by finding all the presents on the map.... and suddenly, you can wear a Santa outfit. That would be nice, wouldn't it?