Skip to content

feat: Implement Modular In-Game Debug Console / Terminal#8

Open
erickGtz wants to merge 11 commits into
UnityTechnologies:masterfrom
erickGtz:erick-dev-branch
Open

feat: Implement Modular In-Game Debug Console / Terminal#8
erickGtz wants to merge 11 commits into
UnityTechnologies:masterfrom
erickGtz:erick-dev-branch

Conversation

@erickGtz
Copy link
Copy Markdown

Description

This PR introduces a fully functional, scalable in-game developer terminal designed to speed up testing and debugging workflows directly within the game build.

Key Architecture & Features

  • Modular Design: Built around an ICommand interface. New commands can be added easily without touching the core TerminalManager logic (Open/Closed Principle).
  • Robust Command Suite:
    • spawn <id> <amount>: Instantiates units via mouse cursor raycasting.
    • kill <target>: Eliminates units with advanced filtering (all, enemies, selected, ID).
    • show <tool>: Visualizes the navmesh and color-coded hitboxes (green for allies, red for enemies) dynamically.
    • time & help: Utility commands for game speed and documentation.
  • Quality of Life (QoL) & UI:
    • Auto-complete command history using Up/Down arrow keys.
    • Dynamic, scrollable UI log with color-coded feedback (success/errors).
    • Safe argument parsing preventing trailing spaces or out-of-bounds exceptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant