stride3d / stride3d/stride

Re-purpose `DebugTextSystem` to be a general debug system.

Open
#28 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Graphics enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Hi,

I think the DebugTextSystem should be renamed to DebugSystem and a bunch more features be added. Such as:

  • DrawLine
  • DrawCube
  • DrawSphere
  • etc.

These methods should take size/position in world coordinates and a color. I am not sure if they should also have a duration and depthTest options like Unity does.

The ScriptComponent.DebugText property should also be renamed to Debug.

Cheers,
dfkeenan

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating DebugTextSystem, ScriptComponent.DebugText, and the existing debug drawing entry points. Review how current text debugging handles world coordinates and rendering, then clarify the API and behavior for line, cube, and sphere drawing, including whether duration and depth testing are required. Done means the system and property are renamed and the agreed drawing features work with position, size, and color inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.