Sneaky Statue
Welcome to my MI445 Project 1!
How To Play:
You have wandered into an abandoned industrial company to find scraps to sell to pay for rent this month. Unknown to you, there are supernatural statues haunting this place that will try to catch and kill you. Stun them with your flashlight to prevent them from moving. Once you have gathered enough money, escape the way you came through to win. Good luck!.
Controls:
Left Click - Turn on/off flashlight
WASD - move
E - Pickup
Shift - sprint
Tab - Pause
Modifications:
!NOTE! WebGL build does not work with fog shader unfortunately, please look at windows version for the volumetric fog shader. MacOS version is included but untested
Unfortunately the volumetric fog shader does not function properly on WebGL builds so it was
Full-Screen Volumetric Fog Shader:
I implemented a custom HLSL ray marching shader that samples a 3D texture to calculate smoke density at each point. The shader supports both main and additional lighting, though some additional light fog effects are disabled due to performance impact. It was set up using a custom renderer feature to pass the necessary lighting information into the shader.
Stealing Mechanic:
Pickupable objects spawn at randomly selected points (with logic preventing overlap). They feature a glowing effect driven by a sine wave, achieved by using point lights and adjusting the emission properties of their materials across the map. This is handled by an algorithm that queries each object’s materials. Once the player collects enough money from these items, the exit unlocks.
Statue Mechanics:
The statue uses a navmesh to navigate the environment. It includes logic to detect if the flashlight is currently shining on it, which stops its movement. When the player is no longer visible, the statue has a chance to teleport to a clear area within an inner and outer radius of the player, creating more suspenseful gameplay. An area is clear if it is within the level bounds and is not inside of any other colliders.
Level Design:
I created an engaging, suspenseful environment using industrial set pieces from the Unity Asset Store. I added colliders and arranged them to create interesting sight lines and varied paths for both the player and the statue.
credits:
Environment-
https://godgoldfear.itch.io/psx-industrial-environment-asset-pack
Flashlight-
https://free3d.com/3d-model/simple-flashlight-70024.html?dd_referrer=https%3A%2F...
Neon Light-https://assetstore.unity.com/packages/2d/environments/neon-sprite-pack-131754
Tools-https://assetstore.unity.com/packages/3d/props/industrial/workplace-tools-86242
| Status | Prototype |
| Platforms | HTML5, Windows, macOS |
| Author | SovietSpy420 |
| Made with | Unity |
| Content | No generative AI was used |



Leave a comment
Log in with itch.io to leave a comment.