Codex Bevy 0.19 Gizmos for Per-Frame 2D Lines
Draw temporary Bevy 0.19 debug shapes and choose between per-frame rendering and a retained asset.
中文Install in Codex
Open a Bevy 0.19 workspace in Codex with GizmoPlugin or DefaultPlugins registered.
- Review `.agents/skills/bevy-gizmos/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/bevy-gizmos/` in your project and save the reviewed file as `.agents/skills/bevy-gizmos/SKILL.md`.
- Start Codex from that project's root, then type `$bevy-gizmos` and select the matching skill.
Example task
Plan one temporary 2D line for the debug view.
{"start":[0,0],"end":[32,0],"mode":"temporary","schedule":"Update"}What to check
Use `line_2d` in `Update` from `(0,0)` to `(32,0)`. The temporary line disappears after frame-by-frame drawing stops.
Original SKILL.md on GitHub · Updated
Frequently asked question
What is suitable for many persistent static lines?
Put static geometry in a GizmoAsset and retain it through a Gizmo component when the project needs it.