EffectDefinition
{

	EffectComponent ParticleEffect "gem_sparkles"
	{
		RepeatTime		8.0
		ParticleLifespan	[8.0,8.0]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		false

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[47,47]
				spawnOffsetAbsY=[295,295]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[198,198]
				spawnOffsetAbsY=[208,208]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[597,597]
				spawnOffsetAbsY=[208,208]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[745,745]
				spawnOffsetAbsY=[296,296]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[745,745]
				spawnOffsetAbsY=[296,296]
			}

			
					
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0		
				//age=0.1, alpha=90	
				age=0.5, alpha=70	
				//age=0.8, alpha=60		
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.2,0.2)						
				age=0.5, scale=(0.7,5.7)	
				age=1.0, scale=(0.2,0.2)				
			}
		}
	}

	EffectComponent ParticleEffect "gem_sparkles"
	{
		RepeatTime		8.0
		ParticleLifespan	[8.0,8.0]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_01.png"
		FollowEmitter		false

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,0]
				speed=[0, 0]
				rotationalSpeed=0
				direction=[270,270]
				spawnOffsetAbsX=[400,400]
				spawnOffsetAbsY=[260,260]
			}			
					
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0		
				age=0.4, alpha=60	
				age=0.5, alpha=150	
				age=0.6, alpha=60		
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.4,0.4)						
				age=0.5, scale=(1.3,9.3)	
				age=1.0, scale=(0.4,0.4)				
			}
		}
	}

	EffectComponent ParticleEffect "inner flicker"
	{
		RepeatTime		6
		ParticleLifespan	5
		BlendMode		add
		Texture			"data/gfx/particles/blursquare_32.png"
		FollowEmitter		false

		EmitterEvents
		{
			// lower
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=382
				spawnOffsetAbsY=465
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=417
				spawnOffsetAbsY=465
			}

			// upper
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=382
				spawnOffsetAbsY=0
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=417
				spawnOffsetAbsY=0
			}
			
					
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-1)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(35, 150, 163)		
			}
			
			Alpha
			{
				age=0, alpha=0	
				age=0.5, alpha=70
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.1,6.4)						
				age=0.5, scale=(0.3,6.4)
				age=1.0, scale=(0.1,6.4)				
			}
		}
	}
	
}