利用这个接口创建的粒子效果无法改变粒子的大小sgworld.Creator.CreatePosition;
利用创建标签文本的方式创建粒子效果来改变粒子的大小sgworld.Creator.CreateTextLabel;
下面的是 EffectsXML的参数;
$$PARTICLE$$UserDefine: <?xml version='1.0' encoding='UTF-8'?> <Particle ID='Custom'>;
<ParticleEmitter ID='ring' NumParticles='100' Texture='CampFire.png'>;
<Emitter Rate='23' Shape='Disc' SpeedShape='Cone' Scale='0,0,0' Speed='1,1,1' />;
<Cycle Value='1' />;
<Sort Value='1' />;
<Render Value='Billboard' />;
<Gravity Value='0, 1, 0' />;
<Force Value='0' OverrideRotation='0' />;
<Position Value='0, 0, 0' />;
<Life Value='0.76' />;
<Speed Value='0.39' />;
<Color Value='20,255,255,255' />;
<Size Value='0.9,0.9' />;
<Drag Value='5' />;
<Blend Type='' />;
<Fade FadeIn='0.4' FadeOut='0.28' MaxFade='0.37' />;
</ParticleEmitter>;
<ParticleEmitter ID='ring' NumParticles='154' Texture='CampFire.png'>;
<Emitter Rate='18' Shape='Cube' SpeedShape='Cube' Scale='0,0,0' Speed='1,1,1' />;
<Cycle Value='1' />;
<Sort Value='1' />;
<Render Value='Billboard' />;
<Gravity Value='0, 1, 0' />;
<Force Value='0' OverrideRotation='0' />;
<Position Value='0, 0, 0' />;
<Life Value='1.26' />;
<Speed Value='0.39' />;
<Color Value='20,255,255,255' />;
<Size Value='0.4,0.4' />;
<Drag Value='2' />;
<Blend Type='Add' />;
<Fade FadeIn='0.5' FadeOut='0.5' MaxFade='0.13' />;
</ParticleEmitter>;
<ParticleEmitter ID='ring' NumParticles='100' Texture='CampFire.png'>;
<Emitter Rate='18' Shape='Cube' SpeedShape='Cube' Scale='0,0,0' Speed='1,1,1' />;
<Cycle Value='1' />;
<Sort Value='1' />;
<Rotation Speed='3' Time='1' Initial='0' />;
<Render Value='Billboard' />;
<Gravity Value='0, 1, 0' />;
<Force Value='0' OverrideRotation='0' />;
<Position Value='0, 0, 0' />;
<Life Value='1.89' />;
<Speed Value='0.39' />;
<Color Value='20,255,255,255' />;
<Size Value='0.4,0.4' />;
<Drag Value='3' />;
<Blend Type='' />;
<Fade FadeIn='0.5' FadeOut='0.5' MaxFade='0.21' />;
</ParticleEmitter>;
</Particle>;