The idea for "Alert Zone" was born from the need for clear, customizable environmental cues in virtual worlds. I wanted to create a simple, reusable asset that could instantly communicate danger or a specific status to a user without relying on complex UI elements. The goal was to provide creators with an easy way to build immersive and responsive environments for experiences like games or interactive narratives.
What it does Alert Zone is a versatile, customizable asset that creates an interactive warning system. When a user enters the designated trigger zone, a visual and audio alert is triggered: the light color changes to red, and an alert sound plays. The asset is highly flexible, allowing creators to customize the default light color, the specific alert sound, and the scale of the trigger zone. It also includes an optional isRevertible feature. When this option is enabled, the light reverts to its default color (white) as soon as the user leaves the zone, providing clear and immediate feedback.
How I built it I designed the asset using a combination of visual components and scripting. The base model for the light and zone was created directly within the in-platform building tools. I used TypeScript to script the core logic for the trigger zone, including detecting when a user enters or exits the area. I implemented custom properties to expose the customization options for color, sound, and scale, and created a conditional script for the isRevertible function. The alert sound effect was either a pre-existing asset from the library or a custom one I generated to fit the tone of a warning.
Challenges I ran into The main challenge was ensuring that the alert would trigger and revert seamlessly, even with rapid user movement. I had to fine-tune the trigger zone's script to prevent it from flickering or getting stuck in an alert state. Another challenge was making the asset intuitive for other creators to use, which involved careful naming of the customizable variables and writing clean, commented code.
Accomplishments I'm proud of I am proud of creating a simple, yet powerful, tool that enhances interactivity and user feedback. The Alert Zone asset is a great example of a reusable building block that can be easily integrated into a wide range of projects, from escape rooms to training simulations, without requiring a lot of setup. The isRevertible feature, in particular, was a successful challenge that made the asset far more useful.
What I learned This project reinforced the importance of creating modular and well-documented assets. I learned how to design a tool with the end-user in mind, making sure that its customization options are clear and accessible. It also improved my skills in event-driven scripting, focusing on how a virtual object reacts to a user's presence and absence.
Built With
- horizon
- typescript



Log in or sign up for Devpost to join the conversation.