
EffectDefinition
{
	
	EffectComponent ParticleEffect "sparkles"
	{
		RepeatTime		.1
		ParticleLifespan	[0.3,0.6]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				orientation=[0,360]
				speed=0
				rotationalSpeed=[100,200]
				direction=[260, 280]
				spawnOffsetAbsX=[-60,60]
				spawnOffsetAbsY=[-35,35]
			}
			
			Dynamics
			{
				delay=0, absoluteAcceleration=(0,-100)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0				
				age=0.1, alpha=255
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)
				age=1, scale=(1.0,1.0)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			

		}
	}

	

	EffectComponent ParticleEffect "halo glow"
	{
		RepeatTime		1
		ParticleLifespan	1.3
		BlendMode		add
		Texture			"data/gfx/particles/blur_ring_32.png"
		FollowEmitter		true

		EmitterEvents
		{
			
			SpawnParticles
			{
				count=1
				duration=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=0
				spawnOffsetAbsY=-10
			}			


			Dynamics
			{
				delay=0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 200, 100)				
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=60				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(7.2, 6.2)
				age=0.5, scale=(7.5, 6.5)
				age=1, scale=(7.2, 6.2)
				
			}
			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
			
		}
	}

}