EffectDefinition
{
	EffectComponent ParticleEffect "flash"
	{
		RepeatTime		0
		ParticleLifespan	0.2
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"

		EmitterEvents
		{
			SpawnParticles
			{
				count=2
				duration=0
				orientation=[0, 360]
				rotationalspeed=[100, 150]
				delay=0
				speed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=0
			}

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.0,0.0)				
				age=1, scale=(2.1,2.8)				
			}
		}
	}
	

	EffectComponent ParticleEffect "sparks"
	{
		RepeatTime		0
		ParticleLifespan	[0.3, 0.6]
		BlendMode		add
		AnimSequence		"ember_sparkle"

		EmitterEvents
		{
			SpawnParticles
			{
				count=8
				duration=0
				orientation=[0, 360]
				delay=0
				speed=[150, 200]
				direction=[0,360]
				spawnOffsetAbsX=[-10, 10]
				spawnOffsetAbsY=[-10, 10]
			}

			SpawnParticles
			{
				count=8
				duration=0
				orientation=[0, 360]
				delay=0
				speed=[250, 300]
				direction=[260,280]
				spawnOffsetAbsX=[-10, 10]
				spawnOffsetAbsY=[-10, 10]
			}

			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,150)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255,255,255)
			}
			
			Alpha
			{
				age=0, alpha=255
				age=0.7, alpha=150
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)
				age=.2, scale=(0.6,0.4)
				age=.4, scale=(0.4,0.6)
				age=.6, scale=(0.5,0.3)
				age=.8, scale=(0.2,0.1)
				age=1, scale=(0.0,0.0)				
			}
		}
	}	
	
	
	
}