menu_Cup_Shine=
{
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={322,295},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		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=
		{
			{9,9,0},
			{10,10,25},
			{9,9,50},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{0.384314,0.686275,1,1,25},
			{0,0,0.819608,0,50},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={329,319},
			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},
			{39,39,100},
			{39,39,200},
			{0,0,300},
			{0,0,400},
		},
		ColourList=
		{
			{1,1,1,0,0},
			{1,1,1,1,100},
			{1,1,1,1,200},
			{1,1,1,0,300},
			{1,1,1,0,400},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={356,297},
			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={320,370},
			SrcRect={0,0,60,60},
			BlendMode="add",
		},
		SpinDirection=1,
		PartSysStartTime=0,
		PartSysLifeTime=0,
		Loop=1,
		ParticlesQuota=2,
		PerSecond=1,
		RandPos={10,2},
		LifeTime=300,
		RandLifeTime=0,
		Direction=0,
		RandDirection=10,
		Velocity=0,
		RandVelocity=0,
		Gravity=0,
		RandGravity=0,
		GravityDirection=0,
		Spin=0,
		RandSpin=0,
		MoveParticles=0,
		SizeList=
		{
			{0,0,0},
			{39,19,100},
			{39,19,200},
			{0,0,300},
		},
		ColourList=
		{
			{1,1,1,0.392157,0},
			{1,1,0,0.392157,100},
			{0.501961,1,0,0.392157,200},
			{1,1,1,0.392157,300},
		},
	},
	{
		Sprite=
		{
			Image="particles22.png",
			Pos={332,300},
			SrcRect={0,60,60,120},
			BlendMode="alpha",
		},
		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,20,0},
			{20,50,100},
			{50,20,200},
			{20,50,300},
		},
		ColourList=
		{
			{0,0.776471,0.776471,0.392157,0},
			{0.0196078,0.737255,0.309804,0.392157,100},
			{0.47451,0.47451,1,0.392157,200},
			{0,0,0.682353,0.392157,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_Cup_Shine, 340, 330)