Tools¶
Snowpulse includes a particle editor under tools/particleeditor. It exports JSON files that can be loaded by the ParticleEffects component.
Snowpulse also includes an experimental UI editor under tools/uieditor for
inspecting and iterating on UIElement layouts.
Engine source checkout required
The editor executables on this page live in the Snowpulse engine
repository's top-level tools/ directory. They are not currently bundled
with the packaged SDK and are not part of normal client-game setup. Engine
contributors can build them from a full source checkout; games can still
load compatible particle JSON at runtime without including either editor.
Particle Editor¶
- Outputs JSON compatible with
ParticleEffects::effects(path) - Intended for fast iteration on emitter parameters
- Reference sprite overlay for scale/position checks
- Angle spread supports
0-360degrees
UI Editor¶
- ImGui-based inspector/preview for the UI system
- Built as the
uieditortarget - Under active development; save a copy of important layout data before using editor-generated output
Sample Usage¶
auto* node = scene()->createNode("effect_preview");
auto* fx = node->addComponent<snowpulse::ParticleEffects>();
fx->effects("effects/sample.json");
scene()->rootNode()->addChild(node);
fx->play(true);
# From the repository root
cmake -S . -B cmake-build-debug -DCMAKE_BUILD_TYPE=Debug
cmake --build cmake-build-debug --target particleeditor uieditor -j4
./cmake-build-debug/tools/particleeditor/particleeditor
./cmake-build-debug/tools/uieditor/uieditor
On Windows, append .exe. Multi-configuration generators also place the
binary under a configuration directory such as Debug.