Scary Tales is a feature-rich first-person horror game template designed for deep storytelling and atmospheric gameplay. The initial chapter plunges players into a haunted hospital where they must rescue their wife from deadly spirits. Gameplay is driven by a sophisticated objective system: search 20 doors for 25 hidden keys, unlock golden and diamond boxes, and crack 3-digit codes—all while surviving a strict 5-day in-game limit.
This project offers a complete combat and survival framework, including a wide variety of weapons like the AKM, sniper rifle, and shotgun. Enemies utilize Unity’s NavMesh system for realistic tracking, creating a tense, high-stakes environment. Optimized for Unity 2019.4.17f1 or higher, the template includes mobile-ready inputs, a collectable inventory system, and pre-integrated monetization via AdMob and In-App Purchases, making it a "ready-to-publish" solution for developers.
Core Technical Features:
Advanced AI Tracking: Ghosts utilize
NavMeshAgentfor intelligent player hunting.
Complex Puzzle Logic: Tiered key-to-box progression and code-based locks.
Full Combat Arsenal: Includes AKM, pistols, grenades, and melee crowbars.
Survival Mechanics: 5-day time limit and health-based inventory pickups.
Monetization Ready: Fully integrated AdMob and IAP systems.
Unity Implementation: Enemy Tracking
The AI in Scary Tales uses a robust tracking script to ensure the ghosts provide a constant threat to the player. Here is how the NavMesh logic is handled naturally in C#: