local createCompositionz_table_light = nil
---------------------------------------------------------------------------------------
local PREFIX_PATH = "data/Texture/Scenes/12_grannies_room/main/anim/z_table/"
---------------------------------------------------------------------------------------
function Loader_12_Zoom_Table_Animations(parent)
	return CreateAnimationLoadingRoutine(parent, PREFIX_PATH,
		{
    			CreateCompositionLoader(createCompositionz_table_light,		                'action',		        0,0, 30, 320,240, false),
		},
		{
			function (element, textureName)
			end,
		});
end
---------------------------------------------------------------------------------------
createCompositionz_table_light = function()
	local compositionz_table_light = CreateCompositionSequence()
	local compositionDuration = 0.95833333333333
	compositionz_table_light:SetDuration(compositionDuration)
 
	local element
	local effector
 
	-- Layer Layer_1
	element = CreateCompositionElement(PREFIX_PATH.."mask.png")
	element:SetName("Layer_1")
	compositionz_table_light:AddElement(element)
	element:SetHotSpot(100, 85)
	element:SetParentElement(compositionz_table_light)
	element:SetXY(339, 134)
 
 
	effector = element:GetEffector()
	effector:SetLifeTime(0, 0.95833333333333)
	effector:Play()
 
 
	-- Layer Layer_2
	element = CreateCompositionElement(PREFIX_PATH.."wnd.png")
	element:SetName("Layer_2")
	compositionz_table_light:AddElement(element)
	element:SetHotSpot(125, 125)
	element:SetParentElement(compositionz_table_light)
	element:SetScaleX(0.7)
	element:SetScaleY(0.7)
 
	effector = element:GetEffector()
	effector:SetLifeTime(0, 0.95833333333333)
	effector:SetKey(_TRACK_X, 0, 323.5)
	effector:SetKey(_TRACK_Y, 0, 132)
	effector:SetKey(_TRACK_X, 0.375, 345.500000505375)
	effector:SetKey(_TRACK_Y, 0.375, 304.000000143656)
	effector:SetKey(_TRACK_X, 0.39998372395833, 347.42122135108)
	effector:SetKey(_TRACK_Y, 0.39998372395833, 297.573340700531)
	effector:SetKey(_TRACK_X, 0.45833333333333, 354.59924872509)
	effector:SetKey(_TRACK_Y, 0.45833333333333, 283.728867485301)
	effector:SetKey(_TRACK_X, 0.5, 363.517858455872)
	effector:SetKey(_TRACK_Y, 0.5, 277.228708151306)
	effector:SetKey(_TRACK_X, 0.54166666666667, 374.527711524902)
	effector:SetKey(_TRACK_Y, 0.54166666666667, 277.363260100813)
	effector:SetKey(_TRACK_X, 0.60001627604167, 387.982157657716)
	effector:SetKey(_TRACK_Y, 0.60001627604167, 285.185499722411)
	effector:SetKey(_TRACK_X, 0.69999186197917, 405.2251342605)
	effector:SetKey(_TRACK_Y, 0.69999186197917, 305.624065852776)
	effector:SetKey(_TRACK_X, 0.75, 411.418423499915)
	effector:SetKey(_TRACK_Y, 0.75, 317.525714678968)
	effector:SetKey(_TRACK_X, 0.79166666666667, 414.500000285637)
	effector:SetKey(_TRACK_Y, 0.79166666666667, 328.249999318867)
	effector:SetKey(_TRACK_X, 0.80000813802083, 415.498261011015)
	effector:SetKey(_TRACK_Y, 0.80000813802083, 327.335568623304)
	effector:SetKey(_TRACK_X, 0.83333333333333, 420.345036880607)
	effector:SetKey(_TRACK_Y, 0.83333333333333, 325.305407140738)
	effector:SetKey(_TRACK_X, 0.89998372395833, 428.619915764489)
	effector:SetKey(_TRACK_Y, 0.89998372395833, 331.440600956083)
	effector:SetKey(_TRACK_X, 0.91666666666667, 430)
	effector:SetKey(_TRACK_Y, 0.91666666666667, 333.75)
	effector:SetKey(_TRACK_A, 0, 0)
	effector:SetKey(_TRACK_A, 0.375, 0)
	effector:SetKey(_TRACK_A, 0.79166666666667, 0.6981317)
	effector:SetKey(_TRACK_A, 0.91666666666667, 0.872664625)
	effector:SetKey(_TRACK_O, 0, 0)
	effector:SetKey(_TRACK_O, 0.04166666666667, 1)
	effector:Play()
 
 
	-- Layer Layer_3
	element = CreateCompositionElement(PREFIX_PATH.."shadow.png")
	element:SetName("Layer_3")
	compositionz_table_light:AddElement(element)
	element:SetHotSpot(36, 52)
	element:SetParentElement(compositionz_table_light)
 
	effector = element:GetEffector()
	effector:SetLifeTime(0, 0.95833333333333)
	effector:SetKey(_TRACK_X, 0, 340.5)
	effector:SetKey(_TRACK_Y, 0, 373)
	effector:SetKey(_TRACK_X, 0.19999186197917, 340.447369952607)
	effector:SetKey(_TRACK_Y, 0.19999186197917, 374.40256352161)
	effector:SetKey(_TRACK_X, 0.375, 345.500000831623)
	effector:SetKey(_TRACK_Y, 0.375, 373.000000224788)
	effector:SetKey(_TRACK_X, 0.39998372395833, 350.315621822658)
	effector:SetKey(_TRACK_Y, 0.39998372395833, 371.548328103435)
	effector:SetKey(_TRACK_X, 0.60001627604167, 388.696492490088)
	effector:SetKey(_TRACK_Y, 0.60001627604167, 359.483026664196)
	effector:SetKey(_TRACK_X, 0.79166666666667, 425.500000493382)
	effector:SetKey(_TRACK_Y, 0.79166666666667, 348.000000231743)
	effector:SetKey(_TRACK_X, 0.80000813802083, 426.243894012267)
	effector:SetKey(_TRACK_Y, 0.80000813802083, 347.781990907777)
	effector:SetKey(_TRACK_X, 0.91666666666667, 435.5)
	effector:SetKey(_TRACK_Y, 0.91666666666667, 346.5)
	effector:SetKey(_TRACK_SX, 0, 0.62386386836322)
	effector:SetKey(_TRACK_SY, 0, 1.10596787610862)
	effector:SetKey(_TRACK_SX, 0.375, 0.62386386836322)
	effector:SetKey(_TRACK_SY, 0.375, 1.07228404775276)
	effector:SetKey(_TRACK_SX, 0.79166666666667, 0.62386386836322)
	effector:SetKey(_TRACK_SY, 0.79166666666667, 1.56432048501196)
	effector:SetKey(_TRACK_A, 0.375, 1.221730475)
	effector:SetKey(_TRACK_A, 0.79166666666667, 1.1344640125)
	effector:SetKey(_TRACK_A, 0.91666666666667, 1.221730475)
	effector:SetKey(_TRACK_O, 0, 0)
	effector:SetKey(_TRACK_O, 0.375, 0.7)
	effector:SetKey(_TRACK_O, 0.58333333333333, 0.5)
	effector:SetKey(_TRACK_O, 0.79166666666667, 0.8)
	effector:SetKey(_TRACK_O, 0.83333333333333, 0.7)
	effector:SetKey(_TRACK_O, 0.91666666666667, 0.8)
	effector:Play()
 
	compositionz_table_light:Play()
 
	return compositionz_table_light
end
 
