Audacious..Twitter Bootstrap in Virtual Reality
Tags: webdev, frontend, bootstrap
Published: 2020-01-04 11:33:12

The last 2 weeks have been spent working on a virtual reality project which helps a learner to grasp twitter bootstrap effectively.

I started out with Unreal Engine but the lack of documentation and tutorials made me switch to Unity3D. And since then I've been working with someone to shape this up!

## Goal:

1. To create an immersive experience, and highly interact-able course in virtual reality for learning twitter bootstrap, a front-end technology used to develop mobile/tablet/pc responsive webpages.

2. More specifically to make the learner understand how items are placed horizontally and vertically on the grid system in bootstrap

3. #### Experiential learning! 

Does this word exist as yet? Ideally I am aiming for the learner to  experience a virtual world to aid in their learning. In the game play there is a reason why you're stuck in a condo in  Toronto..staring at those boxy windows across you!


## Why?

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/bkkr6mnadj2nwxtio8m9.png)

Why? Just why would you do this? Well..while as an instructor for a coding bootcamp (Cultivating Coders!) that teaches kids, teenagers, young adults all the way up to people in their 50's, I noticed that:

According to my experience, when students are learning TWB they often have a conceptual disconnect as code is written line by line, like in a ruled notebook 🗒️ on the computer.

 For example if you  look at a standard webpage, elements such as images, text often appear side by side rather than one after the other. For example a web page may look like this on a laptop and mobile:

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/p6zy4n9hqs9ilbpu6bnc.jpg)



## Game play

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/9vdjn3o4fl5wcjtpaw5o.png)

You're stuck in your condo in Toronto. Deciding whether to give up on learning how to code and become an instagram influencer OR to continue.

And then suddenly you hear the phone *BEEP* and are prompted to reply. Who could it be?

It's you friend Kauress with a gig for you!

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/a9pivywzoike1lyoyomu.png)

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/3og99pz7ngpnrki2k7is.png)

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/a2deoo47amguews5ks5i.png)

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/waspx60bu9ux9r6jwynm.png)

##  Curriculum AKA Game levels

1. Introduction
2. Everything is a grid
3. It's all about containers
4. Put in a row
5. Column compromises
6. Client Zing

## Dev Inventory:

What's a game without some inventory? I'll write about these onces the graphics are done since it's just so much more exciting!

1. Dev Juice
2. Gridizer
3. Dev Money Cash
4. VR Clicks



## Kickstarter

I will most probably put this up on Kickstarter to raise funds for a 3D designer while I slog on the code:) Also to kind of get a bit of excitement about this! 

## So far

So far the level design is done for level 1. I might have a little more light in the condo itself and change the colors of the walls. The next step is to work on the game mechanics accordingly to the game play for level 1.

This involves making objects interactable, explanation animations and more.


## Dev

I'm making this with Unity3d which uses C#. Some assets have been designed and others are from the Unity asset store.

There is an issue of typing on a virtual keyboard. Since this is primarily an Oculus Quest experience and Oculus recently rolled out hand tracking, I will experiment with that. Else it will be drag and drop. This isn't as exciting as typing on your super virtual mechanical keyboard with artisan unicorn keys BUT it might be more stable for now.

## Disclaimer

I'm working on the CN tower in the background. And yes you can see stars up in the sky in Toronto since you're on the 114th floor!