-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dandelion uses JSON to read custom particles. The only files that will be read are data/dandelion/particles.json and data/dandelion/emitters.json. Add to these to implement new particles.
Particles and emitters can be spawned by running dandelion.<particle_name>, where particle name is identical to the one you provide in JSON. Particle names are lowercase. Names will be converted to lowercase from JSON.
Caution
Writing invalid JSON will cause Usagi to crash on startup. Make sure your IDE supports JSON!
Important
Some fields can receive a chunk. When a chunk is provided, it must return the same type as the value it replaces. In all cases, fields that expect strings must be wrapped in single quotes. "color": "COLOR_GREEN" will cause an error. "color": "'COLOR_GREEN'" is valid.