Focus! A VR Game About Writer’s Block (Unity C#)

The Idea

As a module for my studies, we were asked to create a serious VR experience based on something we have personal experience with. While I did make the argument during the module that ANY topic can be made serious if shown in a certain light (see the comparison between Plants Vs Zombies and The Last of Us for zombies) I eventually decided on using my experience writing in my own time to create a game about the struggles of writer’s block.

Development Process

The core gameplay idea was the player would be sat at a computer, and their objective would be to type up as much as possible until their ‘Focus’ bar ran out. While this bar normally drained slowly, it would drain much faster in the presence of certain ‘distractions’. These varied from your phone ringing flies in the room, or your character becoming too hot or too cold.

Coded function of useable PC and keyboard and tracked it to in-game UI for score count
Used shaders to create fly clouds, giving them spatial audio and creating ability to swat them with an item
Added distraction function of phone, making concentration bar decrease rapidly when active, and slowing it once the distraction was no longer present.

What I Took From It

For my first time coding,  modelling, and developing a VR experience from the ground up with no prior knowledge on how, this project turned out well. It taught me a lot of the fundamentals of designing for VR in Unity, with this being my first time coding systems in C#. It was thoroughly enjoyable to watch as my idea slowly got better and better.

Leave a Reply

Your email address will not be published. Required fields are marked *