EffectDefinition
{
	EffectComponent ParticleEffect "crusty_and_flying"
	{
		RepeatTime		0.4
		ParticleLifespan	[2.0,2.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/blurcircle_8.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[300, 400]
				rotationalSpeed=[30,50]
				direction=[-10,5]
				spawnOffsetAbsX=[-150,-200]
				spawnOffsetAbsY=[0,600]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-40)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(150, 120, 75)		
			}
			
			Alpha
			{
				age=0, alpha=100						
				age=0.4, alpha=80
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.7,0.6)		
				age=0.5, scale=(0.8,0.8)		
				age=1.0, scale=(0.6,0.7)				
			}

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

	EffectComponent ParticleEffect "dust_clouds_main"
	{
		RepeatTime		0.5
		ParticleLifespan	[2.8,3.4]
		BlendMode		alpha
		Texture			"data/gfx/particles/smoke_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0,360]
				speed=[200, 300]
				rotationalSpeed=[-30,-90]
				direction=[-10,5]
				spawnOffsetAbsX=[-150,-200]
				spawnOffsetAbsY=[300,530]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-30)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(180, 150, 95)		
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.05, alpha=40
				age=0.7, alpha=30
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(6.0,6.0)		
				age=0.5, scale=(6.5,7.5)		
				age=1.0, scale=(6.0,6.0)				
			}

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

	EffectComponent ParticleEffect "upper right sun"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=700
				spawnOffsetAbsY=-50
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=30				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(20.0,20.0)		
				age=0.5, scale=(25.0,25.0)		
				age=1.0, scale=(20.0,20.0)				
			}

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

	EffectComponent ParticleEffect "pillar rim shine"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=693
				spawnOffsetAbsY=100
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=50				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.6,20.0)		
				age=0.5, scale=(0.8,30.0)		
				age=1.0, scale=(0.6,20.0)				
			}

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

	EffectComponent ParticleEffect "lower left sun"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=150
				spawnOffsetAbsY=450
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 235, 200)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=30				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(20.0,20.0)		
				age=0.5, scale=(25.0,25.0)		
				age=1.0, scale=(20.0,20.0)				
			}

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

	EffectComponent ParticleEffect "little highlights"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		add
		Texture			"data/gfx/particles/blurcircle_01.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=43
				spawnOffsetAbsY=478
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=0
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=206
				spawnOffsetAbsY=542
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=40				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(0.5,0.5)		
				age=0.5, scale=(0.6,0.6)		
				age=1.0, scale=(0.5,0.5)				
			}

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

	EffectComponent ParticleEffect "light_beams"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		alpha
		Texture			"data/gfx/particles/blur_line_64.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=110
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=700
				spawnOffsetAbsY=300
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=110
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=450
				spawnOffsetAbsY=300
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=110
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=200
				spawnOffsetAbsY=300
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=65				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(30.5, 7.0)				
				age=0.5, scale=(30.5, 9.0)
				age=1, scale=(30.5, 7.0)
			}

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

	EffectComponent ParticleEffect "light_beams_big"
	{
		RepeatTime		10
		ParticleLifespan	10.5
		BlendMode		alpha
		Texture			"data/gfx/particles/blur_line_64.png"
		FollowEmitter		true

		EmitterEvents
		{
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=110
				speed=0
				rotationalSpeed=0
				direction=0
				spawnOffsetAbsX=300
				spawnOffsetAbsY=300
			}
			
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,0)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.5, alpha=50				
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(30.5, 15.0)				
				age=0.5, scale=(30.5, 20.0)
				age=1, scale=(30.5, 15.0)
			}

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

	EffectComponent ParticleEffect "the tiniest of sparkles en mass to obliterate humanity"
	{
		RepeatTime		0.15
		ParticleLifespan	[0.4, 0.6]
		BlendMode		add
		Texture			"data/gfx/particles/sparkle/star_8"
		FollowEmitter		true

		EmitterEvents
		{

			/////// BALLS

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[328, 465]
				spawnOffsetAbsY=[471, 532]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[493, 670]
				spawnOffsetAbsY=[464, 530]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[502, 626]
				spawnOffsetAbsY=[394, 456]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[528, 627]
				spawnOffsetAbsY=[309, 366]
			}

			/////// POWERUPS
			
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[265, 335]
				spawnOffsetAbsY=[180, 230]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[44, 114]
				spawnOffsetAbsY=[264, 314]
			}
			
			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[37, 107]
				spawnOffsetAbsY=[169, 229]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[265, 335]
				spawnOffsetAbsY=[180, 230]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[159, 229]
				spawnOffsetAbsY=[78, 128]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[154, 224]
				spawnOffsetAbsY=[175, 225]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[89, 159]
				spawnOffsetAbsY=[361, 421]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[160, 230]
				spawnOffsetAbsY=[268, 318]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[42, 112]
				spawnOffsetAbsY=[66, 116]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[260, 330]
				spawnOffsetAbsY=[98, 148]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[266, 336]
				spawnOffsetAbsY=[262, 312]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[219, 289]
				spawnOffsetAbsY=[351, 401]
			}

			////// SHOOTERS

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[444, 552]
				spawnOffsetAbsY=[112, 160]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[424, 550]
				spawnOffsetAbsY=[194, 259]
			}

			SpawnParticles
			{
				count=1
				duration=0
				delay=0
				orientation=[0, 360]
				speed=0
				rotationalSpeed=[120, 180]
				direction=0
				spawnOffsetAbsX=[438, 531]
				spawnOffsetAbsY=[300, 344]
			}
			
			Dynamics
			{
				delay=0.0, absoluteAcceleration=(0,-10)
			}
			
		}
		
		ParticleEvents
		{
			RGB
			{
				age=0, rgb=(255, 255, 255)
			}
			
			Alpha
			{
				age=0, alpha=0
				age=0.3, alpha=50				
				age=0.7, alpha=50
				age=1, alpha=0
				
			}
			
			Scale
			{
				age=0, scale=(1, 1)
				age=0.5, scale=(1.2, 1.2)
				age=1, scale=(1, 1)
			}

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

	
	
}