Skip to content

Quick Start

Author an effect

  1. Install the required Unity packages listed in Dependencies.
  2. Open Tools > Pixel VFX Maker > Open Maker Window.
  3. Choose an effect in the left library. Click + to add a layer instead of replacing the selected layer. Built-in Moves presets open a layer combination.
  4. Adjust Transform, Timing, Color and Effect Settings. Select layers and edit their bars in the timeline. A diamond next to X, Y or Angle keys the value at the playhead. Animated fields edit that frame's key.
  5. Use Play, frame stepping, integer zoom, backgrounds and guides to inspect the result. Origin, Grid, Body and motion-path guides are preview overlays; they are not baked into the sheet.

Search ranks title starts, word starts, title contains, then effect-ID matches. Category names match from their beginning. The search field is also polled to keep IME/Escape edits synchronized.

My library and saved documents

The Editor uses a separate project-data root, Assets/Pixel VFX Maker User/:

  • Presets/: user layer-stack templates from Save as preset.
  • Documents/: default location for Save; new same-name documents receive a numeric suffix. My documents lists all .vfx.json files here, including subfolders. Search filters by document name. Click a row to open it, with the same Save/Discard/Cancel prompt as Open/recent files when edits are unsaved.
  • Recent files live outside Assets, in UserSettings/PixelVfxMaker/recent-files.json.

The Assets folders are created only when first saving or copying existing user data. External save/edit/delete/move operations are detected during normal Editor updates (metadata polling every half second, plus project-change notifications). Thumbnails reuse each document's first registered effect. A malformed document remains listed and reports its error when opened.

On first opening this version per project, old presets and recent entries are copied once from Application.persistentDataPath. No original is deleted or overwritten; existing project presets win conflicts. The status bar reports copied data. Recent entries still point to their original document paths; legacy documents are not moved automatically. A one-time marker is kept in UserSettings/PixelVfxMaker/library-migration-v1.json. Runtime hosts can keep persistent storage or inject another root. The project-data root is excluded from product packaging.

Export project assets

  1. Click Export in the Editor window.
  2. In the folder dialog, select an existing folder inside this project's Assets directory. External directories, junctions and linked folders are rejected. Cancelling does not write anything.
  3. Choose Include AnimationClip or Sheet and document only. Cancel stops the export.
  4. A new, uniquely named subfolder is selected in the Project window. Repeated exports create separate folders and preserve previous exports.

Generated files:

File Purpose
<name>.png RGBA sheet, Sprite/Multiple, Point, no texture compression or mipmaps, Clamp, full-rect slices, 32 PPU by default
<name>.sheet.json Core metadata: image name, ordered frames, fps, loop, origin, clips, layers and events
<name>.vfx.json Versioned editable source document; open it from the Maker's Open menu
<name>.asset VfxDocumentAsset for runtime CPU playback
<name>.anim Optional SpriteRenderer sprite animation, at document fps, with source loop setting
Silhouettes/*.png Portable copies of custom alpha masks, when present

The document asset embeds custom PNG masks as well. A built game can play that asset without access to the authoring computer's original mask files. The adjacent source JSON uses relative mask paths for editing; keep its Silhouettes folder with it. For custom-mask documents in a built Player, use the document asset or the exported sheet rather than loading the JSON without an input resolver.

Export does not save or alter the open document, its playhead, history or dirty state. Use Save separately to save the authoring document. The runtime UIDocument host retains file-based export; project AssetDatabase operations are Editor-only.

Add the result to a game

  • Procedural document: create a GameObject, add VfxPlayer (Pixel VFX / Document Player), assign the .asset, and enter Play Mode. A SpriteRenderer is created if needed.
  • Baked sheet: add VfxSheetPlayer, assign the .png and .sheet.json, and enter Play Mode. It uses metadata order and the authored origin.
  • AnimationClip: add a SpriteRenderer and an Animator to the same GameObject. Create an Animator Controller, drag the .anim into its state machine, and assign that controller to the Animator. The exported binding targets SpriteRenderer.m_Sprite on that GameObject.

Use a compatible unlit sprite material in your render pipeline. The default sample materials target URP 2D. Changing PPU changes world size; the Transform marks the authored origin.

Limits and shortcuts

Position keys and the layer timeline

Exports are limited to an 8192-pixel sheet side and 256 MiB of uncompressed RGBA data. Reduce duration/canvas size or choose different columns through the exporter API for larger effects. CPU sheet generation can take time for complex simulations; editing and runtime rendering use the same engine.

New or Ctrl+N starts from the selected visible library effect, user preset or Moves combination. If nothing is selected in the filtered list, it uses the selected layer's effect, then Campfire if no layer is selected. A preset starts from its saved template, with a fresh document ID and empty history.

Space plays/pauses; Left/Right steps; Home/End seeks; Ctrl+Z undoes; Ctrl+Shift+Z or Ctrl+Y redoes; Ctrl+S saves; Ctrl+D duplicates; Ctrl+O opens recent documents; Delete/Backspace deletes the selected key; Escape closes a menu or cancels a gesture. Text fields suppress these global shortcuts. Editor shortcuts apply only while the Maker window has focus.