A Unity-based horror survival game built with C#, where you must navigate through a haunted garden, avoid patrolling NPCs, and find the exit.
-
Player Movement
- Supports both Old Input System and New Input System.
- Smooth controls and responsive navigation.
-
Lighting & Atmosphere
- Realistic lamp flicker using
Mathf.PerlinNoise+Mathf.Lerp. - Night mode implemented with Unityโs Post Processing Stack for a chilling environment.
- Realistic lamp flicker using
-
Game World
- Designed with prefabs for modular and reusable assets.
- NPCs that patrol the map and chase you if you get too close.
-
Gameplay
- Game Over and Game Won panels for a polished flow.
- Background music for immersive horror vibes.
- Explore the haunted garden.
- Avoid NPC patrols โ if they spot you, run!
- Survive the night to win.
- Get caught โ Game Over.
- Unity Engine (C#)
- Old & New Input Systems
- Post Processing Stack
- Mathf.PerlinNoise and Mathf.Lerp
- Prefabs & UI Panels
![]() |
![]() |
|---|---|
![]() |
![]() |
- Unity (version 6.2 or higher)
- .NET SDK (for C# scripts)
# Clone the repository
git clone https://github.com/blackPie8/ashray_ai_simulation.git
# Open in Unity Hub


