Inspiration

The most useful assets I've used from the asset library are ones that bring a complete self-contained new function to my world. So I was keen for something that you could potentially drop in ANY world, and with a little configuration, it would add to the experience.

What it does

Upon entering the quiz booth, you will be shown a Quiz Screen, showing questions one at a time (sync'd for all players) Before the time is up, players choose an answer, and are told if they're right or wrong! Unique correct answers contribute to the leaderboard, which by default, is next to the Quiz Booth.

How we built it

Within the 3D mesh of the quiz booth, is a trigger gizmo. Once players enter the trigger, the visibility of the quiz screen is enabled for them.

If the QuizSystem is unparented from the trigger gizmo, then the QuizScreen will just always be active for everyone by default, and world creators can find other ways to control it.

Within the quiz screen, a random question from the Quiz Bank will displayed, a timer will count down, and then players will be told if they're correct or not.

The Quiz Bank is a large array at the top of the Quiz System script which world creators are encouraged to modify to fill with as many questions about their world, or topics of their choice.

Challenges we ran into

To avoid the leaderboard just counting duplicate answers, allowing people to climb forever, we use a bitmask system to record WHICH answers each player answers correctly. This means world creators need to be sure to only ever APPEND to the quiz bank, though old questions CAN be disabled to prevent them showing up.

What's next for Configurable Quiz Booth Asset

Currently the Quiz Bank is defined within the script itself, in order to keep the asset as simple and contained as possible. If people wanted MULTIPLE quiz booths, with different question banks in their world, we could look at pulling the questions out into a text/json asset.

Built With

Share this project:

Updates