menu_King_Shine=
{
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={530,293},
			SrcRect={118,23,128,51},
			BlendMode="add",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=10,
		Loop=1,
		ParticlesQuota=5,
		PerSecond=5,
		RandPos={3,0},
		LifeTime=300,
		RandLifeTime=419,
		Direction=180,
		RandDirection=76,
		Velocity=1,
		RandVelocity=1,
		Gravity=0,
		RandGravity=0,
		GravityDirection=180,
		Spin=10,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{150,70,0},
			{130,70,50},
			{150,70,100},
			{150,70,150},
			{130,70,200},
			{150,70,250},
			{150,70,300},
		},
		ColourList=
		{
			{0,0.666667,0.666667,0.231373,0},
			{0,0.501961,0.74902,0.27451,50},
			{0,0.247059,0.501961,0.392157,100},
			{0,0.501961,0.74902,0.313726,150},
			{0,0.247059,0.501961,0.34902,200},
			{0,0,1,0.313726,250},
			{0,0,0.501961,0.231373,300},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={454,256},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={0,0},
		LifeTime=400,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=50,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{0,0,100},
			{100,100,200},
			{0,0,300},
			{0,0,400},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{1,1,1,0,100},
			{1,1,1,0.784314,200},
			{1,1,1,0,300},
			{1,1,1,0,400},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={500,300},
			SrcRect={198,0,256,70},
			BlendMode="add",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=2,
		PerSecond=2,
		RandPos={0,0},
		LifeTime=400,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{100,100,0},
			{100,100,100},
			{100,100,200},
			{100,100,300},
			{100,100,400},
		},
		ColourList=
		{
			{0,0,0.627451,0,0},
			{0,0,0.627451,0,100},
			{0,0.392157,0.392157,0.392157,200},
			{0,0.4,0.4,0.584314,300},
			{1,1,1,0,400},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={485,253},
			SrcRect={151,61,197,88},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=2,
		PerSecond=2,
		RandPos={0,0},
		LifeTime=200,
		RandLifeTime=0,
		Direction=0,
		RandDirection=0,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{100,100,0},
			{100,100,100},
			{100,100,200},
		},
		ColourList=
		{
			{1,1,1,0,10000},
			{0,1,1,0.392157,100},
			{1,1,1,0,200},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={390.599,360.582},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=10,
		PerSecond=10,
		RandPos={10,10},
		LifeTime=300,
		RandLifeTime=0,
		Direction=0,
		RandDirection=0,
		Velocity=7,
		RandVelocity=2,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=30,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{29,29,100},
			{29,29,200},
			{0,0,300},
		},
		ColourList=
		{
			{1,1,1,0,10000},
			{1,1,1,0.156863,100},
			{1,1,1,0.156863,200},
			{1,1,1,0,300},
		},
		Moveable=
		{
			Velocity=100,
			Loop=1,
			List2=
			{
				{376,355},
				{410,368},
				{427,364},
			},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={458,410},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={2,0},
		LifeTime=300,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=60,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,100},
			{50,50,200},
			{0,0,300},
		},
		ColourList=
		{
			{1,1,1,0,10000},
			{1,1,1,1,100},
			{1,1,1,1,200},
			{1,1,1,0,300},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={532,296},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={0,0},
		LifeTime=500,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=80,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{0,0,100},
			{0,0,200},
			{60,60,300},
			{0,0,400},
			{0,0,500},
		},
		ColourList=
		{
			{1,1,1,0,10000},
			{1,1,1,0,100},
			{1,1,1,0,200},
			{1,1,1,1,300},
			{1,1,1,0,400},
			{1,1,1,0,500},
		},
	},

}

function displaceParticle(particle, x, y)
    for k, v in pairs(particle)
    do
        v.Sprite.Pos[1] = v.Sprite.Pos[1] - x
        v.Sprite.Pos[2] = v.Sprite.Pos[2] - y
        
        if v.Moveable then
            for k1, v1 in pairs (v.Moveable.List2)
            do
                v1[1] = v1[1] - x
                v1[2] = v1[2] - y
            end
        end
    end
end

--displaceParticle(menu_King_Shine, 535, 370)
