EffectDefinition
{
	EffectComponent ParticleEffect "dust_clouds rising behind tablet"
	{
		RepeatTime		0.2
		ParticleLifespan	[2.4,2.9]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			// LEFT
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[40,-40]
				direction=[265,275]
				spawnOffsetAbsX=137
				spawnOffsetAbsY=507
			}

			// RIGHT
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[40,-40]
				direction=[265,275]
				spawnOffsetAbsX=668
				spawnOffsetAbsY=507
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-10)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(11, 23, 45)		
				age=0.3, rgb=(64, 168, 171)		
				age=1, rgb=(200, 210, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=130
				age=0.7, alpha=70
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)		
				age=0.7, scale=(2.5,2.5)		
				age=1.0, scale=(4.0,4.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}

	EffectComponent ParticleEffect "dust_clouds sparkles"
	{
		RepeatTime		0.2
		ParticleLifespan	[2.4,2.9]
		BlendMode		add
		AnimSequence		"sparkle_dust"
		FollowEmitter		true

		EmitterEvents
		{
			// LEFT
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[40,-40]
				direction=[265,275]
				spawnOffsetAbsX=137
				spawnOffsetAbsY=507
			}

			// RIGHT
			SpawnParticles
			{
				count=2
				duration=0
				delay=0
				orientation=[0,360]
				speed=[10, 20]
				rotationalSpeed=[40,-40]
				direction=[265,275]
				spawnOffsetAbsX=668
				spawnOffsetAbsY=507
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-10)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(11, 23, 45)		
				age=0.3, rgb=(64, 168, 171)		
				age=1, rgb=(200, 210, 255)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=30
				age=0.7, alpha=20
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(3.5,3.5)		
				age=0.7, scale=(9.5,9.5)		
				age=1.0, scale=(15.0,15.0)				
			}

			MoveWithEmitter
			{
				age=0, moveWithEmitter=1
			}
		}
	}
	
}