The Choice
Play Test
GITHUB REPOSITORY
Note This project was created with Unity version 5.6.1f1
TeamMates
- Elena I. G. - No portfolio available
Controls
- WASD - Move
- Left Mouse(hold) - Interact
- Shift - Sprint
- Space Bar - Jump
The idea of this game is that the players attention can be directed and focused by the coloured areas of the level. The coloured areas of the level are made up of a radius and world position. There are three types of coloured areas: static, trackable, and walkable.
Every frame all three types of positions are combined into one array, along with an array for radii, and sent to the gpu where the frame is then drawn using this information.
The throbbing of the colour areas is a effect controlled in the shader and does not have any reference to world position or radius.
Static
Static position contain a world position and a radius that generally do not change, although both values can be edited at runtime.
Trackable
Trackable positions contain a handle to an object transform that passes its world position into the array every frame. The radius can be changed at runtime too.
Walkable
Similarly to static positions, the world position of this type doesn't change much, but can. The radius is changed depending on the distance to another object, in this case the player.