Player Feedback
The radiation system interacts with the player in multiple ways, allowing for different senses to mix and making detection more engaging. Visually, they see the indicator dial moving, they feel the haptic feedback in their controller, and they hear the clicking scale with their respective radiation signal.
Geiger Counter System
Project Blue Book
Adaptability
When Creating Project Blue Book, I wanted a system to be able to lead players around towards different points of interest through a hot and cold system. This led to the Geiger counter.
However, the variety in sizes of levels meant that it had to be adaptable to different distances.
Radiation Source
This script can be placed onto any game object tagged as a radiation source. A few settings allow for adjustability in signal noise and base radiation.
Geiger Manager
This script runs as a singleton on the players Geiger counter. It automatically grabs all radiation sources at runtime and dynamically mixes between them depend on adjustable settings.
Camera and Photo System
Project Blue Book
Camera Script
The camera system allows players to photograph the world around them and writing information into the photos when relevant to be used as keys within the clipboard, progressing the story.
Rays are cast from the camera towards photographable game objects within the camera frustum. if they are unobstructed, they are sorted by distance and the closest is returned.
Async Tasks
By using Async tasks as opposed to the usual IEnumerator, each aspect of the camera animation will always play in sequence without writing over each other in the event of the player quickly picking up and dropping the camera.
Camera Animation
By lerping between positions instead of animating in another program like blender, I am able to adjust and customize and blend between the camera positions whenever and however I want.