{
	"label": "Fire",
	"author": "Jonas Foerster",
	"scale" : 195,
	"stateDuration" : [["DIE",2]];
	"graphicElements": [
		{
			"id" : "ParticleEmitter",
			"states" : ["DIE"],
			"emittingFrequency" : 0,
			"particleLifeTime" : 60,
			"amount" : 10,
			"vx" : "f:(rand*2-1)*2",
			"vy" : "f:rand*2",
			"particle" : {
				"id" : "InterpolatingKeyframeElement",
				"startRandom" : 1,
				"graphic": {
					"id": "RandomTextureElement",
					"textures" : [
						"graphics/particles/fireParticle0.png",
						"graphics/particles/fireParticle1.png"
					]
				},
				"frameTime": 60,
				"keyframes":[
					{"scale" : 3.0,"y":0},{"scale" : 0.0,"y":"f:i*(-8)"}
				]
			}
		},{
			"id" : "ParticleEmitter",
			"states" : ["CHANNEL"],
			"emittingFrequency" : 5,
			"particleLifeTime" : 60,
			"vx" : "f:(rand*2-1)*3",
			"vy" : "f:rand*2",
			"particle" : {
				"id" : "InterpolatingKeyframeElement",
				"startRandom" : 1,
				"graphic": {
					"id": "RandomTextureElement",
					"textures" : [
						"graphics/particles/spark.png",
						"graphics/particles/spark.png"
					]
				},
				"frameTime": 60,
				"keyframes":[
					{"scale" : 3.0,"y":0},{"scale" : 0.0,"y":"f:i*(-8)"}
				]
			}
		},{
			"id": "RotationElement",
			"rotationOffset": "mvmtDirAngl | f:i",
			"graphic": {
				"id": "TextureElement",
				"path": "graphics/projectiles/fire/Feuerball_Core.png"
			}
		},{
			"id" : "RelativePositionElement",
			"x" : "f: rand*10.0-5.0",
			"y" : "f: rand*10.0-5.0",
			"graphic" : {
				"id" : "ParticleEmitter",
				"emittingFrequency" : 6,
				"particleLifeTime" : 60,
				"vx" : "f:-sin( mvmtDirAngl* 0.01745+1.571)  | 0",
				"vy" : "f:cos( mvmtDirAngl* 0.01745+1.571)  | 0",
				"particle" : {
					"id" : "InterpolatingKeyframeElement",
					"startRandom" : 1,
					"graphic": {
						"id": "RandomTextureElement",
						"textures" : [
							"graphics/particles/fireParticle0.png",
							"graphics/particles/fireParticle0.png",
							"graphics/particles/fireParticle0.png",
							"graphics/particles/fireParticle1.png"]
					},
					"frameTime": 60,
					"keyframes":[
						{"scale" : 5.0,"y":0},{"scale" : 0.0,"y":"f:i*4"}
					]
				}
			}
		}
	]
}
