menu_Tomato_Shine=
{
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={532, 594},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=10,
		Loop=1,
		ParticlesQuota=50,
		PerSecond=8,
		RandPos={18,15},
		LifeTime=200,
		RandLifeTime=100,
		Direction=180,
		RandDirection=1,
		Velocity=1,
		RandVelocity=1,
		Gravity=0,
		RandGravity=0,
		GravityDirection=180,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{3,3,50},
			{3,3,100},
			{0,0,200},
		},
		ColourList=
		{
			{1,0.501961,0.501961,0,0},
			{1,0.501961,0.25098,0.196078,50},
			{0.501961,0,0.25098,0.117647,100},
			{1,1,1,0,200},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={560, 580},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={2,2},
		LifeTime=400,
		RandLifeTime=0,
		Direction=0,
		RandDirection=0,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=20,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,100},
			{50,50,200},
			{0,0,300},
			{0,0,400},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{1,1,1,0.784314,100},
			{1,1,1,0.784314,200},
			{1,1,1,0,300},
			{1,1,1,0,400},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={546, 564},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={2,2},
		LifeTime=500,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=30,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{0,0,100},
			{35,35,200},
			{35,35,300},
			{0,0,400},
			{0,0,500},
		},
		ColourList=
		{
			{1,1,1,1,0},
			{1,1,1,1,100},
			{1,1,1,1,200},
			{1,1,1,1,300},
			{1,1,1,1,400},
			{1,1,1,1,500},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={575, 560},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={0,0},
		LifeTime=300,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=40,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,100},
			{50,50,200},
			{0,0,300},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{1,1,1,0.392157,100},
			{1,1,1,0.392157,200},
			{1,1,1,0,300},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={537, 600},
			SrcRect={0,60,60,120},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=8,
		PerSecond=10,
		RandPos={0,0},
		LifeTime=300,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=40,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{50,19,0},
			{19,50,100},
			{50,19,200},
			{19,50,300},
		},
		ColourList=
		{
			{1,0.501961,0.25098,0.0784314,0},
			{1,0,0,0.0784314,100},
			{1,0.694118,0.54902,0.117647,200},
			{0.501961,0,0.25098,0.0784314,300},
		},
	},

}

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_Tomato_Shine, 567, 590)