@v12-engine/client/debug ā
Interfaces ā
| Name | What |
|---|---|
| LogConsoleProps beta | What the log console is given: the ring it shows, what a line leads to, the levels shown |
| PerfListProps beta | What the performance list is given: a sample of the frame, and what the simulation and the computer players cost |
Functions ā
| Name | What |
|---|---|
| AiTab beta | The AI tab: the report of the computer that plays the inspected player |
| ConsoleWindow beta | What the client and the game played said (S24), beside the event log: the same console as the editor's, over the client's own (client.logs). A line about an entity opens it in the inspector; a place in a stack opens the code, while a dev server serves the page |
| DebugPanel beta | The debug panel, where the player may use the debug tools (client.debugTools.allowed): the game's speed, the switches and numbers of the tools, the windows (Entities, Inspect, Events, Console), the spawn tool, the buttons of the scene's own and the tick, a section each (DEBUG_PANEL_SECTIONS). Up while client.hud.showDebug says (its button on the top bar, Alt+Shift+D). What the game leaves out of it is its view's say: a section by its name (GameView.hud.debug.hide), one switch, number, choice or button by its id (GameView.hud.debug.hideItems) |
| Entities beta | Everything in the world, out of sight, hidden and scenery too: the world, each player, and what they have by type. The world has no tree of entities of its own: this is the one it is shown as. A click opens it in the inspector |
| EventLog beta | The events and hooks of the last seconds as they happen, the game's own among them, with the listeners and handlers that ran on them. Filtered by words, and by what they are |
| Inspector beta | An entity, a player or the world as the rules have it: numbers, stats, orders, buffs, the game's own state and the timers about it, updated live. A number of what it keeps can be changed in place, and what it has to do with is a link. It follows the selection, until something is opened in it from elsewhere (pinned) |
| LogConsole beta | A console of the log (S24): the last entries kept, newest at the bottom, lines said again and again folded into one with a count; shown or hidden by level, by the part that said them, by words. A line picked is shown whole under the list, an error with its stack, each place of it a link to the code. Only the lines in view are drawn |
| PerfList beta | How the frame is spent, what is drawn and what memory is used, from a PerfSample: the game's stats window and the editor's Metrics panel |
| StatsWindow beta | The window of the stats (the HUD's š, in its popover): how the frame is spent, what is drawn and what memory is used, measured while it is open, and the renderer's switch, which starts the game over (restart) |