Skip to content

miventech/Detective-96-Unity-Game-2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Detective 96 Unity C# License

๐Ÿ” Detective 96 - Unity 2D Game

๐Ÿ  La Casa Glans

A 2D detective mystery game developed in 7 days for a Game Jam

Play on Itch.io

๐Ÿ“ Report Bug โ€ข โœจ Request Feature โ€ข ๐ŸŽฎ More Games


๐Ÿ“– About The Project

Detective 96: La Casa Glans is a 2D detective mystery game where players investigate crime scenes, collect evidence, interrogate suspects, and solve cases. Developed during a 7-day Game Jam with a focus on atmospheric storytelling and investigation mechanics.

๐ŸŽฏ Play the full game here: https://miventech.itch.io/la-casa-glans

๐ŸŽฎ Gameplay Features

  • ๐Ÿ” Evidence Collection System - Search crime scenes for clues using a detection radius
  • ๐Ÿ’ฌ Interactive Dialogue System - Question suspects and witnesses with typewriter-style text
  • ๐Ÿ“‹ Character Profile Database - Track suspects with detailed profiles (name, age, profession, relationships)
  • ๐Ÿšช Scene Teleportation - Move between different investigation areas
  • ๐Ÿ’ก Dynamic 2D Lighting - Atmospheric lighting system for immersive environments
  • ๐ŸŽต Sound Effects Manager - Professional audio feedback for all interactions

๐Ÿ•น๏ธ Controls

Key Action
A/D or โ†/โ†’ Move Left/Right
E Interact / Advance Dialogue
Space Skip Dialogue Text
Mouse Click Alternative Interact

๐ŸŽฏ Game Jam Context

๐Ÿ“… Duration ๐ŸŽจ Theme ๐ŸŽฏ Focus
7 Days Detective/Mystery Investigation Narrative & Atmosphere

This project was developed for a Game Jam with the following constraints:

  • โฑ๏ธ Time Limit: 7 days (168 hours)
  • ๐ŸŽจ Theme: Mystery & Investigation
  • ๐ŸŽฏ Goal: Create an immersive detective experience
  • ๐Ÿ† Result: Fully playable game with multiple systems

๐ŸŽฎ Play the Complete Game

๐Ÿ‘‰ The full game "La Casa Glans" is available to play for FREE on Itch.io:

Play Now Button

Itch.io WebGL Free

*No download required - Play directly in your browser! *


๐Ÿ› ๏ธ Built With

Core Technologies

  • Unity 2022+ - Game Engine
  • C# - Programming Language
  • Smart Lighting 2D (FunkyCode) - Lighting System
  • TextMesh Pro - UI Text Rendering

Custom Systems

๐Ÿ“ Assets/
โ”œโ”€โ”€ ๐ŸŽฎ Detective/Scripts/          # Core gameplay scripts
โ”‚   โ”œโ”€โ”€ PlayerWalk.cs             # Player movement controller
โ”‚   โ”œโ”€โ”€ InteractionPlayer.cs      # Interaction handler
โ”‚   โ””โ”€โ”€ PlaySoundWalk.cs          # Footstep audio
โ”‚
โ”œโ”€โ”€ ๐Ÿ’ฌ Libs/DialogSystem/          # Dialogue management
โ”‚   โ”œโ”€โ”€ ManagerDialog.cs          # Dialogue controller
โ”‚   โ”œโ”€โ”€ Dialog.cs                 # Dialogue data structure
โ”‚   โ”œโ”€โ”€ InteractiveDialog.cs      # Trigger-based dialogues
โ”‚   โ””โ”€โ”€ TriggerDialog.cs          # Auto-play dialogues
โ”‚
โ”œโ”€โ”€ ๐Ÿ” Libs/SistemaDeEvidencia/    # Evidence system
โ”‚   โ”œโ”€โ”€ Evidencia.cs              # Evidence data structure
โ”‚   โ”œโ”€โ”€ BuscadorEvidencia.cs      # Evidence detection
โ”‚   โ””โ”€โ”€ EvidenciaHidden. cs        # Hidden evidence objects
โ”‚
โ”œโ”€โ”€ ๐Ÿ‘ค Libs/PerfilesDePersonas/    # Character profiling
โ”‚   โ”œโ”€โ”€ perfil.cs                 # Profile data structure
โ”‚   โ””โ”€โ”€ PerfilUI.cs               # Profile UI controller
โ”‚
โ”œโ”€โ”€ ๐ŸŽต Libs/SFXManager/            # Audio management
โ”‚   โ””โ”€โ”€ SFXManager.cs             # Sound effects controller
โ”‚
โ””โ”€โ”€ ๐Ÿšช Libs/TeleportSystem/        # Scene transitions
    โ””โ”€โ”€ TeleportSystem.cs         # Teleportation handler

โœจ Key Systems Breakdown

๐Ÿ” Evidence System

// Players can search for hidden evidence within a detection radius
- Radius-based detection (adjustable)
- Limited usage system (5 searches by default)
- Visual feedback (lighting effect)
- Audio confirmation (success/error sounds)

๐Ÿ’ฌ Dialogue System

// Professional typewriter-style dialogue system
- Character avatars and names
- Animated text rendering
- Multiple dialogue branches
- Skip functionality
- Audio feedback per character

๐Ÿ“‹ Character Profiles

// Detailed suspect/witness profiles
- Name, Surname, Age
- Profession & Relationship
- Physical Description
- Investigation Notes
- Profile Photo + Extras

๐ŸŽจ Screenshots

Note: Check out the game on Itch.io to see screenshots and gameplay videos!

View Screenshots on Itch.io โ†’


๐Ÿš€ Getting Started

For Players

**๐ŸŽฎ Just want to play? **
๐Ÿ‘‰ Click here to play La Casa Glans on Itch.io - No installation needed!

For Developers

Prerequisites

  • Unity 2022.3 LTS or newer
  • Git

Installation

  1. Clone the repository
git clone https://github.com/miventech/Detective-96-Unity-Game-2D.git
  1. Open the project in Unity Hub
Unity Hub โ†’ Add โ†’ Select the cloned folder
  1. Open the main scene
Assets/Scenes/MainScene.unity
  1. Press Play to start testing

๐Ÿ”ง Architecture Highlights

Modular Systems

Each system is designed to be reusable and independent:

  • โœ… Plug-and-play dialogue system
  • โœ… Configurable evidence detection
  • โœ… ScriptableObject-based data structures
  • โœ… Singleton managers for easy access
  • โœ… Event-driven interaction system

Performance Optimizations

  • Object pooling for audio sources
  • Efficient collision detection
  • Optimized lighting passes
  • Minimal garbage collection

๐Ÿ“ฆ Asset Credits

  • Smart Lighting 2D by FunkyCode
  • TextMesh Pro by Unity Technologies
  • Sound effects and music created/sourced during the jam

๐Ÿค Contributing

Contributions are welcome! If you have suggestions or improvements:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“œ License

Distributed under the MIT License. See LICENSE for more information.


๐Ÿ‘จโ€๐Ÿ’ป Author

Miventech

GitHub LinkedIn YouTube Itch.io TikTok


๐Ÿ™ Acknowledgments

  • Game Jam organizers and participants
  • FunkyCode for Smart Lighting 2D
  • Unity community for tutorials and support
  • All playtesters and feedback providers
  • Coffee โ˜• for keeping me awake during the 7-day sprint

**โญ If you liked this project, please give it a star! **

GitHub Stars GitHub Forks

๐ŸŽฎ Don't forget to try the game!

Play Now


๐Ÿ—บ๏ธ Roadmap

  • Core detective mechanics (Completed in 7 days!)
  • Dialogue system
  • Evidence collection
  • Character profiles
  • Add more investigation scenes
  • Implement inventory system
  • Add multiple cases/levels
  • Create evidence combination mechanics
  • Add ending variations based on player choices
  • Mobile port

๐Ÿ“ธ Development Timeline (7 Days)

Click to see the development breakdown

๐Ÿ“… Day 1-2: Foundation

  • โœ… Player movement and controls
  • โœ… Basic interaction system
  • โœ… Scene structure

๐Ÿ“… Day 3-4: Core Systems

  • โœ… Dialogue system implementation
  • โœ… Evidence detection mechanics
  • โœ… Character profile system
  • โœ… Teleportation system

๐Ÿ“… Day 5-6: Content & Polish

  • โœ… 2D lighting integration
  • โœ… Sound effects implementation
  • โœ… Scene transitions
  • โœ… UI polish

๐Ÿ“… Day 7: Final Push

  • โœ… Bug fixes
  • โœ… Playtesting
  • โœ… Build and upload to Itch.io
  • โœ… Documentation

๐ŸŽฌ Videos & Media

๐Ÿ“บ Watch Gameplay & Development

YouTube TikTok

Follow for devlogs, tutorials, and behind-the-scenes content!


๐Ÿ’ฌ Community & Support

Have questions or want to discuss the game?


Made with โค๏ธ and โ˜• in 7 days by Miventech

Made with Unity Made with C# Game Jam

๐ŸŽฎ Play La Casa Glans Now!

Play Button

About

๐Ÿ” Detective 96 - A 2D mystery investigation game built with Unity. Search for evidence, interrogate suspects, and solve the case! Features custom dialogue system, evidence collection, character profiling, and atmospheric 2D lighting. Game Jam project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors