From 33bb4a91c1fb8643b7b2567a18e3942a3ed932a0 Mon Sep 17 00:00:00 2001 From: 5hif7y <44300833+5hif7y@users.noreply.github.com> Date: Sun, 15 Nov 2026 20:13:21 -0300 Subject: [PATCH] Keep docs/game/vfx.md and ui/styles.md within their line limits Reflows two paragraphs of vfx.md (82 -> 80 lines) and joins two states of the styles.md example on one line (121 -> 120). No text changes. Co-Authored-By: Claude Opus 5.5 --- docs/game/ui/styles.md | 3 +-- docs/game/vfx.md | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/game/ui/styles.md b/docs/game/ui/styles.md index c8dc7c52f..2f7ec0f4d 100644 --- a/docs/game/ui/styles.md +++ b/docs/game/ui/styles.md @@ -17,8 +17,7 @@ The template's `assets/menu/theme.ui` is the example of tokens and styles, and i "program_values": [0.32, 0, 0, 0], "transition": 0.08, "width": 360, "height": 56, "text_x": "center", "text_y": "center", "hover": {"fill": "accent"}, - "focus": {"extends": "hover", "move_x": 4}, - "pressed": {"scale": 0.97}, + "focus": {"extends": "hover", "move_x": 4}, "pressed": {"scale": 0.97}, "disabled": {"fill": "#ffffff0d", "color": "#ffffff59"}}, "dim": {"fill": "#0e0e10e6", "fill2": "#0e0e1040", "gradient": "right", "blur": 4} } diff --git a/docs/game/vfx.md b/docs/game/vfx.md index de9b58e59..8dc592a54 100644 --- a/docs/game/vfx.md +++ b/docs/game/vfx.md @@ -23,9 +23,8 @@ sends requests. Imports: `plugins:vfx/runtime` as `vfx`, ## One-shot effect The prefab is one entity with `Particle_Emitter{particle=id, active=true, destroy_when_done=true}` -and `loop` off; it deletes itself once its particles are dead. Spawn it as in -[spawn and forget](core/prefabs.md#spawn-and-forget), with `transient=true`, which keeps it out of -saves. +and `loop` off; it deletes itself once its particles are dead. Spawn it as in [spawn and +forget](core/prefabs.md#spawn-and-forget), with `transient=true`, which keeps it out of saves. ## Control an emitter @@ -74,8 +73,7 @@ first with `trigger` `Trail`, `sub_count` 1; a program may set `particle.ribbon` - Nothing draws unless `"vfx"` is in `plugins` of `project.mirai`. - A request for an entity without `Particle_Emitter` only reports `vfx.request` in - `engine.diagnostics`. An emitter that finds no room in the particle pool reports - `vfx.capacity`. + `engine.diagnostics`. An emitter that finds no room in the particle pool reports `vfx.capacity`. - `destroy_when_done` never fires with `loop` on, unless the emitter is stopped. - Particles that hold NaN or Inf report `vfx.nan` while `particle.instance.inspect` looks at their emitter, naming the fields of its program that hold them.