Inventory Lite

Documentation


🌟 UPGRADE TO PRO! 🌟 

Need Tetris-style irregular item shapes, Mouse Drag & Drop, real-time food spoilage, and dynamic world containers? Take your game to the AAA level with the Inventory PRO!


Are you building a Retro Survival Horror or an RPG that requires strategic inventory management? InventoryLite provides a polished, professional foundation so you can stop coding matrices and start designing gameplay.

Unlike generic "Drag & Drop" assets, this system mimics the classic Cursor-Based interaction found in legendary console horror games (RE-Style). It is designed for keyboard and gamepad navigation, offering a nostalgic and tactile user experience.


KEY FEATURES:

  • Complete Save System: Don't waste weeks coding persistence. The asset saves item positions, rotations, stack amounts, and equipment slots using JSON & PlayerPrefs. It just works.
  • Smart Grid Logic: Automatic collision detection and boundary checks. Handles item rotation (90° steps) perfectly within the grid.
  • Stacking & Splitting: Intelligent combining of items (e.g., ammo). Automatically fills existing stacks before creating new slots.
  • Retro UX/UI: controlled via Keyboard (WASD) or D-Pad logic. Includes "Ghosting" visuals when moving items and "Shake" feedback when an action is invalid.
  • Equipment Slots: Built-in logic for Weapons and Armor.
  • Dual Containers: Includes a Main Inventory (Briefcase) and a secondary Storage (Stash/Box) with seamless tab switching.

CODE QUALITY:

  • Clean Architecture: Logic (Controller), Data (ScriptableObjects), and View (Visuals) are separated.
  • Plug & Play: Includes an ItemSpawner for easy debugging or loot generation.
  • Custom Inspector: Clean ScriptableObject workflow for creating new items in seconds.
  • Full Source Code: heavily commented and organized in Namespaces (AligathorProductions.InventoryLite).

PERFECT FOR:

  • Survival Horror Games (Classic Style).
  • Grid-based Puzzle Games.
  • Console/Gamepad-focused RPGs.

Note: This is a Cursor-Driven system (Keyboard/Controller), not a Mouse Drag & Drop system, ensuring the authentic retro feel.