Game vfx

From akillness/jeo-skills · View interactive version

Game vfx is an AI agent skill from the GitHub repository akillness/jeo-skills. Design, implement, budget, and verify readable real-time game visual effects: particles, smoke/fog, lightning, fire, trails, impacts, bloom/glow, and layered spell timelines. Use when a user needs a VFX spec, lifecycle, engine handoff, particle pooling, effect composition, reduce-motion fallback, or

How to use this skill

Skill file

Game VFX

When to use this skill

Use dalamud-vfx-editor for FFXIV/Dalamud asset editing, direct Three.js skills for renderer-specific GLSL/post-processing implementation, and engine-specific Unity/Godot skills when their APIs are the main problem.

Instructions

Step 1: Capture one effect packet

Record:

If the effect cannot state what the player should understand, do not start with particles.

Step 2: Select the narrowest effect family

Read references/effect-recipes.md before implementation.

Step 3: Write a machine-checkable spec

Start from references/vfx-spec.example.json, adapt it, then run:

bash

python3 .agent-skills/game-vfx/scripts/validate_vfx_spec.py path/to/vfx-spec.json

The validator checks phase/layer uniqueness, positive timing, finite budgets, particle and draw-call totals, blur limits, and reduced-motion coverage. Passing it is a design-contract check, not proof of runtime performance.

Step 4: Build by lifecycle, not by isolated emitters

Use explicit phases such as idle → charging → casting → impact → dissipating. Drive all layers from shared normalized phase time and deterministic event hooks. Pool mutable instances before gameplay; do not allocate per frame. Keep random seeds controllable for tests and captures.

Step 5: Establish hierarchy and readability

Give one layer primary visual weight and make supporting layers subordinate. Preserve gameplay silhouettes, telegraphs, hit zones, and UI readability. Use contrast, motion direction, timing, and scale before adding more particles. Sync the strongest visual beat with the gameplay event and audio transient.

Step 6: Apply platform budgets

Use project measurements as authority. As a conservative starting point from the inspected Apple-oriented upstream reference:

These are hypotheses to validate on the oldest supported target, not guaranteed engine-independent limits.

Step 7: Verify behavior and performance

Capture:

Do not claim 60 FPS from a static spec or desktop simulator alone.

Examples

Validate a fireball handoff

bash

cp .agent-skills/game-vfx/references/vfx-spec.example.json ./fireball-vfx.json

python3 .agent-skills/game-vfx/scripts/validate_vfx_spec.py ./fireball-vfx.json

Route an FFXIV AVFX request

Use dalamud-vfx-editor; this skill can still supply hierarchy, timing, and performance review, but it does not own the file-format workflow.

Best practices

  1. Design for player communication before spectacle.
  2. Use one shared lifecycle and deterministic event timing.
  3. Pool resources and profile on target hardware.
  4. Downsample expensive screen-space effects.
  5. Ship reduced-motion and quality-tier fallbacks with the effect.
  6. Treat numerical guidance as starting budgets that measured evidence may replace.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.