We intended to connect people during this difficult time more than ever. What other game to connect people with other than a fun truth or dare game. We acknowledge there are quite a number of truth or dare games out there. But we have our own unique touch to the game. We bring the familiarity of an offline game such as a Jenga, Spin wheel , and a coin toss to an online experience.
What it does
Here is the basic flow of the effect:
- User finds a plane using the rear camera.
- User chooses which type of object to place.
- User taps screen to place the object.
- User taps on the object to get a truth or dare card.
- User is asked to find a face for the task.
- User can see task and record and send it to friends or save it.
- User can long press the screen to reset the effect and pick a new truth or dare.
We have 10 custom dares and 20 custom truths. Each dare is a filter in a filter. We intended to make performing dares as fun and simple as possible. Here are the dares:
- Sing a song. (Mic shows up)
- Do a fake cry. (Fake Tears)
- Pretend to be sick. (Sick Mask)
- Do your best impression of a baby. (Pacifier)
- Describe your crush. (Blush)
- Record a Hi with a person beside you. (BFF Glow effect)
- Speak about yourself in Third Person. (Mic shows up)
- Talk without your lips making contact. (Shows when user touches lips)
- Laugh out loud continuously for 30 seconds. (Spray of laugh emoji)
- Break an egg on your head. (Tap screen to break head on the head)
For the truth we used the audio analyzer which serves as a polygraph. Changes as the user speaks. This makes answering truths even more fun than before. Here are the Truths
- What do most people think about you is true but is not?
- What was the last thing you googled?
- If someone gave you a million dollars, what would you do with it?
- What is your favorite R rated movie?
- What would you do if you switched genders for a day?
- Describe your guilty pleasure.
- What is the stupidest thing you have ever done?
- What would be the theme song of your life?
- What have you seen that you wish you could unsee?
- Describe your favorite meme by facial expressions.
- If you could be a celebrity for a whole day, who would you be?
- What is your biggest regret?
- What was the most defining moment of your life?
- What was the highlight of your day/week?
- Describe your most drunk experience.
- What is one thing you are glad that your mum doesn’t know?
- What book/movie character has influenced you the most?
- What was your dream job growing up?
- Whose Instagram account would you want to manage for a day and what would you do if you managed it?
- What is your happiest memory?
We also introduced a scoring system to help people connect with each other more frequently. The more a user shares the effect, the higher the score the user gets. We have 3 categories of score. Gold, Silver, Bronze. Share more than 5 times - Silver. More than 15 times - Gold.
How we built it
We used Spark AR to come up with this effect. We used both, the patch editor and Scripting. The patch editor uses SDFs, audio patches,animations, instructions and much more. There are a total of about 100+ patches. For scripting, we used this to mainly design the logic of the randomiser. We designed the randomiser in such a way that the user will not get the same truth or dare in the same session of usage. To build the 3D models, we used Blender and to build the custom textures we used Photoshop and Adobe XD.
Challenges we ran into
There were a lot of challenges we ran into.
- Size of the assets. We designed specific assets which would occupy less amount of space. So designing each asset with that in mind was quite a constraint in our development process.
- Number of patches. As we kept implementing filter within a filter (Inception vibes much? :P) our patch editor kept growing to a staggering size. Organizing and managing the patches were a particular challenge which we solved by commenting appropriately and using a few blocks.
- Animating. We wanted the experience to feel familiar to the users. So we had to animate every Jenga block individually to achieve that.
- Patch-Script bridging. This always had to be organised with top priority because of our heavy reliance on their links.
Accomplishments that we're proud of
- Creating a good performance filter after integrating all this content in it.
- Keeping the size of the effect under 3 MB.
- Integrating filters upon filters.
- Organizing code and patches very well.
- Able to adapt to new technologies and implementing them.
- Performing seamless animation.
- Achieving what vision we set out to do.
What we learned
- It isn't easy optimising effects to keep it under 4MB.
- Learned about the audio analyser and patch- script bridging.
- Learned how team work can truly create something amazing.
- Learned how we can be a positive influence on our society.
- Learned 3D Modeling. And so much more.
What's next for Truth or Dare
This effect has a lot of potential to last a long time without people getting bored of it. We can update it with new dares and truths occasionally. We can add in more advanced features as they show up to make the effect upto date. Overall, it was a great experience building this effect. And we are proud of this.