Game Design
The day environment is a combination of high-quality realistic assets to create a modern city, with roads, props, pavements, buildings, nice sky, cars, etc.
The player has to avoid the props (obstacles) that are generating randomly in random locations on the sidewalk.
DAY MODE
NIGHT MODE
The night mode has the same feature as the day mode, which still is in preparation.
trash items
Different plastic and non-plastic items collected and randomly generated on the specific locations on the sidewalk, that the player has to find and remove them.
instruction
An instruction window loads on the screen before playing the game
Parameter Setting
tablet
The game parameters are adjustable depends on the player. The therapist can control the parameters by a tablet.
unity editor window
If the tablet is not exist, the parameters can be controlled in the editor window of unity.
Game Features
gazing and
controllers
For safety, the player has to hold the railing on the treadmill so we attached the controllers to the treadmill. In this case for detecting and clearing trash items on the ground, both headset gaze detection and controllers buttons have been used. Whenever the player looks at a trash item a green halo appears around it and it gets disappear by clicking on it. The right controller is specified for selecting plastic items and left hand for non-plastic items. If the user clicks on the correct button, they get awarded.
collision
detection
The player might have a collision with any of the obstacles that exist on the sidewalk, so for making the game more realistic, the sound and haptic feedbacks are added to the game.
Two trackers are used on the feet to detect leg movement, while step over an object or moving to the sideways. They are shown by two blue capsules in the game, which will be replaced by the body in the future.
We also use the location of the headset for the detect collision between head and obstacles that requires bending over (like a tree branch).
Hardware and setups
treadmill
This picture shows the experiment setup, which includes (1) a clinical treadmill with (2) body weight support for safety of player, (3) HTC VIVE headset, (4) controllers that are attched to the railings, and (5) the tracker along with the haptic feedback setup.
4
2
3
5
1
haptic feedback
A NodeMCU 1.0 wifi microcontroller is used with a buzzer to vibrate whenever a collision occurred.