I’m trying to test out Sparticles but getting various errors in the supplied parser files, specifically these ones:
away3d.loaders.parsers.particleSubParsers.nodes.ParticleUVNodeSubParser
away3d.loaders.parsers.ParticleAnimationParser
Is sparticles no longer compatible with Away3D? Or are there new away3D parser files somewhere?
Any further information would be much appreciated!
Here are the errors:
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[33:47]:
Access of possibly undefined property UV_CYCLE through a reference with static type Class.
_cycleValue = new valueCls(ParticleUVNode.UV_CYCLE);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[47:48]:
Access of possibly undefined property UV_SCALE through a reference with static type Class.
_scaleValue = new valueCls(ParticleUVNode.UV_SCALE);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[69:130]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.GLOBAL, _cycleValue.setter.generateOneValue(), 1, _axis, _formula);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[71:166]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.GLOBAL, _cycleValue.setter.generateOneValue(), _scaleValue.setter.generateOneValue(), _axis, _formula);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[74:136]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC, _cycleValue.setter.generateOneValue(), 2, _axis, _formula);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[83:136]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC, _cycleValue.setter.generateOneValue(), 1, _axis, _formula);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[85:172]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC, _cycleValue.setter.generateOneValue(), _scaleValue.setter.generateOneValue(), _axis, _formula);
^
ERROR D:\Projects\Aquarium\workspace\Sparticle Implementation\src\away3d\loaders\parsers\particleSubParsers\nodes\ParticleUVNodeSubParser.as[88:136]:
Incorrect number of arguments. Expected no more than 4.
_particleAnimationNode = new ParticleUVNode(ParticlePropertiesMode.LOCAL_STATIC, _cycleValue.setter.generateOneValue(), 2, _axis, _formula);