Hi! Had a question about spawnFxWithDefinition. For some reason, it seems to be ignoring the color information I pass to it, and is making everything white. I think I saw an earlier forum post where someone reported a similar issue, but I didn't see a response for it. Just as an example test, I copied this code from the API documentation page ( <a href="https://help.roll20.net/hc/en-us/articles/360037772833-API-Function-Documentation#API:FunctionDocumentation-spawnFxWithDefinition" rel="nofollow">https://help.roll20.net/hc/en-us/articles/360037772833-API-Function-Documentation#API:FunctionDocumentation-spawnFxWithDefinition</a> ), since it should represent a known good way to produce greenish particles on the page. (I know the effect types were updated some few months ago, so particle appearance and movement will differ from the current 'bubbling' effect; really concerned about that at the moment) function test() {
spawnFxWithDefinition(700, 1400, {
maxParticles: 200,
size: 15,
sizeRandom: 3,
lifeSpan: 20,
lifeSpanRandom: 5,
speed: 7,
speedRandom: 2,
gravity: { x: 0.01, y: 0.65 },
angle: 270,
angleRandom: 35,
emissionRate: 1,
startColour: [0, 35, 10, 1],
startColourRandom: [0, 10, 10, 0.25],
endColour: [0, 75, 30, 0],
endColourRandom: [0, 20, 20, 0]
});
} Instead, when I call this function, the particles are all white. Is there something else I'm missing? If not, is this a known issue?