menu_Flowers_Shine=
{
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={793,365},
			SrcRect={110,23,118,31},
			BlendMode="add",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=10,
		Loop=1,
		ParticlesQuota=20,
		PerSecond=10,
		RandPos={15,0},
		LifeTime=200,
		RandLifeTime=90,
		Direction=176,
		RandDirection=5,
		Velocity=5,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,50},
			{50,50,100},
		},
		ColourList=
		{
			{1,1,1,1,0},
			{1,1,1,0.286275,50},
			{1,1,1,0.286275,100},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={800,305},
			SrcRect={110,23,118,31},
			BlendMode="add",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=10,
		Loop=1,
		ParticlesQuota=20,
		PerSecond=10,
		RandPos={12,0},
		LifeTime=200,
		RandLifeTime=90,
		Direction=176,
		RandDirection=5,
		Velocity=0,
		RandVelocity=0,
		Gravity=4,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,50},
			{50,50,100},
		},
		ColourList=
		{
			{1,1,1,1,0},
			{1,1,1,0.286275,50},
			{1,1,1,0.286275,100},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={752,336},
			SrcRect={110,23,118,31},
			BlendMode="alpha",
		},
		SpinDirection=0,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=20,
		PerSecond=10,
		RandPos={15,0},
		LifeTime=200,
		RandLifeTime=90,
		Direction=176,
		RandDirection=5,
		Velocity=0,
		RandVelocity=0,
		Gravity=-5,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,50},
			{50,50,100},
		},
		ColourList=
		{
			{1,1,1,1,0},
			{1,1,1,0.392157,50},
			{1,1,1,0.392157,100},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={760,348},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=0,
		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=30,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{0,0,100},
			{50,50,200},
			{50,50,300},
			{0,0,400},
		},
		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},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={783,370},
			SrcRect={0,0,60,60},
			BlendMode="alpha",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=1,
		PerSecond=1,
		RandPos={1,1},
		LifeTime=400,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=10,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{9,9,100},
			{50,50,200},
			{9,9,300},
			{0,0,400},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{0.992157,0.784314,0.4,0.588235,100},
			{1,1,1,1,200},
			{0.992157,0.819608,0.509804,0.588235,300},
			{1,1,1,0,400},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={740,345},
			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=20,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{50,50,100},
			{50,50,200},
			{0,0,300},
		},
		ColourList=
		{
			{1,1,1,1,0},
			{1,1,1,1,100},
			{1,1,1,1,200},
			{1,1,1,1,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_Flowers_Shine, 796, 362)