Ellie Tale - WebXR Version | Try it out!
master | Travis CI Build Status |
---|
A gamified Virtual Reality theapeutic application, addresses attention skills on various levels. The gameplay consists of a visual target tracking exercise that is designed to address and measure the various variables of attention assessed by the Test of Variables of Attention (TOVA).
Uncle Noah is a nice old man, living by himself in the neighborhood. Since he’s living alone, he usually needs help in his everyday activites. He does fishing, farming, growing fruits, and writes books to earn a living.
Illy is a fairy living in the neighborhood. One evening, she saw Uncle Noah while he was working on his garden and she talked to him. When she got to know that he was living and working all by himself, she decided that she’d pass by every day to help him. Illy has invited the you to join her in helping Uncle Noah by unpacking his tools or collecting his objects.
The gameplay occurs in three unique environments. Each is composed of a round track on which the player shall reveal hidden items with the help of Illy that are then collected. Uncle Noah is always present in the environments on the side doing an idle animation, and the items that the player and Illy find are collected in a container that lies beside Uncle Noah. The three environments are:
- Garden; and the objective is to collect fruits and vegetables
- Beach; and the objective is to collect fish and fishing tools
- Library; and the objective is to collect letters
The player must reveal all objects in less than a specific time period (30, 60, and 90 seconds). Each box must be opened in less than a period of time (60 seconds).
The main objective is the same as Level 1. However, while collecting the objects with Illy, Noah will walk around on the same track as an animated distractor. The player must not be distracted by uncle Noah, and focus to continue revealing objects with Illy.
The main objective is the same as Level 2. However, after the player is done collecting the objects with Illy, Noah will ask the player to shake or point at an obstacle to reveal more objects. The player should follow Uncle Noah’s instructions.
To know more about the design of the gamified thepautic VR application, check our GDD (Game Design Document)
In each session, we need collect data to measure the progress of the player. More information about the collected information could be found here.
- A-Frame
- HTML, CSS, JavaScript
node v15.5.0 npm v7.3.0
- Clone the repository
git clone https://github.com/YahyaAlaaMassoud/Illy-Tale.git
- Go to the repo's directory
cd Illy-Tale
- Run
npm install
to install the required dependecies - Run
npm run dev
command to start the WebXR app in your local envirotnment - Go to the localhost URL specified in the terminal
- Congrats! You've got your local development environment ready!
docker v20.10.1
- Clone the repository
git clone https://github.com/YahyaAlaaMassoud/Illy-Tale.git
- Go to the repo's directory
cd Illy-Tale
- Run
docker pull yahyaalaa/illy-tale-webxr:tag
to pull the latet Docker image from our DockerHub public repository, where you will find our availabletags
- Run
docker run -d -p YOUR_PREFERRED_PORT:3000 --name illy-tale --mount type=bind,source="$(pwd)",target=/webxr-code yahyaalaa/illy-tale-webxr:tag
command to run the Docker image on your local machine, and at the same time mount the working directory, to apply changes to the image on the fly - Choose your preferred port in order to run the app on local host
- Go to the localhost:YOUR_PREFERRED_PORT to check your new code modifications
- Hooray! You've got your Docker image-based local development environment ready!
- Go to Glitch platform
- Create an account if you don't already have one
- On your dashboard, then click New project, then choose the Import from GitHub option
- Paste the repo's full url, then click Ok
- You're ready to go!
If you are going to be using a VR Headset, then we recommend trying the app (either the hosted version or on Glitch) on the Oculus Browser.
For local development and testing, modern browsers could be used, where mouse and keyboard interactions will be the main source of interaction with the VR environment.
-
Assets directory
- All GLTF models could be found in assets folder
-
index.html
- Contains three buttons each button redirect to one of our environments
-
index.js
- Here we define most of our variables used for statistics computation
-
html directory
- Contains environments' entities and components for Garden, Beach, and Library. Check here for more information.
-
js directory
- Contains all logic and based on AFrame and JS code. Check here for more information
First off, thanks for taking the time to contribute! You can check out our contribution guidelines from this link.