--// Local auxiliary functions - - - - - - - - - - - - - - - - - - - - - - - -

--// 1.	rename:					" -> '
--// 2. comment root composition routine "createCompositionDanver = function()"
--// 3. adjust tife time for "createCompositionDanver_action" objects: ...SetLifeTime(0, 20.48);  --21.84);
--// 4. comment background object creation code from "Scene" composition
--// 5. add auxiliaru routines for managing animations: auxPlayDinoAnimation(), auxGetDinoAnimation(), auxCreateDinoAnimations()

------------------------------------------------------------------------------
--
function auxPlayDinoAnimation(compositionName)
    local composition = auxGetDinoAnimation(compositionName);
    composition:SetVisible(true);
    composition:Play();
end

------------------------------------------------------------------------------
--
function auxGetDinoAnimation(compositionName)
    assert(dinoCompositions ~= nil and compositionName ~= nil);
	assert(dinoCompositions[compositionName] ~= nil and 'Composition with specified name not exists !');

    return dinoCompositions[compositionName];
end

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--
function CreateComposition(parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic)
    assert(parent ~= nil and compositionRoutine ~= nil and name ~= nil and z ~= nil and duration ~= nil);

    local element = compositionRoutine();
    element:SetName(name);
    element:SetHotSpot(hotSpotX,hotSpotY);
    element:SetXY(x, y);
    assert(z - parent:GetZ());
    element:SetZ(z - parent:GetZ());
    element:AttachTo(parent);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);
    element:SetOpacity(1);
    
    if (isCyclic == true) then
        element:SetDuration(duration);
        element:SetCyclic(true);
	else
		element:SetDestroysOnEnd(false);
    end
	element:Stop();
    element:SetVisible(false);
    element:AssignClippingRect(parent);
	element:SetConsiderParentOpacity(true);

	return element;
end

-- TEST TEST TEST ------------------------------------------------------------
--
function auxCreateTestAnimations(parent)
    local x,y = parent:GetScrX() - 100.0, parent:GetScrY();
	local composition = CreateComposition(parent, createCompositionDanver_action, 'DinoAction', x,y,205.0, 512,384, 15.52, true);
--	composition:SetConsiderParentOpacity(true);
	return composition;
end

-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function auxCreateCompositionElement(resourceName)
	local element = CreateCompositionElement(resourceName);
    local texName = string.sub(resourceName, string.len('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/') + 1);

	--// set up flies animation
	if (texName == 'Env/Bug_fly[01-02].png') then
		local anim = element:GetTexture();
		anim:Stop();
		anim:SetTextureRect(0,0, 19,18);
		anim:SetFrames(2);
		anim:SetFrame(0);
		anim:SetSpeed(30.0);
		anim:SetMode(HGEANIM_FWD + HGEANIM_LOOP);
		anim:Play();
    end
    --// set up hummingbirds animation
	if (texName == 'Env/Colibri_[01-02].png') then
		local anim = element:GetTexture();
		anim:Stop();
		anim:SetTextureRect(0,0, 107,64);
		anim:SetFrames(2);
		anim:SetFrame(0);
		anim:SetSpeed(30.0);
		anim:SetMode(HGEANIM_FWD + HGEANIM_LOOP);
		anim:Play();
    end

    --// set additive alpha blending mode for light & flare objects without alpha chanel (*.jpg)
    if (texName == 'Env/EF_Dust_01.jpg' or
		texName == 'Env/EF_light02.jpg' or
		texName == 'Env/EF_Light03.jpg') then

        element:GetTexture():SetBlendMode(0);
    end
	return element;
end

------------------------------------------------------------------------------
--
function auxCreateDinoAnimations(parent)
    assert(parent ~= nil);
    dinoCompositions = {};
    
    local CreateAndRegisterComposition = function (parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic)
        local element = CreateComposition(parent, compositionRoutine, name, x,y,z, hotSpotX,hotSpotY, duration, isCyclic);
        dinoCompositions[element:GetName()] = element;
    end
    
    CreateAndRegisterComposition(parent, createCompositionScene, 		'Scene', 				0,0,110.0, 512,384, 21.84, true);
    CreateAndRegisterComposition(parent, createCompositionDanver_idle1, 'DinoIdle1', 			0,0,100.0, 512,384, 3.04, true);
    CreateAndRegisterComposition(parent, createCompositionidle1_2, 		'DinoIdle2', 			0,0,100.0, 512,384, 3.84, true);
    CreateAndRegisterComposition(parent, createCompositionDanver_idle2, 'DinoIdleAfterAction', 	0,0,100.0, 512,384, 4.08, true);
    CreateAndRegisterComposition(parent, createCompositionDanver_action,'DinoAction', 			0,0,100.0, 512,384, 15.52, true);
	--// Env
    CreateAndRegisterComposition(parent, createCompositionEnv,			'Env',		0,0,210, 512,384, 10, true);
    CreateAndRegisterComposition(parent, createCompositionFly2,			'Fly2',		0,0,209, 512,384, 10, false);
    CreateAndRegisterComposition(parent, createCompositionFly1,			'Fly1',		0,0,209, 512,384, 10, false);
end

------------------------------------------------------------------------------
--
--createCompositionDanver = function()
--
--    local compositionDanver = CreateCompositionSequence();
--    local compositionDuration = 40.36;
--    compositionDanver:SetDuration(compositionDuration);
--
--
--    -- Layer Layer_1
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/mask.png');
--    element:SetName('Layer_1');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(352, 62);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(543, 592);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 40.64);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_2
--    local element = createCompositionidle1_2();
--    element:SetName('Layer_2');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 3.84);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_3
--    local element = createCompositionDanver_idle1();
--    element:SetName('Layer_3');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 3.04);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_5
--    local element = createCompositionDanver_action();
--    element:SetName('Layer_5');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 15.52);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_4
--    local element = createCompositionDanver_idle2();
--    element:SetName('Layer_4');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 4.08);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_6
--    local element = createCompositionScene();
--    element:SetName('Layer_6');
--    compositionDanver:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionDanver);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 21.84);
--
--
--    effector:Play();
--
--    compositionDanver:Play();
--
--    return compositionDanver;
--end

createCompositionDanver_action = function()

    local compositionDanver_action = CreateCompositionSequence();
    local compositionDuration = 18.68;
    compositionDanver_action:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_1');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(148, 128);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(3.72, 7);

    effector:SetKey(_TRACK_SX, 3.72, 0.21);
    effector:SetKey(_TRACK_SY, 3.72, 0.21);
    effector:SetKey(_TRACK_SX, 5.2, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.2, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.72, 0);
    effector:SetKey(_TRACK_O, 4, 1);
    effector:SetKey(_TRACK_O, 4.24, 1);
    effector:SetKey(_TRACK_O, 5.16, 0);

    effector:Play();


    -- Layer Layer_2
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_2');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(432, 115);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(4.28, 7.56);

    effector:SetKey(_TRACK_SX, 4.28, 0.21);
    effector:SetKey(_TRACK_SY, 4.28, 0.21);
    effector:SetKey(_TRACK_SX, 5.76, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.76, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4.28, 0);
    effector:SetKey(_TRACK_O, 4.56, 1);
    effector:SetKey(_TRACK_O, 4.8, 1);
    effector:SetKey(_TRACK_O, 5.72, 0);

    effector:Play();


    -- Layer Layer_3
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_3');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(798, 166);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(4, 7.28);

    effector:SetKey(_TRACK_SX, 4, 0.21);
    effector:SetKey(_TRACK_SY, 4, 0.21);
    effector:SetKey(_TRACK_SX, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4, 0);
    effector:SetKey(_TRACK_O, 4.28, 1);
    effector:SetKey(_TRACK_O, 4.52, 1);
    effector:SetKey(_TRACK_O, 5.44, 0);

    effector:Play();


    -- Layer Layer_4
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_4');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(333, 128);

    element:SetAngle(-0.2844001733648);

    effector = element:GetEffector();
    effector:SetLifeTime(4.28, 7.56);

    effector:SetKey(_TRACK_SX, 4.28, 0.21);
    effector:SetKey(_TRACK_SY, 4.28, 0.21);
    effector:SetKey(_TRACK_SX, 5.76, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.76, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4.28, 0);
    effector:SetKey(_TRACK_O, 4.56, 1);
    effector:SetKey(_TRACK_O, 4.8, 1);
    effector:SetKey(_TRACK_O, 5.72, 0);

    effector:Play();


    -- Layer Layer_5
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_5');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(264, 162);

    element:SetAngle(-0.2844001733648);

    effector = element:GetEffector();
    effector:SetLifeTime(4, 7.28);

    effector:SetKey(_TRACK_SX, 4, 0.21);
    effector:SetKey(_TRACK_SY, 4, 0.21);
    effector:SetKey(_TRACK_SX, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4, 0);
    effector:SetKey(_TRACK_O, 4.28, 1);
    effector:SetKey(_TRACK_O, 4.52, 1);
    effector:SetKey(_TRACK_O, 5.44, 0);

    effector:Play();


    -- Layer Layer_6
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_6');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(238, 176);

    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(4, 7.28);

    effector:SetKey(_TRACK_SX, 4, 0.21);
    effector:SetKey(_TRACK_SY, 4, 0.21);
    effector:SetKey(_TRACK_SX, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4, 0);
    effector:SetKey(_TRACK_O, 4.28, 1);
    effector:SetKey(_TRACK_O, 4.52, 1);
    effector:SetKey(_TRACK_O, 5.44, 0);

    effector:Play();


    -- Layer Layer_7
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_7');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(148, 128);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(4.12, 7.4);

    effector:SetKey(_TRACK_SX, 4.12, 0.21);
    effector:SetKey(_TRACK_SY, 4.12, 0.21);
    effector:SetKey(_TRACK_SX, 5.6, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.6, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4.12, 0);
    effector:SetKey(_TRACK_O, 4.4, 1);
    effector:SetKey(_TRACK_O, 4.64, 1);
    effector:SetKey(_TRACK_O, 5.56, 0);

    effector:Play();


    -- Layer Layer_8
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_8');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(432, 115);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(3.6, 6.88);

    effector:SetKey(_TRACK_SX, 3.6, 0.21);
    effector:SetKey(_TRACK_SY, 3.6, 0.21);
    effector:SetKey(_TRACK_SX, 5.08, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.08, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.6, 0);
    effector:SetKey(_TRACK_O, 3.88, 1);
    effector:SetKey(_TRACK_O, 4.12, 1);
    effector:SetKey(_TRACK_O, 5.04, 0);

    effector:Play();


    -- Layer Layer_9
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_9');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(798, 166);

    element:SetAngle(0.05279107391988);

    effector = element:GetEffector();
    effector:SetLifeTime(4, 7.28);

    effector:SetKey(_TRACK_SX, 4, 0.21);
    effector:SetKey(_TRACK_SY, 4, 0.21);
    effector:SetKey(_TRACK_SX, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.48, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4, 0);
    effector:SetKey(_TRACK_O, 4.28, 1);
    effector:SetKey(_TRACK_O, 4.52, 1);
    effector:SetKey(_TRACK_O, 5.44, 0);

    effector:Play();


    -- Layer Layer_10
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_10');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(333, 128);

    element:SetAngle(-0.2844001733648);

    effector = element:GetEffector();
    effector:SetLifeTime(3.44, 6.72);

    effector:SetKey(_TRACK_SX, 3.44, 0.21);
    effector:SetKey(_TRACK_SY, 3.44, 0.21);
    effector:SetKey(_TRACK_SX, 4.92, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.92, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.44, 0);
    effector:SetKey(_TRACK_O, 3.72, 1);
    effector:SetKey(_TRACK_O, 3.96, 1);
    effector:SetKey(_TRACK_O, 4.88, 0);

    effector:Play();


    -- Layer Layer_11
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_11');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(264, 162);

    element:SetAngle(-0.2844001733648);

    effector = element:GetEffector();
    effector:SetLifeTime(4.12, 7.4);

    effector:SetKey(_TRACK_SX, 4.12, 0.21);
    effector:SetKey(_TRACK_SY, 4.12, 0.21);
    effector:SetKey(_TRACK_SX, 5.6, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.6, 1.86961331472992);
    effector:SetKey(_TRACK_O, 4.12, 0);
    effector:SetKey(_TRACK_O, 4.4, 1);
    effector:SetKey(_TRACK_O, 4.64, 1);
    effector:SetKey(_TRACK_O, 5.56, 0);

    effector:Play();


    -- Layer Layer_12
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_12');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(238, 176);

    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(3.72, 7);

    effector:SetKey(_TRACK_SX, 3.72, 0.21);
    effector:SetKey(_TRACK_SY, 3.72, 0.21);
    effector:SetKey(_TRACK_SX, 5.2, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 5.2, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.72, 0);
    effector:SetKey(_TRACK_O, 4, 1);
    effector:SetKey(_TRACK_O, 4.24, 1);
    effector:SetKey(_TRACK_O, 5.16, 0);

    effector:Play();


    -- Layer Layer_13
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_13');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(369, 606);

    element:SetAngle(-3.75487587659022);

    effector = element:GetEffector();
    effector:SetLifeTime(3.36, 6.64);

    effector:SetKey(_TRACK_SX, 3.36, 0.21);
    effector:SetKey(_TRACK_SY, 3.36, 0.21);
    effector:SetKey(_TRACK_SX, 4.84, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.84, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.36, 0);
    effector:SetKey(_TRACK_O, 3.64, 1);
    effector:SetKey(_TRACK_O, 3.88, 1);
    effector:SetKey(_TRACK_O, 4.8, 0);

    effector:Play();


    -- Layer Layer_14
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_14');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(369, 606);

    element:SetAngle(-2.00284740195492);

    effector = element:GetEffector();
    effector:SetLifeTime(3.36, 6.64);

    effector:SetKey(_TRACK_SX, 3.36, 0.21);
    effector:SetKey(_TRACK_SY, 3.36, 0.21);
    effector:SetKey(_TRACK_SX, 4.84, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.84, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.36, 0);
    effector:SetKey(_TRACK_O, 3.64, 1);
    effector:SetKey(_TRACK_O, 3.88, 1);
    effector:SetKey(_TRACK_O, 4.8, 0);

    effector:Play();


    -- Layer Layer_15
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_15');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(369, 606);

    element:SetAngle(-2.30265657043411);

    effector = element:GetEffector();
    effector:SetLifeTime(3, 6.28);

    effector:SetKey(_TRACK_SX, 3, 0.21);
    effector:SetKey(_TRACK_SY, 3, 0.21);
    effector:SetKey(_TRACK_SX, 4.48, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.48, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3, 0);
    effector:SetKey(_TRACK_O, 3.28, 1);
    effector:SetKey(_TRACK_O, 3.52, 1);
    effector:SetKey(_TRACK_O, 4.44, 0);

    effector:Play();


    -- Layer Layer_16
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_16');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(369, 606);

    element:SetAngle(-2.9052085426583);

    effector = element:GetEffector();
    effector:SetLifeTime(3.4, 6.68);

    effector:SetKey(_TRACK_SX, 3.4, 0.21);
    effector:SetKey(_TRACK_SY, 3.4, 0.21);
    effector:SetKey(_TRACK_SX, 4.88, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.88, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.4, 0);
    effector:SetKey(_TRACK_O, 3.68, 1);
    effector:SetKey(_TRACK_O, 3.92, 1);
    effector:SetKey(_TRACK_O, 4.84, 0);

    effector:Play();


    -- Layer Layer_17
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust2.png');
    element:SetName('Layer_17');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(86.5, -55.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(369, 606);

    element:SetAngle(-3.4820331560949);

    effector = element:GetEffector();
    effector:SetLifeTime(3.2, 6.48);

    effector:SetKey(_TRACK_SX, 3.2, 0.21);
    effector:SetKey(_TRACK_SY, 3.2, 0.21);
    effector:SetKey(_TRACK_SX, 4.68, 1.86961331472992);
    effector:SetKey(_TRACK_SY, 4.68, 1.86961331472992);
    effector:SetKey(_TRACK_O, 3.2, 0);
    effector:SetKey(_TRACK_O, 3.48, 1);
    effector:SetKey(_TRACK_O, 3.72, 1);
    effector:SetKey(_TRACK_O, 4.64, 0);

    effector:Play();


    -- Layer Layer_18
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_18');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_action:RegisterParentInfo('Layer_18', 'Layer_24');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 2.2, 77.8365325927734);
    effector:SetKey(_TRACK_X, 4.04, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 4.04, 77.8365325927734);
    effector:SetKey(_TRACK_X, 4.56, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 4.56, 77.8365325927734);
    effector:SetKey(_TRACK_X, 4.96, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 4.96, 77.8365325927734);
    effector:SetKey(_TRACK_X, 9.72, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 9.72, 77.8365325927734);
    effector:SetKey(_TRACK_X, 14, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 14, 77.8365325927734);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.64, -0.27241714618938);
    effector:SetKey(_TRACK_A, 2.2, -0.52735176569044);
    effector:SetKey(_TRACK_A, 2.72, -1.02718524341743);
    effector:SetKey(_TRACK_A, 3.24, 0.36188648240905);
    effector:SetKey(_TRACK_A, 4.04, 0.29125743822282);
    effector:SetKey(_TRACK_A, 4.56, -0.13867417909697);
    effector:SetKey(_TRACK_A, 4.96, -0.3225326437986);
    effector:SetKey(_TRACK_A, 6.2, 0.32980509921241);
    effector:SetKey(_TRACK_A, 6.8, -0.0224023963892);
    effector:SetKey(_TRACK_A, 7.44, -0.48916834992522);
    effector:SetKey(_TRACK_A, 8.12, 0.20666191382982);
    effector:SetKey(_TRACK_A, 8.68, 0.01139885988465);
    effector:SetKey(_TRACK_A, 9.04, -0.08376202128981);
    effector:SetKey(_TRACK_A, 9.72, -0.08376202128981);
    effector:SetKey(_TRACK_A, 14, -0.08376202128981);

    effector:Play();


    -- Layer Layer_19
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_19');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_action:RegisterParentInfo('Layer_19', 'Layer_29');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 132.090674098535);
    effector:SetKey(_TRACK_Y, 2.2, 93.9652957191947);
    effector:SetKey(_TRACK_X, 4.04, 132.090674098535);
    effector:SetKey(_TRACK_Y, 4.04, 93.9652957191947);
    effector:SetKey(_TRACK_X, 4.56, 132.090674098535);
    effector:SetKey(_TRACK_Y, 4.56, 93.9652957191947);
    effector:SetKey(_TRACK_X, 4.96, 132.090674098535);
    effector:SetKey(_TRACK_Y, 4.96, 93.9652957191947);
    effector:SetKey(_TRACK_X, 5.56, 132.090674098535);
    effector:SetKey(_TRACK_Y, 5.56, 93.9652957191947);
    effector:SetKey(_TRACK_X, 9.72, 132.090674098535);
    effector:SetKey(_TRACK_Y, 9.72, 93.9652957191947);
    effector:SetKey(_TRACK_X, 14, 132.090674098535);
    effector:SetKey(_TRACK_Y, 14, 93.9652957191947);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.96, 0);
    effector:SetKey(_TRACK_A, 1.92, 0.60032154892512);
    effector:SetKey(_TRACK_A, 2.2, 0.48861673663216);
    effector:SetKey(_TRACK_A, 2.72, 0.66767687109704);
    effector:SetKey(_TRACK_A, 3.16, 0.09778775291642);
    effector:SetKey(_TRACK_A, 4.04, 0.02718227509608);
    effector:SetKey(_TRACK_A, 4.56, 0.3421642896629);
    effector:SetKey(_TRACK_A, 4.96, -0.12776499094366);
    effector:SetKey(_TRACK_A, 5.56, -1.06077884868209);
    effector:SetKey(_TRACK_A, 6.2, -0.3199945958773);
    effector:SetKey(_TRACK_A, 6.8, 0.11212287236173);
    effector:SetKey(_TRACK_A, 7.44, -0.25578792302317);
    effector:SetKey(_TRACK_A, 8.12, -1.2385337382833);
    effector:SetKey(_TRACK_A, 8.52, -0.78708795910689);
    effector:SetKey(_TRACK_A, 9.04, -0.32960693060067);
    effector:SetKey(_TRACK_A, 9.72, -0.32960693060067);
    effector:SetKey(_TRACK_A, 10.32, 0.00654613424549);
    effector:SetKey(_TRACK_A, 14, 0.00654613424549);
    effector:SetKey(_TRACK_A, 15.48, -0.30925685431605);

    effector:Play();


    -- Layer Layer_20
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_3.png');
    element:SetName('Layer_20');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(14, 24);
    compositionDanver_action:RegisterParentInfo('Layer_20', 'Layer_21');
    element:SetXY(124.505157470703, 7.635498046875);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.24, -0.192060118467);
    effector:SetKey(_TRACK_A, 2.12, -0.50072733805499);
    effector:SetKey(_TRACK_A, 3.36, -0.23822569279015);
    effector:SetKey(_TRACK_A, 4.24, -0.12723045095252);
    effector:SetKey(_TRACK_A, 5.32, 0.34810798909281);
    effector:SetKey(_TRACK_A, 6.12, -0.04807416974406);
    effector:SetKey(_TRACK_A, 6.96, 0.43126463654945);
    effector:SetKey(_TRACK_A, 7.68, 0.07106726224555);
    effector:SetKey(_TRACK_A, 8.44, -0.07227510012382);
    effector:SetKey(_TRACK_A, 8.88, 0.08643119550757);
    effector:SetKey(_TRACK_A, 9.72, 0.08643119550757);
    effector:SetKey(_TRACK_A, 14, 0.08643119550757);

    effector:Play();


    -- Layer Layer_21
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_2.png');
    element:SetName('Layer_21');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(23, 58.5);
    compositionDanver_action:RegisterParentInfo('Layer_21', 'Layer_22');
    element:SetXY(122.393951416016, 83.859359741211);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.24, -0.16742233635469);
    effector:SetKey(_TRACK_A, 2.04, -0.24566941052482);
    effector:SetKey(_TRACK_A, 3.28, 0.52914927020949);
    effector:SetKey(_TRACK_A, 4.6, -0.38767322493019);
    effector:SetKey(_TRACK_A, 5.4, -0.09516889022773);
    effector:SetKey(_TRACK_A, 6.32, -0.29195170663786);
    effector:SetKey(_TRACK_A, 7.28, -0.12498860503862);
    effector:SetKey(_TRACK_A, 8.28, -0.33272719960249);
    effector:SetKey(_TRACK_A, 8.88, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 10.64, 0.13154207670723);
    effector:SetKey(_TRACK_A, 12.2, -0.26665589789768);
    effector:SetKey(_TRACK_A, 14, 0);

    effector:Play();


    -- Layer Layer_22
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_1.png');
    element:SetName('Layer_22');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(37.5, 40.5);
    compositionDanver_action:RegisterParentInfo('Layer_22', 'Layer_24');
    element:SetXY(98.450664556707, 82.5542739918794);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.24, -0.13871955778378);
    effector:SetKey(_TRACK_A, 2.04, -0.19809971279296);
    effector:SetKey(_TRACK_A, 3.16, 0.36525902000806);
    effector:SetKey(_TRACK_A, 3.84, -0.12664011543849);
    effector:SetKey(_TRACK_A, 4.92, 0.22180304585631);
    effector:SetKey(_TRACK_A, 6.28, -0.03077781745492);
    effector:SetKey(_TRACK_A, 7.56, 0.14200374664006);
    effector:SetKey(_TRACK_A, 8.88, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 10.64, -0.10405396875904);
    effector:SetKey(_TRACK_A, 12.2, 0.04270936196194);
    effector:SetKey(_TRACK_A, 14, 0);

    effector:Play();


    -- Layer Layer_23
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/head.png');
    element:SetName('Layer_23');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(74, 104);
    compositionDanver_action:RegisterParentInfo('Layer_23', 'Layer_29');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 2.2, 58.8991241455077);
    effector:SetKey(_TRACK_X, 4.04, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 4.04, 58.8991241455077);
    effector:SetKey(_TRACK_X, 4.56, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 4.56, 58.8991241455077);
    effector:SetKey(_TRACK_X, 4.96, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 4.96, 58.8991241455077);
    effector:SetKey(_TRACK_X, 9.72, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 9.72, 58.8991241455077);
    effector:SetKey(_TRACK_X, 14, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 14, 58.8991241455077);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.52, -0.49924908772241);
    effector:SetKey(_TRACK_A, 1.2, 0.28789140044249);
    effector:SetKey(_TRACK_A, 2.2, -0.41278027388791);
    effector:SetKey(_TRACK_A, 2.72, -0.70705463630039);
    effector:SetKey(_TRACK_A, 3.48, 0.27409272684281);
    effector:SetKey(_TRACK_A, 3.84, -0.19453345611808);
    effector:SetKey(_TRACK_A, 4.04, -0.28168827670538);
    effector:SetKey(_TRACK_A, 4.56, -0.65497016490662);
    effector:SetKey(_TRACK_A, 4.96, -0.18575625131444);
    effector:SetKey(_TRACK_A, 5.56, -0.13190968411023);
    effector:SetKey(_TRACK_A, 6.28, -0.52120080306193);
    effector:SetKey(_TRACK_A, 6.96, -0.29608722394824);
    effector:SetKey(_TRACK_A, 7.64, -0.53904619468498);
    effector:SetKey(_TRACK_A, 8.32, -0.3275550729265);
    effector:SetKey(_TRACK_A, 9.04, 0);
    effector:SetKey(_TRACK_A, 9.72, -0.5809519775374);
    effector:SetKey(_TRACK_A, 10.52, -0.71073332128823);
    effector:SetKey(_TRACK_A, 11.08, -0.35371903576507);
    effector:SetKey(_TRACK_A, 12, -0.64562731282218);
    effector:SetKey(_TRACK_A, 12.6, -0.43488909307633);
    effector:SetKey(_TRACK_A, 13.44, -0.5839136982561);
    effector:SetKey(_TRACK_A, 14, -0.34566995879215);
    effector:SetKey(_TRACK_A, 15.48, 0);

    effector:Play();


    -- Layer Layer_24
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_4.png');
    element:SetName('Layer_24');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(56.5, 76);
    element:SetParentElement(compositionDanver_action);
    element:SetScaleX(0.79);
    element:SetScaleY(0.79);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 0, 620.836594085691);
    effector:SetKey(_TRACK_Y, 0, 497.193162231446);
    effector:SetKey(_TRACK_X, 2.2, 620.836594085691);
    effector:SetKey(_TRACK_Y, 2.2, 497.193162231446);
    effector:SetKey(_TRACK_X, 2.72, 588.912737181002);
    effector:SetKey(_TRACK_Y, 2.72, 503.973450423592);
    effector:SetKey(_TRACK_X, 3.56, 588.912737181002);
    effector:SetKey(_TRACK_Y, 3.56, 503.973450423592);
    effector:SetKey(_TRACK_X, 4.04, 588.912737181002);
    effector:SetKey(_TRACK_Y, 4.04, 498.2363);
    effector:SetKey(_TRACK_X, 4.56, 571.912737181002);
    effector:SetKey(_TRACK_Y, 4.56, 496.2363);
    effector:SetKey(_TRACK_X, 4.96, 553.912737181002);
    effector:SetKey(_TRACK_Y, 4.96, 497.2363);
    effector:SetKey(_TRACK_X, 5.56, 526.412737181002);
    effector:SetKey(_TRACK_Y, 5.56, 493.7363);
    effector:SetKey(_TRACK_X, 6.2, 499.412737181002);
    effector:SetKey(_TRACK_Y, 6.2, 497.2363);
    effector:SetKey(_TRACK_X, 6.8, 472.412737181002);
    effector:SetKey(_TRACK_Y, 6.8, 492.7363);
    effector:SetKey(_TRACK_X, 7.44, 446.412737181002);
    effector:SetKey(_TRACK_Y, 7.44, 497.7363);
    effector:SetKey(_TRACK_X, 8.12, 421.912737181002);
    effector:SetKey(_TRACK_Y, 8.12, 493.7363);
    effector:SetKey(_TRACK_X, 9.04, 397.912737181002);
    effector:SetKey(_TRACK_Y, 9.04, 501.7363);
    effector:SetKey(_TRACK_X, 9.72, 397.912737181002);
    effector:SetKey(_TRACK_Y, 9.72, 501.7363);
    effector:SetKey(_TRACK_X, 14, 397.912737181002);
    effector:SetKey(_TRACK_Y, 14, 501.7363);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.68, 0.28464021949183);
    effector:SetKey(_TRACK_A, 2.2, 0.51784582219791);
    effector:SetKey(_TRACK_A, 2.72, 0.45356518343506);
    effector:SetKey(_TRACK_A, 3.24, -0.1636942899307);
    effector:SetKey(_TRACK_A, 4.04, 0);
    effector:SetKey(_TRACK_A, 4.56, 0);
    effector:SetKey(_TRACK_A, 4.96, -0.10374528355207);
    effector:SetKey(_TRACK_A, 5.56, -0.07400945750459);
    effector:SetKey(_TRACK_A, 6.2, 0);
    effector:SetKey(_TRACK_A, 6.8, -0.11265420933065);
    effector:SetKey(_TRACK_A, 7.44, 0.04580434205016);
    effector:SetKey(_TRACK_A, 8.12, -0.12716688416939);
    effector:SetKey(_TRACK_A, 9.04, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 14, 0);

    effector:Play();


    -- Layer Layer_25
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/osheynik.png');
    element:SetName('Layer_25');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(24.5, 49);
    compositionDanver_action:RegisterParentInfo('Layer_25', 'Layer_29');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 0.72, 95.2960205078127);
    effector:SetKey(_TRACK_Y, 0.72, 66.4720153808593);
    effector:SetKey(_TRACK_X, 1.32, 90.7484831177602);
    effector:SetKey(_TRACK_Y, 1.32, 66.0848476146933);
    effector:SetKey(_TRACK_X, 1.8, 86.1904851803171);
    effector:SetKey(_TRACK_Y, 1.8, 66.3186209992807);
    effector:SetKey(_TRACK_X, 2.2, 84.5428706677596);
    effector:SetKey(_TRACK_Y, 2.2, 65.6186345257687);
    effector:SetKey(_TRACK_X, 2.76, 95.5085066297297);
    effector:SetKey(_TRACK_Y, 2.76, 60.7234851941814);
    effector:SetKey(_TRACK_X, 9.72, 95.5085066297297);
    effector:SetKey(_TRACK_Y, 9.72, 60.7234851941814);
    effector:SetKey(_TRACK_X, 14, 95.5085066297297);
    effector:SetKey(_TRACK_Y, 14, 60.7234851941814);
    effector:SetKey(_TRACK_A, 0.72, 0);
    effector:SetKey(_TRACK_A, 1.32, -0.05484015326002);
    effector:SetKey(_TRACK_A, 2.2, -0.19073252164258);
    effector:SetKey(_TRACK_A, 2.76, 0.00750904540734);
    effector:SetKey(_TRACK_A, 9.72, 0.00750904540734);
    effector:SetKey(_TRACK_A, 14, 0.00750904540734);

    effector:Play();


    -- Layer Layer_26
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_3.png');
    element:SetName('Layer_26');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(83.5, 11);
    compositionDanver_action:RegisterParentInfo('Layer_26', 'Layer_24');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 22.6);
    effector:SetKey(_TRACK_Y, 2.2, 10.9);
    effector:SetKey(_TRACK_X, 4.04, 22.6);
    effector:SetKey(_TRACK_Y, 4.04, 10.9);
    effector:SetKey(_TRACK_X, 4.56, 22.6);
    effector:SetKey(_TRACK_Y, 4.56, 10.9);
    effector:SetKey(_TRACK_X, 4.96, 22.6);
    effector:SetKey(_TRACK_Y, 4.96, 10.9);
    effector:SetKey(_TRACK_X, 9.72, 22.6);
    effector:SetKey(_TRACK_Y, 9.72, 10.9);
    effector:SetKey(_TRACK_X, 14, 22.6);
    effector:SetKey(_TRACK_Y, 14, 10.9);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.48, -0.06305657769133);
    effector:SetKey(_TRACK_A, 1.2, 0.04778002401222);
    effector:SetKey(_TRACK_A, 1.68, 0.03548833198309);
    effector:SetKey(_TRACK_A, 2.2, -0.00606770282033);
    effector:SetKey(_TRACK_A, 2.72, 0.01524186720779);
    effector:SetKey(_TRACK_A, 3.24, 0.04358307267081);
    effector:SetKey(_TRACK_A, 3.48, -0.01914830816313);
    effector:SetKey(_TRACK_A, 4.04, 0);
    effector:SetKey(_TRACK_A, 4.56, 0.11146617000847);
    effector:SetKey(_TRACK_A, 4.96, 0.11146617000847);
    effector:SetKey(_TRACK_A, 5.56, -0.06899052210609);
    effector:SetKey(_TRACK_A, 6.2, 0.07437338455279);
    effector:SetKey(_TRACK_A, 6.8, -0.08263643266105);
    effector:SetKey(_TRACK_A, 7.44, 0.01814571140416);
    effector:SetKey(_TRACK_A, 8.12, 0.05457213749311);
    effector:SetKey(_TRACK_A, 9.04, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 10.52, -0.08066594774708);
    effector:SetKey(_TRACK_A, 14, 0.00270933914424);
    effector:SetKey(_TRACK_A, 15.48, 0);

    effector:Play();


    -- Layer Layer_27
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_2.png');
    element:SetName('Layer_27');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(63, 14);
    compositionDanver_action:RegisterParentInfo('Layer_27', 'Layer_26');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 28.01399230957);
    effector:SetKey(_TRACK_Y, 2.2, 13.8689270019531);
    effector:SetKey(_TRACK_X, 4.04, 28.01399230957);
    effector:SetKey(_TRACK_Y, 4.04, 13.8689270019531);
    effector:SetKey(_TRACK_X, 4.56, 28.01399230957);
    effector:SetKey(_TRACK_Y, 4.56, 13.8689270019531);
    effector:SetKey(_TRACK_X, 4.96, 28.01399230957);
    effector:SetKey(_TRACK_Y, 4.96, 13.8689270019531);
    effector:SetKey(_TRACK_X, 9.72, 28.01399230957);
    effector:SetKey(_TRACK_Y, 9.72, 13.8689270019531);
    effector:SetKey(_TRACK_X, 14, 28.01399230957);
    effector:SetKey(_TRACK_Y, 14, 13.8689270019531);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.48, -0.01575988655543);
    effector:SetKey(_TRACK_A, 1.68, 0.19214091994331);
    effector:SetKey(_TRACK_A, 2.2, 0.04004430622414);
    effector:SetKey(_TRACK_A, 2.72, 0.12817525921517);
    effector:SetKey(_TRACK_A, 3.24, 0.16224718001025);
    effector:SetKey(_TRACK_A, 3.48, 0.15626561707443);
    effector:SetKey(_TRACK_A, 4.04, 0.15626561707443);
    effector:SetKey(_TRACK_A, 4.56, 0.1608959525787);
    effector:SetKey(_TRACK_A, 4.96, 0.20700895919445);
    effector:SetKey(_TRACK_A, 5.56, 0.20077768802219);
    effector:SetKey(_TRACK_A, 6.2, 0.08452496041799);
    effector:SetKey(_TRACK_A, 6.8, 0.19744309595153);
    effector:SetKey(_TRACK_A, 7.44, 0.026562891993);
    effector:SetKey(_TRACK_A, 8.12, 0.20184867373675);
    effector:SetKey(_TRACK_A, 9.04, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 10.32, -0.11391623177294);
    effector:SetKey(_TRACK_A, 14, -0.18363057793768);
    effector:SetKey(_TRACK_A, 15.48, 0);

    effector:Play();


    -- Layer Layer_28
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_28');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_action:RegisterParentInfo('Layer_28', 'Layer_24');
    element:SetScaleX(0.95177817962628);
    element:SetScaleY(0.95177817962628);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 2.2, 68.3428617066973);
    effector:SetKey(_TRACK_X, 4.04, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 4.04, 68.3428617066973);
    effector:SetKey(_TRACK_X, 4.56, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 4.56, 68.3428617066973);
    effector:SetKey(_TRACK_X, 4.96, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 4.96, 68.3428617066973);
    effector:SetKey(_TRACK_X, 9.72, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 9.72, 68.3428617066973);
    effector:SetKey(_TRACK_X, 14, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 14, 68.3428617066973);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.68, -0.27241714618938);
    effector:SetKey(_TRACK_A, 2.2, -0.52735176569044);
    effector:SetKey(_TRACK_A, 2.72, -0.80986634005787);
    effector:SetKey(_TRACK_A, 3.24, -0.31604277961355);
    effector:SetKey(_TRACK_A, 4.04, -0.38667182379978);
    effector:SetKey(_TRACK_A, 4.56, 0.40347581972921);
    effector:SetKey(_TRACK_A, 4.96, 0.45145160139683);
    effector:SetKey(_TRACK_A, 6.2, -0.3155897369887);
    effector:SetKey(_TRACK_A, 7.44, 0.36204876458288);
    effector:SetKey(_TRACK_A, 8.12, 0.28193098991849);
    effector:SetKey(_TRACK_A, 9.04, -0.28363529101999);
    effector:SetKey(_TRACK_A, 9.72, -0.28363529101999);
    effector:SetKey(_TRACK_A, 14, -0.28363529101999);

    effector:Play();


    -- Layer Layer_29
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_1.png');
    element:SetName('Layer_29');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(136, 31.5);
    compositionDanver_action:RegisterParentInfo('Layer_29', 'Layer_27');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 0, 25.4);
    effector:SetKey(_TRACK_Y, 0, 47.5553189048288);
    effector:SetKey(_TRACK_X, 2.2, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 2.2, 47.5553189048288);
    effector:SetKey(_TRACK_X, 4.04, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 4.04, 47.5553189048288);
    effector:SetKey(_TRACK_X, 4.56, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 4.56, 47.5553189048288);
    effector:SetKey(_TRACK_X, 4.96, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 4.96, 47.5553189048288);
    effector:SetKey(_TRACK_X, 9.72, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 9.72, 47.5553189048288);
    effector:SetKey(_TRACK_X, 14, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 14, 47.5553189048288);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.48, 0);
    effector:SetKey(_TRACK_A, 1.2, 0.07204315311483);
    effector:SetKey(_TRACK_A, 1.68, 0.20365396977426);
    effector:SetKey(_TRACK_A, 2.2, -0.16816653971731);
    effector:SetKey(_TRACK_A, 2.72, 0.17424958289391);
    effector:SetKey(_TRACK_A, 3.24, 0.34405666825023);
    effector:SetKey(_TRACK_A, 3.48, -0.08052016884338);
    effector:SetKey(_TRACK_A, 4.04, -0.08052016884338);
    effector:SetKey(_TRACK_A, 4.56, -0.01582746705323);
    effector:SetKey(_TRACK_A, 4.96, 0.0189317416574);
    effector:SetKey(_TRACK_A, 5.56, 0.10274550966945);
    effector:SetKey(_TRACK_A, 6.2, 0.01641667561016);
    effector:SetKey(_TRACK_A, 6.8, 0.28535202775086);
    effector:SetKey(_TRACK_A, 7.44, 0.06839531698156);
    effector:SetKey(_TRACK_A, 8.12, 0.20030944963867);
    effector:SetKey(_TRACK_A, 9.04, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 14, 0);

    effector:Play();


    -- Layer Layer_30
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_30');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_action:RegisterParentInfo('Layer_30', 'Layer_29');
    element:SetScaleX(0.90262901655307);
    element:SetScaleY(0.90262901655307);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 153.609661440307);
    effector:SetKey(_TRACK_Y, 2.2, 78.7754223014741);
    effector:SetKey(_TRACK_X, 4.04, 153.609661440307);
    effector:SetKey(_TRACK_Y, 4.04, 78.7754223014741);
    effector:SetKey(_TRACK_X, 4.56, 153.609661440307);
    effector:SetKey(_TRACK_Y, 4.56, 78.7754223014741);
    effector:SetKey(_TRACK_X, 4.96, 153.609661440307);
    effector:SetKey(_TRACK_Y, 4.96, 78.7754223014741);
    effector:SetKey(_TRACK_X, 9.72, 153.609661440307);
    effector:SetKey(_TRACK_Y, 9.72, 78.7754223014741);
    effector:SetKey(_TRACK_X, 14, 153.609661440307);
    effector:SetKey(_TRACK_Y, 14, 78.7754223014741);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.16, 0.16496030380957);
    effector:SetKey(_TRACK_A, 2.2, 0.04105185672018);
    effector:SetKey(_TRACK_A, 2.72, 0.26084539945273);
    effector:SetKey(_TRACK_A, 3.16, 0.50746484248687);
    effector:SetKey(_TRACK_A, 4.04, -0.01545634755548);
    effector:SetKey(_TRACK_A, 4.56, -0.48948476656084);
    effector:SetKey(_TRACK_A, 4.96, -0.79691448318688);
    effector:SetKey(_TRACK_A, 5.56, -0.00251596620448);
    effector:SetKey(_TRACK_A, 6.2, -0.37987229818608);
    effector:SetKey(_TRACK_A, 6.8, -1.03633265757421);
    effector:SetKey(_TRACK_A, 7.44, -0.20461176951184);
    effector:SetKey(_TRACK_A, 8.12, -0.17858377789222);
    effector:SetKey(_TRACK_A, 9.72, -0.17858377789222);
    effector:SetKey(_TRACK_A, 10.32, 0.15756928695393);
    effector:SetKey(_TRACK_A, 14, 0.15756928695393);
    effector:SetKey(_TRACK_A, 15.48, -0.1582337016076);

    effector:Play();


    -- Layer Layer_31
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Head_back.png');
    element:SetName('Layer_31');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(29, 48.5);
    compositionDanver_action:RegisterParentInfo('Layer_31', 'Layer_23');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);

    effector:SetKey(_TRACK_X, 2.2, 127.946990966797);
    effector:SetKey(_TRACK_Y, 2.2, 61.2474212646485);
    effector:SetKey(_TRACK_X, 4.04, 127.946990966797);
    effector:SetKey(_TRACK_Y, 4.04, 61.2474212646485);
    effector:SetKey(_TRACK_X, 4.56, 127.946990966797);
    effector:SetKey(_TRACK_Y, 4.56, 61.2474212646485);
    effector:SetKey(_TRACK_X, 4.96, 127.946990966797);
    effector:SetKey(_TRACK_Y, 4.96, 61.2474212646485);
    effector:SetKey(_TRACK_X, 9.72, 127.946990966797);
    effector:SetKey(_TRACK_Y, 9.72, 61.2474212646485);
    effector:SetKey(_TRACK_X, 14, 127.946990966797);
    effector:SetKey(_TRACK_Y, 14, 61.2474212646485);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2.2, 0);
    effector:SetKey(_TRACK_A, 4.04, 0);
    effector:SetKey(_TRACK_A, 4.56, 0);
    effector:SetKey(_TRACK_A, 4.96, 0);
    effector:SetKey(_TRACK_A, 9.72, 0);
    effector:SetKey(_TRACK_A, 14, 0);

    effector:Play();


    -- Layer Layer_32
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_32');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_action:RegisterParentInfo('Layer_32', 'Layer_34');
    element:SetXY(25.7352941176471, 25.4705882352943);

    element:SetScaleX(0.49498757921573);
    element:SetScaleY(0.49498757921573);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_A, 0, 0.68890202600554);
    effector:SetKey(_TRACK_A, 0.52, 0.5738676671325);
    effector:SetKey(_TRACK_A, 2.48, 0.5738676671325);
    effector:SetKey(_TRACK_A, 2.88, 1.27436491526231);
    effector:SetKey(_TRACK_A, 3.32, 0.71745683918547);
    effector:SetKey(_TRACK_A, 3.56, 0.732651368309);
    effector:SetKey(_TRACK_A, 4, 0.90129602203579);
    effector:SetKey(_TRACK_A, 4.4, 1.02038704537541);
    effector:SetKey(_TRACK_A, 4.6, 1.03359843265582);
    effector:SetKey(_TRACK_A, 5.04, 0.93297340451152);
    effector:SetKey(_TRACK_A, 5.6, 0.86103021100793);
    effector:SetKey(_TRACK_A, 6.16, 1.00826727644482);
    effector:SetKey(_TRACK_A, 6.8, 0.84435201005171);
    effector:SetKey(_TRACK_A, 7.48, 0.97992393052026);
    effector:SetKey(_TRACK_A, 8.36, 0.93141078305788);
    effector:SetKey(_TRACK_A, 9.04, 0.90823033392732);
    effector:SetKey(_TRACK_A, 9.72, 0.90823033392732);
    effector:SetKey(_TRACK_A, 10.52, 0.78290162999702);
    effector:SetKey(_TRACK_A, 14, 0.8071883516855);
    effector:SetKey(_TRACK_A, 15.48, 0.87403421601651);

    effector:Play();


    -- Layer Layer_33
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_33');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_action:RegisterParentInfo('Layer_33', 'Layer_32');
    element:SetScaleX(1.18);
    element:SetScaleY(1.18);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_X, 0, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 0, 132.52686632196);
    effector:SetKey(_TRACK_X, 2.2, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 2.2, 132.52686632196);
    effector:SetKey(_TRACK_X, 4.04, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 4.04, 132.52686632196);
    effector:SetKey(_TRACK_X, 4.56, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 4.56, 132.52686632196);
    effector:SetKey(_TRACK_X, 4.96, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 4.96, 132.52686632196);
    effector:SetKey(_TRACK_A, 0, 0.34452764482504);
    effector:SetKey(_TRACK_A, 0.52, 0.61891386028307);
    effector:SetKey(_TRACK_A, 2.48, 1.93885010867589);
    effector:SetKey(_TRACK_A, 2.88, 0.14060879459842);
    effector:SetKey(_TRACK_A, 3.32, 0.09367523937964);

    effector:Play();


    -- Layer Layer_34
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/central_lock.png');
    element:SetName('Layer_34');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(25, 24);
    element:SetParentElement(compositionDanver_action);
    element:SetScaleX(0.68);
    element:SetScaleY(0.68);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_X, 0, 561.5);
    effector:SetKey(_TRACK_Y, 0, 414.5);
    effector:SetKey(_TRACK_X, 2.88, 561.5);
    effector:SetKey(_TRACK_Y, 2.88, 414.5);
    effector:SetKey(_TRACK_X, 3.28, 537.5);
    effector:SetKey(_TRACK_Y, 3.28, 414.5);
    effector:SetKey(_TRACK_X, 4, 537.5);
    effector:SetKey(_TRACK_Y, 4, 414.5);
    effector:SetKey(_TRACK_X, 5.24, 481.5);
    effector:SetKey(_TRACK_Y, 5.24, 414.5);
    effector:SetKey(_TRACK_X, 6.24, 448.5);
    effector:SetKey(_TRACK_Y, 6.24, 414.5);
    effector:SetKey(_TRACK_X, 7.08, 412.5);
    effector:SetKey(_TRACK_Y, 7.08, 414.5);
    effector:SetKey(_TRACK_X, 8.12, 377.5);
    effector:SetKey(_TRACK_Y, 8.12, 414.5);
    effector:SetKey(_TRACK_X, 9.04, 362.5);
    effector:SetKey(_TRACK_Y, 9.04, 415.5);

    effector:Play();


    -- Layer Layer_35
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_right.png');
    element:SetName('Layer_35');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(54.5, 40.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(670.5, 364.5);

    element:SetScaleX(1);
    element:SetScaleY(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1, 0.7853981625);
    effector:SetKey(_TRACK_O, 1, 1);
    effector:SetKey(_TRACK_O, 1.04, 0);

    effector:Play();


    -- Layer Layer_36
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_left.png');
    element:SetName('Layer_36');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(55.5, 39.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(454.5, 363.5);

    element:SetScaleX(1);
    element:SetScaleY(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1, -0.7853981625);
    effector:SetKey(_TRACK_O, 1, 1);
    effector:SetKey(_TRACK_O, 1.04, 0);

    effector:Play();


    -- Layer Layer_37
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/door.png');
    element:SetName('Layer_37');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(98.5, 98.5);
    compositionDanver_action:RegisterParentInfo('Layer_37', 'Layer_34');
    element:SetXY(23.529411764706, 24.0000000000001);

    element:SetScaleX(1.47058823529412);
    element:SetScaleY(1.47058823529412);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_A, 2.88, 0);
    effector:SetKey(_TRACK_A, 3.28, -0.34355395190377);
    effector:SetKey(_TRACK_A, 4, -0.34355395190377);
    effector:SetKey(_TRACK_A, 5.24, -0.90465721498409);
    effector:SetKey(_TRACK_A, 6.24, -1.26099647391258);
    effector:SetKey(_TRACK_A, 7.08, -1.62459624905582);
    effector:SetKey(_TRACK_A, 8.12, -2.02366731053912);
    effector:SetKey(_TRACK_A, 9.04, -2.20323031189834);

    effector:Play();


    -- Layer Layer_38
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_right.png');
    element:SetName('Layer_38');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(54.5, 40.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(670.5, 364.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0.7853981625);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_O, 1, 0);
    effector:SetKey(_TRACK_O, 1.04, 1);

    effector:Play();


    -- Layer Layer_39
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_left.png');
    element:SetName('Layer_39');
    compositionDanver_action:AddElement(element);
    element:SetHotSpot(55.5, 39.5);
    element:SetParentElement(compositionDanver_action);
    element:SetXY(454.5, 363.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(-0.7853981625);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 20.48);  --21.84);

    effector:SetKey(_TRACK_O, 1, 0);
    effector:SetKey(_TRACK_O, 1.04, 1);

    effector:Play();

    compositionDanver_action:Play();

    return compositionDanver_action;
end

createCompositionDanver_idle1 = function()

    local compositionDanver_idle1 = CreateCompositionSequence();
    local compositionDuration = 3.04;
    compositionDanver_idle1:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_1');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_idle1:RegisterParentInfo('Layer_1', 'Layer_12');
    element:SetXY(132.090674098535, 93.9652957191946);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, -0.03535090119904);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_2
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_3.png');
    element:SetName('Layer_2');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(14, 24);
    compositionDanver_idle1:RegisterParentInfo('Layer_2', 'Layer_3');
    element:SetXY(124.505157470703, 7.63549804687499);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.68, -0.10331442070734);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_3
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_2.png');
    element:SetName('Layer_3');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(23, 58.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_3', 'Layer_4');
    element:SetXY(122.393951416016, 83.8593597412109);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, -0.03612940894874);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_4
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_1.png');
    element:SetName('Layer_4');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(37.5, 40.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_4', 'Layer_7');
    element:SetXY(98.450664556707, 82.5542739918794);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, 0.04744659263214);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_5
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_5');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_5', 'Layer_7');
    element:SetXY(56.4838104248046, 77.8365325927734);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, -0.01102711821929);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_6
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/head.png');
    element:SetName('Layer_6');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(74, 104);
    compositionDanver_idle1:RegisterParentInfo('Layer_6', 'Layer_12');
    element:SetXY(53.1060333251954, 58.8991241455077);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, 0.034906585);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_7
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_4.png');
    element:SetName('Layer_7');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(56.5, 76);
    element:SetParentElement(compositionDanver_idle1);
    element:SetXY(620.836594085691, 497.193162231446);

    element:SetScaleX(0.79);
    element:SetScaleY(0.79);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_8
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_8');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_8', 'Layer_7');
    element:SetXY(65.3445699184753, 68.3428617066972);

    element:SetScaleX(0.95177817962628);
    element:SetScaleY(0.95177817962628);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_9
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/osheynik.png');
    element:SetName('Layer_9');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(24.5, 49);
    compositionDanver_idle1:RegisterParentInfo('Layer_9', 'Layer_12');
    element:SetXY(95.2960205078126, 66.4720153808593);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_10
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_3.png');
    element:SetName('Layer_10');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(83.5, 11);
    compositionDanver_idle1:RegisterParentInfo('Layer_10', 'Layer_7');
    element:SetXY(22.6060485839844, 10.8689270019531);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, 0.0034906585);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_11
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_2.png');
    element:SetName('Layer_11');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(63, 14);
    compositionDanver_idle1:RegisterParentInfo('Layer_11', 'Layer_10');
    element:SetXY(28, 13.9);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, 0.0174532925);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_12
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_1.png');
    element:SetName('Layer_12');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(136, 31.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_12', 'Layer_11');
    element:SetXY(25.3938534893557, 47.5553189048289);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_13
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_13');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_idle1:RegisterParentInfo('Layer_13', 'Layer_12');
    element:SetXY(153.609661440307, 78.7754223014739);

    element:SetScaleX(0.90262901655307);
    element:SetScaleY(0.90262901655307);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.52, -0.06463956654904);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_14
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Head_back.png');
    element:SetName('Layer_14');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(29, 48.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_14', 'Layer_6');
    element:SetXY(127.946990966797, 61.2474212646484);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_15
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/central_lock.png');
    element:SetName('Layer_15');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(25, 24);
    element:SetParentElement(compositionDanver_idle1);
    element:SetScaleX(0.68);
    element:SetScaleY(0.68);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_X, 0, 561.5);
    effector:SetKey(_TRACK_Y, 0, 414.5);
    effector:SetKey(_TRACK_X, 3, 561.5);
    effector:SetKey(_TRACK_Y, 3, 414.5);

    effector:Play();


    -- Layer Layer_16
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_16');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_16', 'Layer_15');
    element:SetXY(25.7352941176471, 25.4705882352943);

    element:SetScaleX(0.49498757921573);
    element:SetScaleY(0.49498757921573);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0.68890202600554);
    effector:SetKey(_TRACK_A, 3, 0.68890202600554);

    effector:Play();


    -- Layer Layer_17
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_17');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_17', 'Layer_16');
    element:SetXY(18.7851184887472, 132.52686632196);

    element:SetScaleX(1.18);
    element:SetScaleY(1.18);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0.34452764482504);
    effector:SetKey(_TRACK_A, 3, 0.34452764482504);

    effector:Play();


    -- Layer Layer_18
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_right.png');
    element:SetName('Layer_18');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(54.5, 40.5);
    element:SetParentElement(compositionDanver_idle1);
    element:SetXY(670.5, 364.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_19
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_left.png');
    element:SetName('Layer_19');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(55.5, 39.5);
    element:SetParentElement(compositionDanver_idle1);
    element:SetXY(454.5, 363.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3, 0);

    effector:Play();


    -- Layer Layer_20
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/door.png');
    element:SetName('Layer_20');
    compositionDanver_idle1:AddElement(element);
    element:SetHotSpot(98.5, 98.5);
    compositionDanver_idle1:RegisterParentInfo('Layer_20', 'Layer_15');
    element:SetXY(23.529411764706, 24.0000000000001);

    element:SetScaleX(1.47058823529412);
    element:SetScaleY(1.47058823529412);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.04);


    effector:Play();

    compositionDanver_idle1:Play();

    return compositionDanver_idle1;
end

createCompositionDanver_idle2 = function()

    local compositionDanver_idle2 = CreateCompositionSequence();
    local compositionDuration = 4.08;
    compositionDanver_idle2:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_1');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_1', 'Layer_7');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 0, 77.8365325927734);
    effector:SetKey(_TRACK_X, 4.04, 56.4838104248046);
    effector:SetKey(_TRACK_Y, 4.04, 77.8365325927734);
    effector:SetKey(_TRACK_A, 0, -0.08376202128981);
    effector:SetKey(_TRACK_A, 2, -0.1129000593871);
    effector:SetKey(_TRACK_A, 4.04, -0.08376202128981);

    effector:Play();


    -- Layer Layer_2
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_2');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_idle2:RegisterParentInfo('Layer_2', 'Layer_12');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 132.090674098535);
    effector:SetKey(_TRACK_Y, 0, 93.9652957191947);
    effector:SetKey(_TRACK_X, 4.04, 132.090674098535);
    effector:SetKey(_TRACK_Y, 4.04, 93.9652957191947);
    effector:SetKey(_TRACK_A, 0, -0.30925685431605);
    effector:SetKey(_TRACK_A, 2, -0.36865072106253);
    effector:SetKey(_TRACK_A, 4.04, -0.30925685431605);

    effector:Play();


    -- Layer Layer_3
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_3.png');
    element:SetName('Layer_3');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(14, 24);
    compositionDanver_idle2:RegisterParentInfo('Layer_3', 'Layer_4');
    element:SetXY(124.505157470703, 7.635498046875);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, 0.08643119550757);
    effector:SetKey(_TRACK_A, 4.04, 0.08643119550757);

    effector:Play();


    -- Layer Layer_4
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_2.png');
    element:SetName('Layer_4');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(23, 58.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_4', 'Layer_5');
    element:SetXY(122.393951416016, 83.859359741211);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2, -0.05892031209922);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_5
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_1.png');
    element:SetName('Layer_5');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(37.5, 40.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_5', 'Layer_7');
    element:SetXY(98.450664556707, 82.5542739918794);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_6
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/head.png');
    element:SetName('Layer_6');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(74, 104);
    compositionDanver_idle2:RegisterParentInfo('Layer_6', 'Layer_12');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 0, 58.8991241455077);
    effector:SetKey(_TRACK_X, 4.04, 53.1060333251954);
    effector:SetKey(_TRACK_Y, 4.04, 58.8991241455077);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2, 0.03719675056023);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_7
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_4.png');
    element:SetName('Layer_7');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(56.5, 76);
    element:SetParentElement(compositionDanver_idle2);
    element:SetScaleX(0.79);
    element:SetScaleY(0.79);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 397.912737181002);
    effector:SetKey(_TRACK_Y, 0, 501.7363);
    effector:SetKey(_TRACK_X, 2, 396.912737181002);
    effector:SetKey(_TRACK_Y, 2, 501.7363);
    effector:SetKey(_TRACK_X, 4.04, 397.912737181002);
    effector:SetKey(_TRACK_Y, 4.04, 501.7363);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2, 0.02285475391545);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_8
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/osheynik.png');
    element:SetName('Layer_8');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(24.5, 49);
    compositionDanver_idle2:RegisterParentInfo('Layer_8', 'Layer_12');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 95.5085066297297);
    effector:SetKey(_TRACK_Y, 0, 60.7234851941814);
    effector:SetKey(_TRACK_X, 4.04, 95.5085066297297);
    effector:SetKey(_TRACK_Y, 4.04, 60.7234851941814);
    effector:SetKey(_TRACK_A, 0, 0.00750904540734);
    effector:SetKey(_TRACK_A, 4.04, 0.00750904540734);

    effector:Play();


    -- Layer Layer_9
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_3.png');
    element:SetName('Layer_9');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(83.5, 11);
    compositionDanver_idle2:RegisterParentInfo('Layer_9', 'Layer_7');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 22.6);
    effector:SetKey(_TRACK_Y, 0, 10.9);
    effector:SetKey(_TRACK_X, 4.04, 22.6);
    effector:SetKey(_TRACK_Y, 4.04, 10.9);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2, -0.08263014851817);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_10
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_2.png');
    element:SetName('Layer_10');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(63, 14);
    compositionDanver_idle2:RegisterParentInfo('Layer_10', 'Layer_9');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 28.01399230957);
    effector:SetKey(_TRACK_Y, 0, 13.8689270019531);
    effector:SetKey(_TRACK_X, 4.04, 28.01399230957);
    effector:SetKey(_TRACK_Y, 4.04, 13.8689270019531);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2, 0.09660331229357);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_11
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_11');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_11', 'Layer_7');
    element:SetScaleX(0.95177817962628);
    element:SetScaleY(0.95177817962628);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 0, 68.3428617066973);
    effector:SetKey(_TRACK_X, 4.04, 65.3445699184752);
    effector:SetKey(_TRACK_Y, 4.04, 68.3428617066973);
    effector:SetKey(_TRACK_A, 0, -0.28363529101999);
    effector:SetKey(_TRACK_A, 2, -0.31277332911728);
    effector:SetKey(_TRACK_A, 4.04, -0.28363529101999);

    effector:Play();


    -- Layer Layer_12
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_1.png');
    element:SetName('Layer_12');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(136, 31.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_12', 'Layer_10');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 0, 47.5553189048288);
    effector:SetKey(_TRACK_X, 4.04, 16.3938534893558);
    effector:SetKey(_TRACK_Y, 4.04, 47.5553189048288);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_13
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_13');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionDanver_idle2:RegisterParentInfo('Layer_13', 'Layer_12');
    element:SetScaleX(0.90262901655307);
    element:SetScaleY(0.90262901655307);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 153.609661440307);
    effector:SetKey(_TRACK_Y, 0, 78.7754223014741);
    effector:SetKey(_TRACK_X, 4.04, 153.609661440307);
    effector:SetKey(_TRACK_Y, 4.04, 78.7754223014741);
    effector:SetKey(_TRACK_A, 0, -0.1582337016076);
    effector:SetKey(_TRACK_A, 2, -0.21762756835408);
    effector:SetKey(_TRACK_A, 4.04, -0.1582337016076);

    effector:Play();


    -- Layer Layer_14
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Head_back.png');
    element:SetName('Layer_14');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(29, 48.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_14', 'Layer_6');
    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 127.946990966797);
    effector:SetKey(_TRACK_Y, 0, 61.2474212646485);
    effector:SetKey(_TRACK_X, 4.04, 127.946990966797);
    effector:SetKey(_TRACK_Y, 4.04, 61.2474212646485);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 4.04, 0);

    effector:Play();


    -- Layer Layer_15
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/central_lock.png');
    element:SetName('Layer_15');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(25, 24);
    element:SetParentElement(compositionDanver_idle2);
    element:SetScaleX(0.68);
    element:SetScaleY(0.68);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 362.5);
    effector:SetKey(_TRACK_Y, 0, 415.5);
    effector:SetKey(_TRACK_X, 4.04, 362.5);
    effector:SetKey(_TRACK_Y, 4.04, 415.5);

    effector:Play();


    -- Layer Layer_16
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_16');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_16', 'Layer_15');
    element:SetScaleX(0.49498757921573);
    element:SetScaleY(0.49498757921573);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 25.7352941176471);
    effector:SetKey(_TRACK_Y, 0, 25.4705882352943);
    effector:SetKey(_TRACK_X, 4.04, 25.7352941176471);
    effector:SetKey(_TRACK_Y, 4.04, 25.4705882352943);
    effector:SetKey(_TRACK_A, 0, 0.87403421601651);
    effector:SetKey(_TRACK_A, 4.04, 0.87403421601651);

    effector:Play();


    -- Layer Layer_17
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_17');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_17', 'Layer_16');
    element:SetScaleX(1.18);
    element:SetScaleY(1.18);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_X, 0, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 0, 132.52686632196);
    effector:SetKey(_TRACK_X, 4.04, 18.7851184887472);
    effector:SetKey(_TRACK_Y, 4.04, 132.52686632196);
    effector:SetKey(_TRACK_A, 0, 0.09367523937964);
    effector:SetKey(_TRACK_A, 4.04, 0.09367523937964);

    effector:Play();


    -- Layer Layer_18
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/door.png');
    element:SetName('Layer_18');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(98.5, 98.5);
    compositionDanver_idle2:RegisterParentInfo('Layer_18', 'Layer_15');
    element:SetXY(23.529411764706, 24.0000000000001);

    element:SetScaleX(1.47058823529412);
    element:SetScaleY(1.47058823529412);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, -2.20323031189834);
    effector:SetKey(_TRACK_A, 4.04, -2.20323031189834);

    effector:Play();


    -- Layer Layer_19
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_right.png');
    element:SetName('Layer_19');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(54.5, 40.5);
    element:SetParentElement(compositionDanver_idle2);
    element:SetXY(670.5, 364.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, 0.7853981625);
    effector:SetKey(_TRACK_A, 4.04, 0.7853981625);

    effector:Play();


    -- Layer Layer_20
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_left.png');
    element:SetName('Layer_20');
    compositionDanver_idle2:AddElement(element);
    element:SetHotSpot(55.5, 39.5);
    element:SetParentElement(compositionDanver_idle2);
    element:SetXY(454.5, 363.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 4.08);

    effector:SetKey(_TRACK_A, 0, -0.7853981625);
    effector:SetKey(_TRACK_A, 4.04, -0.7853981625);

    effector:Play();

    compositionDanver_idle2:Play();

    return compositionDanver_idle2;
end

createCompositionidle1_2 = function()

    local compositionidle1_2 = CreateCompositionSequence();
    local compositionDuration = 120;
    compositionidle1_2:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_1');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionidle1_2:RegisterParentInfo('Layer_1', 'Layer_12');
    element:SetXY(132.090674098535, 93.9652957191946);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.04, 0);
    effector:SetKey(_TRACK_A, 2.16, 0.37820589870348);
    effector:SetKey(_TRACK_A, 3.24, 0.02631202863232);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_2
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_3.png');
    element:SetName('Layer_2');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(14, 24);
    compositionidle1_2:RegisterParentInfo('Layer_2', 'Layer_3');
    element:SetXY(124.505157470703, 7.63549804687499);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.28, 0.38606772311835);
    effector:SetKey(_TRACK_A, 2.44, 0.15984672448772);
    effector:SetKey(_TRACK_A, 3.08, -0.26574442832111);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_3
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_2.png');
    element:SetName('Layer_3');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(23, 58.5);
    compositionidle1_2:RegisterParentInfo('Layer_3', 'Layer_4');
    element:SetXY(122.393951416016, 83.8593597412109);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.28, 0.1360922819543);
    effector:SetKey(_TRACK_A, 2.44, -0.2057274175561);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_4
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/hvost_1.png');
    element:SetName('Layer_4');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(37.5, 40.5);
    compositionidle1_2:RegisterParentInfo('Layer_4', 'Layer_7');
    element:SetXY(98.450664556707, 82.5542739918794);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.28, -0.26709498989422);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_5
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_5');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionidle1_2:RegisterParentInfo('Layer_5', 'Layer_7');
    element:SetXY(56.4838104248046, 77.8365325927734);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.68, -0.04739939068728);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_6
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/head.png');
    element:SetName('Layer_6');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(74, 104);
    compositionidle1_2:RegisterParentInfo('Layer_6', 'Layer_12');
    element:SetXY(53.1060333251954, 58.8991241455077);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1, 0.28624953268411);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_7
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_4.png');
    element:SetName('Layer_7');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(56.5, 76);
    element:SetParentElement(compositionidle1_2);
    element:SetScaleX(0.79);
    element:SetScaleY(0.79);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_X, 0, 620.836594085691);
    effector:SetKey(_TRACK_Y, 0, 497.193162231446);
    effector:SetKey(_TRACK_X, 0.68, 620.836594085691);
    effector:SetKey(_TRACK_Y, 0.68, 500.193162231446);
    effector:SetKey(_TRACK_X, 3.8, 620.836594085691);
    effector:SetKey(_TRACK_Y, 3.8, 497.193162231446);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.68, 0.0376418519429);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_8
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Back_leg.png');
    element:SetName('Layer_8');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(66.5, 57.5);
    compositionidle1_2:RegisterParentInfo('Layer_8', 'Layer_7');
    element:SetXY(65.3445699184753, 68.3428617066972);

    element:SetScaleX(0.95177817962628);
    element:SetScaleY(0.95177817962628);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_9
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/osheynik.png');
    element:SetName('Layer_9');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(24.5, 49);
    compositionidle1_2:RegisterParentInfo('Layer_9', 'Layer_12');
    element:SetXY(95.2960205078126, 66.4720153808593);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_10
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_3.png');
    element:SetName('Layer_10');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(83.5, 11);
    compositionidle1_2:RegisterParentInfo('Layer_10', 'Layer_7');
    element:SetXY(22.6060485839844, 10.8689270019531);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 1.68, 0.15222857805219);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_11
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_2.png');
    element:SetName('Layer_11');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(63, 14);
    compositionidle1_2:RegisterParentInfo('Layer_11', 'Layer_10');
    element:SetXY(28, 13.9);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 2.08, 0.0880008881165);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_12
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/tulo_1.png');
    element:SetName('Layer_12');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(136, 31.5);
    compositionidle1_2:RegisterParentInfo('Layer_12', 'Layer_11');
    element:SetXY(25.3938534893557, 47.5553189048289);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.76, 0.1765417307729);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_13
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Front_leg.png');
    element:SetName('Layer_13');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(71.5, 52);
    compositionidle1_2:RegisterParentInfo('Layer_13', 'Layer_12');
    element:SetXY(153.609661440307, 78.7754223014739);

    element:SetScaleX(0.90262901655307);
    element:SetScaleY(0.90262901655307);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 0.96, 0.44755865983479);
    effector:SetKey(_TRACK_A, 1.68, 0.04104753629936);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_14
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dyno/Head_back.png');
    element:SetName('Layer_14');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(29, 48.5);
    compositionidle1_2:RegisterParentInfo('Layer_14', 'Layer_6');
    element:SetXY(127.946990966797, 61.2474212646484);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 3.8, 0);

    effector:Play();


    -- Layer Layer_15
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/central_lock.png');
    element:SetName('Layer_15');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(25, 24);
    element:SetParentElement(compositionidle1_2);
    element:SetXY(561.5, 414.5);

    element:SetScaleX(0.68);
    element:SetScaleY(0.68);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);


    effector:Play();


    -- Layer Layer_16
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_16');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionidle1_2:RegisterParentInfo('Layer_16', 'Layer_15');
    element:SetXY(25.7352941176471, 25.4705882352943);

    element:SetScaleX(0.49498757921573);
    element:SetScaleY(0.49498757921573);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0.68890202600554);
    effector:SetKey(_TRACK_A, 0.04, 0.68890202600554);
    effector:SetKey(_TRACK_A, 1.76, 0.50259987803904);
    effector:SetKey(_TRACK_A, 3.8, 0.68890202600554);

    effector:Play();


    -- Layer Layer_17
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/chain.png');
    element:SetName('Layer_17');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(22, 13.5);
    compositionidle1_2:RegisterParentInfo('Layer_17', 'Layer_16');
    element:SetXY(18.7851184887472, 132.52686632196);

    element:SetScaleX(1.18);
    element:SetScaleY(1.18);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);

    effector:SetKey(_TRACK_A, 0, 0.34452764482504);
    effector:SetKey(_TRACK_A, 1.76, 1.0775363626801);
    effector:SetKey(_TRACK_A, 3.76, 0.34452764482504);

    effector:Play();


    -- Layer Layer_18
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_right.png');
    element:SetName('Layer_18');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(54.5, 40.5);
    element:SetParentElement(compositionidle1_2);
    element:SetXY(670.5, 364.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);


    effector:Play();


    -- Layer Layer_19
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/lock_left.png');
    element:SetName('Layer_19');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(55.5, 39.5);
    element:SetParentElement(compositionidle1_2);
    element:SetXY(454.5, 363.5);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);


    effector:Play();


    -- Layer Layer_20
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/door.png');
    element:SetName('Layer_20');
    compositionidle1_2:AddElement(element);
    element:SetHotSpot(98.5, 98.5);
    compositionidle1_2:RegisterParentInfo('Layer_20', 'Layer_15');
    element:SetXY(23.529411764706, 24.0000000000001);

    element:SetScaleX(1.47058823529412);
    element:SetScaleY(1.47058823529412);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 3.84);


    effector:Play();

    compositionidle1_2:Play();

    return compositionidle1_2;
end

createCompositionScene = function()

    local compositionScene = CreateCompositionSequence();
    local compositionDuration = 17;
    compositionScene:SetDuration(compositionDuration);


    -- Layer Layer_1
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_1');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(122.256118774414, 651.70051574707);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 0.82257233468765);
    effector:SetKey(_TRACK_SY, 0, 0.9981361334059);
    effector:SetKey(_TRACK_SX, 0.5, 0.9090282201822);
    effector:SetKey(_TRACK_SY, 0.5, 1.2526437172555);
    effector:SetKey(_TRACK_SX, 1, 1.11070521227791);
    effector:SetKey(_TRACK_SY, 1, 1.07680522120765);
    effector:SetKey(_TRACK_SX, 1.5, 1.05119869657613);
    effector:SetKey(_TRACK_SY, 1.5, 0.71466038036167);
    effector:SetKey(_TRACK_SX, 2, 0.70615490251504);
    effector:SetKey(_TRACK_SY, 2, 1.20412844274151);
    effector:SetKey(_TRACK_SX, 2.5, 0.53145932464706);
    effector:SetKey(_TRACK_SY, 2.5, 1.16913591977633);
    effector:SetKey(_TRACK_SX, 3, 0.61387761133794);
    effector:SetKey(_TRACK_SY, 3, 1.26336792148537);
    effector:SetKey(_TRACK_SX, 3.5, 1.12186735711875);
    effector:SetKey(_TRACK_SY, 3.5, 1.00106285846464);
    effector:SetKey(_TRACK_SX, 4, 1.06711409926787);
    effector:SetKey(_TRACK_SY, 4, 0.90700176040867);
    effector:SetKey(_TRACK_SX, 4.5, 1.13484535327342);
    effector:SetKey(_TRACK_SY, 4.5, 1.11056937416642);
    effector:SetKey(_TRACK_SX, 5, 0.86319399672567);
    effector:SetKey(_TRACK_SY, 5, 0.67386781467058);
    effector:SetKey(_TRACK_SX, 5.5, 0.81969901702048);
    effector:SetKey(_TRACK_SY, 5.5, 0.65426730195962);
    effector:SetKey(_TRACK_SX, 6, 0.59784471238472);
    effector:SetKey(_TRACK_SY, 6, 1.21580329854155);
    effector:SetKey(_TRACK_SX, 6.5, 0.63464240518541);
    effector:SetKey(_TRACK_SY, 6.5, 0.91805709046635);
    effector:SetKey(_TRACK_SX, 7, 0.61631298839412);
    effector:SetKey(_TRACK_SY, 7, 0.73858689179086);
    effector:SetKey(_TRACK_SX, 7.5, 0.84230102513841);
    effector:SetKey(_TRACK_SY, 7.5, 0.99120385397842);
    effector:SetKey(_TRACK_SX, 8, 1.01403783351269);
    effector:SetKey(_TRACK_SY, 8, 0.82533117719996);
    effector:SetKey(_TRACK_SX, 8.5, 0.99728927551226);
    effector:SetKey(_TRACK_SY, 8.5, 0.88509404838133);
    effector:SetKey(_TRACK_SX, 9, 0.65554605825099);
    effector:SetKey(_TRACK_SY, 9, 1.17541662902649);
    effector:SetKey(_TRACK_SX, 9.5, 0.97283937164556);
    effector:SetKey(_TRACK_SY, 9.5, 1.14667277087652);
    effector:SetKey(_TRACK_SX, 10, 0.97283937164556);
    effector:SetKey(_TRACK_SY, 10, 1.2739425850188);
    effector:SetKey(_TRACK_SX, 10.5, 0.82804125158575);
    effector:SetKey(_TRACK_SY, 10.5, 0.80698039745204);
    effector:SetKey(_TRACK_SX, 11, 0.59304872862057);
    effector:SetKey(_TRACK_SY, 11, 1.19804000010105);
    effector:SetKey(_TRACK_SX, 11.5, 1.0795580215067);
    effector:SetKey(_TRACK_SY, 11.5, 0.80513250170327);
    effector:SetKey(_TRACK_SX, 12, 0.67947256968017);
    effector:SetKey(_TRACK_SY, 12, 1.02424166641166);
    effector:SetKey(_TRACK_SX, 12.5, 0.9382420633781);
    effector:SetKey(_TRACK_SY, 12.5, 0.99148157241465);
    effector:SetKey(_TRACK_SX, 13, 0.8928137360976);
    effector:SetKey(_TRACK_SY, 13, 0.74935382193399);
    effector:SetKey(_TRACK_SX, 13.5, 0.84779130499314);
    effector:SetKey(_TRACK_SY, 13.5, 1.16187251452104);
    effector:SetKey(_TRACK_SX, 14, 0.54003655173529);
    effector:SetKey(_TRACK_SY, 14, 0.72768110242961);
    effector:SetKey(_TRACK_SX, 14.5, 1.11106838254067);
    effector:SetKey(_TRACK_SY, 14.5, 0.99345764590323);
    effector:SetKey(_TRACK_SX, 15, 0.54336917297007);
    effector:SetKey(_TRACK_SY, 15, 0.95260099134223);
    effector:SetKey(_TRACK_SX, 15.5, 1.16518075169256);
    effector:SetKey(_TRACK_SY, 15.5, 1.08109917549092);
    effector:SetKey(_TRACK_SX, 16, 0.51786180275003);
    effector:SetKey(_TRACK_SY, 16, 0.65964008555287);
    effector:SetKey(_TRACK_SX, 16.5, 1.09127560322001);
    effector:SetKey(_TRACK_SY, 16.5, 1.19047751345289);
    effector:SetKey(_TRACK_SX, 17, 0.55037622274576);
    effector:SetKey(_TRACK_SY, 17, 0.96597420219462);
    effector:SetKey(_TRACK_SX, 17.5, 0.4752427042668);
    effector:SetKey(_TRACK_SY, 17.5, 0.7077921898041);
    effector:SetKey(_TRACK_SX, 18, 0.78158750238686);
    effector:SetKey(_TRACK_SY, 18, 0.70073173263683);
    effector:SetKey(_TRACK_SX, 18.5, 0.57727218514695);
    effector:SetKey(_TRACK_SY, 18.5, 0.78138757540547);
    effector:SetKey(_TRACK_SX, 19, 1.09445868375836);
    effector:SetKey(_TRACK_SY, 19, 1.05803786380538);
    effector:SetKey(_TRACK_SX, 19.5, 0.52744308880002);
    effector:SetKey(_TRACK_SY, 19.5, 0.76792891272655);
    effector:SetKey(_TRACK_SX, 20, 0.71416601125249);
    effector:SetKey(_TRACK_SY, 20, 0.72308806675347);
    effector:SetKey(_TRACK_SX, 20.5, 0.66974174293375);
    effector:SetKey(_TRACK_SY, 20.5, 1.00975758181435);
    effector:SetKey(_TRACK_SX, 21, 0.83017754724907);
    effector:SetKey(_TRACK_SY, 21, 1.04499577878082);
    effector:SetKey(_TRACK_SX, 21.5, 0.91761612874875);
    effector:SetKey(_TRACK_SY, 21.5, 0.74046683197458);
    effector:SetKey(_TRACK_SX, 21.82, 0.82257233468765);
    effector:SetKey(_TRACK_SY, 21.82, 0.9981361334059);

	effector:Play();


    -- Layer Layer_2
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_2');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(849.604766845703, 96.0582733154297);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 0.9222770311306);
    effector:SetKey(_TRACK_SY, 0, 1.09784082984885);
    effector:SetKey(_TRACK_SX, 0.5, 1.00615868035085);
    effector:SetKey(_TRACK_SY, 0.5, 1.25224159891529);
    effector:SetKey(_TRACK_SX, 1, 1.08616295294218);
    effector:SetKey(_TRACK_SY, 1, 0.93445693751815);
    effector:SetKey(_TRACK_SX, 1.5, 0.92918794760144);
    effector:SetKey(_TRACK_SY, 1.5, 0.77560199199369);
    effector:SetKey(_TRACK_SX, 2, 0.80601982113274);
    effector:SetKey(_TRACK_SY, 2, 0.85555285719343);
    effector:SetKey(_TRACK_SX, 2.5, 0.85452441416841);
    effector:SetKey(_TRACK_SY, 2.5, 0.96565753568093);
    effector:SetKey(_TRACK_SX, 3, 0.87280042356811);
    effector:SetKey(_TRACK_SY, 3, 1.08067569419407);
    effector:SetKey(_TRACK_SX, 3.5, 1.19903413431368);
    effector:SetKey(_TRACK_SY, 3.5, 1.07509996251281);
    effector:SetKey(_TRACK_SX, 4, 1.0162313144034);
    effector:SetKey(_TRACK_SY, 4, 1.10918455982107);
    effector:SetKey(_TRACK_SX, 4.5, 0.62740414072257);
    effector:SetKey(_TRACK_SY, 4.5, 1.37997071662518);
    effector:SetKey(_TRACK_SX, 5, 0.99496449107506);
    effector:SetKey(_TRACK_SY, 5, 1.27806941348482);
    effector:SetKey(_TRACK_SX, 5.5, 0.80496235477939);
    effector:SetKey(_TRACK_SY, 5.5, 0.86617024664013);
    effector:SetKey(_TRACK_SX, 6, 0.59211253636452);
    effector:SetKey(_TRACK_SY, 6, 0.75576648675976);
    effector:SetKey(_TRACK_SX, 6.5, 0.87807707385651);
    effector:SetKey(_TRACK_SY, 6.5, 0.90687736050469);
    effector:SetKey(_TRACK_SX, 7, 0.88416551649697);
    effector:SetKey(_TRACK_SY, 7, 1.2341044487337);
    effector:SetKey(_TRACK_SX, 7.5, 0.95892518323485);
    effector:SetKey(_TRACK_SY, 7.5, 1.38314311568521);
    effector:SetKey(_TRACK_SX, 8, 1.08635521955188);
    effector:SetKey(_TRACK_SY, 8, 1.1056596719766);
    effector:SetKey(_TRACK_SX, 8.5, 0.79056372200862);
    effector:SetKey(_TRACK_SY, 8.5, 0.9662129725534);
    effector:SetKey(_TRACK_SX, 9, 1.1859172789409);
    effector:SetKey(_TRACK_SY, 9, 0.75658896059014);
    effector:SetKey(_TRACK_SX, 9.5, 0.65749386514043);
    effector:SetKey(_TRACK_SY, 9.5, 1.21169470722548);
    effector:SetKey(_TRACK_SX, 10, 1.05468463634316);
    effector:SetKey(_TRACK_SY, 10, 0.85539263501868);
    effector:SetKey(_TRACK_SX, 10.5, 1.04483631333526);
    effector:SetKey(_TRACK_SY, 10.5, 1.33122044958822);
    effector:SetKey(_TRACK_SX, 11, 0.89369339515538);
    effector:SetKey(_TRACK_SY, 11, 1.00584125710798);
    effector:SetKey(_TRACK_SX, 11.5, 0.74686579421541);
    effector:SetKey(_TRACK_SY, 11.5, 1.14380323104517);
    effector:SetKey(_TRACK_SX, 12, 0.92025823172876);
    effector:SetKey(_TRACK_SY, 12, 0.82962890931904);
    effector:SetKey(_TRACK_SX, 12.5, 1.23449664232479);
    effector:SetKey(_TRACK_SY, 12.5, 1.31849880891315);
    effector:SetKey(_TRACK_SX, 13, 0.83146310248287);
    effector:SetKey(_TRACK_SY, 13, 1.26132085548439);
    effector:SetKey(_TRACK_SX, 13.5, 0.89592582412355);
    effector:SetKey(_TRACK_SY, 13.5, 1.22974640558053);
    effector:SetKey(_TRACK_SX, 14, 0.7509781633673);
    effector:SetKey(_TRACK_SY, 14, 1.05544604241026);
    effector:SetKey(_TRACK_SX, 14.5, 0.84605400186335);
    effector:SetKey(_TRACK_SY, 14.5, 1.1685308533481);
    effector:SetKey(_TRACK_SX, 15, 0.74987797110069);
    effector:SetKey(_TRACK_SY, 15, 1.03298289351046);
    effector:SetKey(_TRACK_SX, 15.5, 1.04094825522801);
    effector:SetKey(_TRACK_SY, 15.5, 1.13345287855639);
    effector:SetKey(_TRACK_SX, 16, 1.06252484142754);
    effector:SetKey(_TRACK_SY, 16, 1.17069919344637);
    effector:SetKey(_TRACK_SX, 16.5, 0.63346053892808);
    effector:SetKey(_TRACK_SY, 16.5, 1.28774683283966);
    effector:SetKey(_TRACK_SX, 17, 1.08638726398683);
    effector:SetKey(_TRACK_SY, 17, 1.03355969333955);
    effector:SetKey(_TRACK_SX, 17.5, 0.74760281621926);
    effector:SetKey(_TRACK_SY, 17.5, 1.29321574973776);
    effector:SetKey(_TRACK_SX, 18, 0.57290723835128);
    effector:SetKey(_TRACK_SY, 18, 1.04573657862048);
    effector:SetKey(_TRACK_SX, 18.5, 0.93240307257473);
    effector:SetKey(_TRACK_SY, 18.5, 1.03885770658459);
    effector:SetKey(_TRACK_SX, 19, 1.07097389077597);
    effector:SetKey(_TRACK_SY, 19, 1.38033388688794);
    effector:SetKey(_TRACK_SX, 19.5, 1.25681025052816);
    effector:SetKey(_TRACK_SY, 19.5, 1.15119481404026);
    effector:SetKey(_TRACK_SX, 20, 0.88500935328399);
    effector:SetKey(_TRACK_SY, 20, 1.25809504903278);
    effector:SetKey(_TRACK_SX, 20.5, 0.96465045561255);
    effector:SetKey(_TRACK_SY, 20.5, 1.34462570487555);
    effector:SetKey(_TRACK_SX, 21, 0.62940157716777);
    effector:SetKey(_TRACK_SY, 21, 1.09279917208341);
    effector:SetKey(_TRACK_SX, 21.5, 1.19401383950488);
    effector:SetKey(_TRACK_SY, 21.5, 1.10171820647777);
    effector:SetKey(_TRACK_SX, 21.82, 0.9222770311306);
    effector:SetKey(_TRACK_SY, 21.82, 1.09784082984885);

	effector:Play();


    -- Layer Layer_3
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_3');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(71.6150054931641, 723.952392578125);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 0.87123381328252);
    effector:SetKey(_TRACK_SY, 0, 0.73043415312587);
    effector:SetKey(_TRACK_SX, 0.5, 0.61320134158844);
    effector:SetKey(_TRACK_SY, 0.5, 0.74389281580478);
    effector:SetKey(_TRACK_SX, 1, 0.59393195470529);
    effector:SetKey(_TRACK_SY, 1, 0.6700944821154);
    effector:SetKey(_TRACK_SX, 1.5, 1.09266085878562);
    effector:SetKey(_TRACK_SY, 1.5, 1.05114553958175);
    effector:SetKey(_TRACK_SX, 2, 0.7452885024515);
    effector:SetKey(_TRACK_SY, 2, 0.88954545412993);
    effector:SetKey(_TRACK_SX, 2.5, 0.64148589617079);
    effector:SetKey(_TRACK_SY, 2.5, 0.96538395017778);
    effector:SetKey(_TRACK_SX, 3, 0.75858694295566);
    effector:SetKey(_TRACK_SY, 3, 0.58943863934676);
    effector:SetKey(_TRACK_SX, 3.5, 0.80469888484842);
    effector:SetKey(_TRACK_SY, 3.5, 0.84063496491822);
    effector:SetKey(_TRACK_SX, 4, 0.81256045288944);
    effector:SetKey(_TRACK_SY, 4, 1.07985735329677);
    effector:SetKey(_TRACK_SX, 4.5, 0.93728807519237);
    effector:SetKey(_TRACK_SY, 4.5, 0.66943223045977);
    effector:SetKey(_TRACK_SX, 5, 0.68991571885825);
    effector:SetKey(_TRACK_SY, 5, 0.9538799980308);
    effector:SetKey(_TRACK_SX, 5.5, 1.10586316598493);
    effector:SetKey(_TRACK_SY, 5.5, 0.87056446716133);
    effector:SetKey(_TRACK_SX, 6, 1.17972558854421);
    effector:SetKey(_TRACK_SY, 6, 1.07939804972916);
    effector:SetKey(_TRACK_SX, 6.5, 0.93561108309666);
    effector:SetKey(_TRACK_SY, 6.5, 1.0151382761765);
    effector:SetKey(_TRACK_SX, 7, 0.75185761161621);
    effector:SetKey(_TRACK_SY, 7, 0.74831494782785);
    effector:SetKey(_TRACK_SX, 7.5, 1.14664505019771);
    effector:SetKey(_TRACK_SY, 7.5, 0.85931687049395);
    effector:SetKey(_TRACK_SX, 8, 0.53656173466684);
    effector:SetKey(_TRACK_SY, 8, 0.44883834026537);
    effector:SetKey(_TRACK_SX, 8.5, 0.67389350138335);
    effector:SetKey(_TRACK_SY, 8.5, 0.73718484742196);
    effector:SetKey(_TRACK_SX, 9, 0.92584821191529);
    effector:SetKey(_TRACK_SY, 9, 0.47134421507844);
    effector:SetKey(_TRACK_SX, 9.5, 0.94737139072324);
    effector:SetKey(_TRACK_SY, 9.5, 0.82423889570224);
    effector:SetKey(_TRACK_SX, 10, 0.552626678055);
    effector:SetKey(_TRACK_SY, 10, 0.54413848980606);
    effector:SetKey(_TRACK_SX, 10.5, 0.60404731467111);
    effector:SetKey(_TRACK_SY, 10.5, 0.79076314265802);
    effector:SetKey(_TRACK_SX, 11, 0.53675400127654);
    effector:SetKey(_TRACK_SY, 11, 0.74755656286737);
    effector:SetKey(_TRACK_SX, 11.5, 0.57073178380164);
    effector:SetKey(_TRACK_SY, 11.5, 0.76581120931044);
    effector:SetKey(_TRACK_SX, 12, 0.57013362101591);
    effector:SetKey(_TRACK_SY, 12, 0.79271785318995);
    effector:SetKey(_TRACK_SX, 12.5, 1.15031947873862);
    effector:SetKey(_TRACK_SY, 12.5, 0.72587316188468);
    effector:SetKey(_TRACK_SX, 13, 0.94394263618361);
    effector:SetKey(_TRACK_SY, 13, 0.55351682776804);
    effector:SetKey(_TRACK_SX, 13.5, 1.11749529587171);
    effector:SetKey(_TRACK_SY, 13.5, 0.92056446716133);
    effector:SetKey(_TRACK_SX, 14, 1.10959100191743);
    effector:SetKey(_TRACK_SY, 14, 0.86326901747109);
    effector:SetKey(_TRACK_SX, 14.5, 1.20431435162903);
    effector:SetKey(_TRACK_SY, 14.5, 0.96733866070971);
    effector:SetKey(_TRACK_SX, 15, 0.75637587694413);
    effector:SetKey(_TRACK_SY, 15, 0.86684731270715);
    effector:SetKey(_TRACK_SX, 15.5, 0.99278903652542);
    effector:SetKey(_TRACK_SY, 15.5, 0.62812695380948);
    effector:SetKey(_TRACK_SX, 16, 0.59434853235964);
    effector:SetKey(_TRACK_SY, 16, 0.45248072437133);
    effector:SetKey(_TRACK_SX, 16.5, 0.90608747702958);
    effector:SetKey(_TRACK_SY, 16.5, 0.85457429412138);
    effector:SetKey(_TRACK_SX, 17, 0.59885611620924);
    effector:SetKey(_TRACK_SY, 17, 0.40680672308955);
    effector:SetKey(_TRACK_SX, 17.5, 0.91135344583966);
    effector:SetKey(_TRACK_SY, 17.5, 0.71611029070331);
    effector:SetKey(_TRACK_SX, 18, 1.06817891048397);
    effector:SetKey(_TRACK_SY, 18, 0.69472597111348);
    effector:SetKey(_TRACK_SX, 18.5, 1.09646346506633);
    effector:SetKey(_TRACK_SY, 18.5, 0.93268794505067);
    effector:SetKey(_TRACK_SX, 19, 1.14680527237246);
    effector:SetKey(_TRACK_SY, 19, 0.69810131826152);
    effector:SetKey(_TRACK_SX, 19.5, 1.1562904251176);
    effector:SetKey(_TRACK_SY, 19.5, 0.75640082691352);
    effector:SetKey(_TRACK_SX, 20, 0.74627119845663);
    effector:SetKey(_TRACK_SY, 20, 0.50806713753091);
    effector:SetKey(_TRACK_SX, 20.5, 0.89961450116972);
    effector:SetKey(_TRACK_SY, 20.5, 0.77533908796885);
    effector:SetKey(_TRACK_SX, 21, 0.62591230078519);
    effector:SetKey(_TRACK_SY, 21, 0.75706307856915);
    effector:SetKey(_TRACK_SX, 21.5, 0.8297789959358);
    effector:SetKey(_TRACK_SY, 21.5, 0.55817395231407);
    effector:SetKey(_TRACK_SX, 21.82, 0.87123381328252);
    effector:SetKey(_TRACK_SY, 21.82, 0.73043415312587);

	effector:Play();


    -- Layer Layer_4
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_4');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(426.181121826172, 215.582275390625);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 1.00143409483509);
    effector:SetKey(_TRACK_SY, 0, 0.78775294630364);
    effector:SetKey(_TRACK_SX, 0.5, 1.33490984787931);
    effector:SetKey(_TRACK_SY, 0.5, 0.90187386063818);
    effector:SetKey(_TRACK_SX, 1, 1.19930848065009);
    effector:SetKey(_TRACK_SY, 1, 0.76757563376359);
    effector:SetKey(_TRACK_SX, 1.5, 0.65533283442065);
    effector:SetKey(_TRACK_SY, 1.5, 0.82812893434039);
    effector:SetKey(_TRACK_SX, 2, 0.69414932662317);
    effector:SetKey(_TRACK_SY, 2, 0.63808407213146);
    effector:SetKey(_TRACK_SX, 2.5, 0.76941102284193);
    effector:SetKey(_TRACK_SY, 2.5, 0.87567219432757);
    effector:SetKey(_TRACK_SX, 3, 0.93513415892396);
    effector:SetKey(_TRACK_SY, 3, 1.02186958804686);
    effector:SetKey(_TRACK_SX, 3.5, 1.1972576368133);
    effector:SetKey(_TRACK_SY, 3.5, 0.64897918001439);
    effector:SetKey(_TRACK_SX, 4, 1.19632834819976);
    effector:SetKey(_TRACK_SY, 4, 1.11495867157602);
    effector:SetKey(_TRACK_SX, 4.5, 0.70036594700343);
    effector:SetKey(_TRACK_SY, 4.5, 0.60035709071723);
    effector:SetKey(_TRACK_SX, 5, 0.73029544924654);
    effector:SetKey(_TRACK_SY, 5, 0.62776576407762);
    effector:SetKey(_TRACK_SX, 5.5, 0.97887481263043);
    effector:SetKey(_TRACK_SY, 5.5, 0.85940430285139);
    effector:SetKey(_TRACK_SX, 6, 1.09819760690516);
    effector:SetKey(_TRACK_SY, 6, 0.61931671472919);
    effector:SetKey(_TRACK_SX, 6.5, 0.88599935866761);
    effector:SetKey(_TRACK_SY, 6.5, 0.76007723598533);
    effector:SetKey(_TRACK_SX, 7, 1.2581954706095);
    effector:SetKey(_TRACK_SY, 7, 0.96596273053778);
    effector:SetKey(_TRACK_SX, 7.5, 1.07555287287397);
    effector:SetKey(_TRACK_SY, 7.5, 0.94200417467365);
    effector:SetKey(_TRACK_SX, 8, 1.13525165518544);
    effector:SetKey(_TRACK_SY, 8, 0.56754358932864);
    effector:SetKey(_TRACK_SX, 8.5, 0.9712589185907);
    effector:SetKey(_TRACK_SY, 8.5, 0.58985719753201);
    effector:SetKey(_TRACK_SX, 9, 0.78753749154519);
    effector:SetKey(_TRACK_SY, 9, 0.86313213878388);
    effector:SetKey(_TRACK_SX, 9.5, 0.98949220207713);
    effector:SetKey(_TRACK_SY, 9.5, 0.59330731502827);
    effector:SetKey(_TRACK_SX, 10, 0.70792843365158);
    effector:SetKey(_TRACK_SY, 10, 1.059863606419);
    effector:SetKey(_TRACK_SX, 10.5, 1.16615317195536);
    effector:SetKey(_TRACK_SY, 10.5, 1.01589864166788);
    effector:SetKey(_TRACK_SX, 11, 0.9266637466189);
    effector:SetKey(_TRACK_SY, 11, 0.70305950473133);
    effector:SetKey(_TRACK_SX, 11.5, 1.10620871564261);
    effector:SetKey(_TRACK_SY, 11.5, 0.59362775937777);
    effector:SetKey(_TRACK_SX, 12, 1.06079106984043);
    effector:SetKey(_TRACK_SY, 12, 0.63140814818358);
    effector:SetKey(_TRACK_SX, 12.5, 1.30720209312605);
    effector:SetKey(_TRACK_SY, 12.5, 1.06302532400071);
    effector:SetKey(_TRACK_SX, 13, 0.87451676947726);
    effector:SetKey(_TRACK_SY, 13, 0.74263438189433);
    effector:SetKey(_TRACK_SX, 13.5, 1.19229074939608);
    effector:SetKey(_TRACK_SY, 13.5, 0.56843015202891);
    effector:SetKey(_TRACK_SX, 14, 0.99221597904787);
    effector:SetKey(_TRACK_SY, 14, 0.85402083777982);
    effector:SetKey(_TRACK_SX, 14.5, 1.03046635289961);
    effector:SetKey(_TRACK_SY, 14.5, 1.01505480488087);
    effector:SetKey(_TRACK_SX, 15, 0.90558918990025);
    effector:SetKey(_TRACK_SY, 15, 0.60840024388963);
    effector:SetKey(_TRACK_SX, 15.5, 1.26052403288252);
    effector:SetKey(_TRACK_SY, 15.5, 0.64871214305647);
    effector:SetKey(_TRACK_SX, 16, 0.86918671179728);
    effector:SetKey(_TRACK_SY, 16, 0.74407638146707);
    effector:SetKey(_TRACK_SX, 16.5, 0.91179512880219);
    effector:SetKey(_TRACK_SY, 16.5, 0.71097448016393);
    effector:SetKey(_TRACK_SX, 17, 0.8050444345061);
    effector:SetKey(_TRACK_SY, 17, 1.12819302321029);
    effector:SetKey(_TRACK_SX, 17.5, 0.80270519075477);
    effector:SetKey(_TRACK_SY, 17.5, 1.0706732624754);
    effector:SetKey(_TRACK_SX, 18, 0.8868325139763);
    effector:SetKey(_TRACK_SY, 18, 0.75285655664331);
    effector:SetKey(_TRACK_SX, 18.5, 0.82015872632409);
    effector:SetKey(_TRACK_SY, 18.5, 0.9503998166305);
    effector:SetKey(_TRACK_SX, 19, 1.30426468658899);
    effector:SetKey(_TRACK_SY, 19, 0.61046176920473);
    effector:SetKey(_TRACK_SX, 19.5, 1.11945374875519);
    effector:SetKey(_TRACK_SY, 19.5, 1.00532397813445);
    effector:SetKey(_TRACK_SX, 20, 0.8074264041707);
    effector:SetKey(_TRACK_SY, 20, 0.62217935091804);
    effector:SetKey(_TRACK_SX, 20.5, 1.06561909803953);
    effector:SetKey(_TRACK_SY, 20.5, 1.01884672968326);
    effector:SetKey(_TRACK_SX, 21, 1.03916107624932);
    effector:SetKey(_TRACK_SY, 21, 1.00654166666254);
    effector:SetKey(_TRACK_SX, 21.5, 1.18292309291242);
    effector:SetKey(_TRACK_SY, 21.5, 0.97946411912996);
    effector:SetKey(_TRACK_SX, 21.82, 1.00143409483509);
    effector:SetKey(_TRACK_SY, 21.82, 0.78775294630364);

	effector:Play();


    -- Layer Layer_5
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_5');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(685.431488037109, 215.357315063477);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 1.253411094161);
    effector:SetKey(_TRACK_SY, 0, 1.08270075248582);
    effector:SetKey(_TRACK_SX, 0.5, 1.38302015205462);
    effector:SetKey(_TRACK_SY, 0.5, 1.10943649271227);
    effector:SetKey(_TRACK_SX, 1, 1.56939058572263);
    effector:SetKey(_TRACK_SY, 1, 1.08270075248582);
    effector:SetKey(_TRACK_SX, 1.5, 1.09278302323599);
    effector:SetKey(_TRACK_SY, 1.5, 1.25711861191756);
    effector:SetKey(_TRACK_SX, 2, 1.4796020789933);
    effector:SetKey(_TRACK_SY, 2, 0.80069904344929);
    effector:SetKey(_TRACK_SX, 2.5, 1.39268688993114);
    effector:SetKey(_TRACK_SY, 2.5, 1.15029314727326);
    effector:SetKey(_TRACK_SX, 3, 1.38883087625885);
    effector:SetKey(_TRACK_SY, 3, 1.24843457004617);
    effector:SetKey(_TRACK_SX, 3.5, 1.21955080789738);
    effector:SetKey(_TRACK_SY, 3.5, 1.16887891954414);
    effector:SetKey(_TRACK_SX, 4, 1.52562856905953);
    effector:SetKey(_TRACK_SY, 4, 0.93073536047557);
    effector:SetKey(_TRACK_SX, 4.5, 0.99846556970042);
    effector:SetKey(_TRACK_SY, 4.5, 1.38549929980477);
    effector:SetKey(_TRACK_SX, 5, 1.38789090616698);
    effector:SetKey(_TRACK_SY, 5, 1.27479645853154);
    effector:SetKey(_TRACK_SX, 5.5, 1.31980716337698);
    effector:SetKey(_TRACK_SY, 5.5, 0.89728097038798);
    effector:SetKey(_TRACK_SX, 6, 0.9729047920888);
    effector:SetKey(_TRACK_SY, 6, 0.95050677683959);
    effector:SetKey(_TRACK_SX, 6.5, 1.09731197004222);
    effector:SetKey(_TRACK_SY, 6.5, 1.13073536047557);
    effector:SetKey(_TRACK_SX, 7, 1.55421220503475);
    effector:SetKey(_TRACK_SY, 7, 0.90033587318652);
    effector:SetKey(_TRACK_SX, 7.5, 0.97617332445368);
    effector:SetKey(_TRACK_SY, 7.5, 0.76004533697631);
    effector:SetKey(_TRACK_SX, 8, 1.32249889591277);
    effector:SetKey(_TRACK_SY, 8, 1.06047259610898);
    effector:SetKey(_TRACK_SX, 8.5, 1.05727778931161);
    effector:SetKey(_TRACK_SY, 8.5, 1.2338436706657);
    effector:SetKey(_TRACK_SX, 9, 0.90737392261646);
    effector:SetKey(_TRACK_SY, 9, 1.3114552921141);
    effector:SetKey(_TRACK_SX, 9.5, 1.36101630672242);
    effector:SetKey(_TRACK_SY, 9.5, 1.20301692424399);
    effector:SetKey(_TRACK_SX, 10, 1.28727138042462);
    effector:SetKey(_TRACK_SY, 10, 0.99571079307544);
    effector:SetKey(_TRACK_SX, 10.5, 1.24972598414178);
    effector:SetKey(_TRACK_SY, 10.5, 0.94393766767488);
    effector:SetKey(_TRACK_SX, 11, 1.09769650326162);
    effector:SetKey(_TRACK_SY, 11, 1.0626729806422);
    effector:SetKey(_TRACK_SX, 11.5, 1.36014042550046);
    effector:SetKey(_TRACK_SY, 11.5, 1.16146597359242);
    effector:SetKey(_TRACK_SX, 12, 0.94566702238147);
    effector:SetKey(_TRACK_SY, 12, 0.83389707805728);
    effector:SetKey(_TRACK_SX, 12.5, 1.15061254684205);
    effector:SetKey(_TRACK_SY, 12.5, 1.21451019491265);
    effector:SetKey(_TRACK_SX, 13, 1.14565634090315);
    effector:SetKey(_TRACK_SY, 13, 1.15057086570949);
    effector:SetKey(_TRACK_SX, 13.5, 0.91710474936288);
    effector:SetKey(_TRACK_SY, 13.5, 0.98156851578426);
    effector:SetKey(_TRACK_SX, 14, 1.39201395679719);
    effector:SetKey(_TRACK_SY, 14, 1.28081013082378);
    effector:SetKey(_TRACK_SX, 14.5, 1.00165933171708);
    effector:SetKey(_TRACK_SY, 14.5, 0.90304896867894);
    effector:SetKey(_TRACK_SX, 15, 1.46321669125564);
    effector:SetKey(_TRACK_SY, 15, 1.08470887040934);
    effector:SetKey(_TRACK_SX, 15.5, 1.29710902195421);
    effector:SetKey(_TRACK_SY, 15.5, 0.74584965229355);
    effector:SetKey(_TRACK_SX, 16, 0.96745723814733);
    effector:SetKey(_TRACK_SY, 16, 1.15567661234482);
    effector:SetKey(_TRACK_SX, 16.5, 1.35407334581663);
    effector:SetKey(_TRACK_SY, 16.5, 0.91972275633115);
    effector:SetKey(_TRACK_SX, 17, 1.09818785126419);
    effector:SetKey(_TRACK_SY, 17, 0.8486481996125);
    effector:SetKey(_TRACK_SX, 17.5, 1.25743801148636);
    effector:SetKey(_TRACK_SY, 17.5, 1.22665503575862);
    effector:SetKey(_TRACK_SX, 18, 1.28979220930734);
    effector:SetKey(_TRACK_SY, 18, 1.39007097252427);
    effector:SetKey(_TRACK_SX, 18.5, 1.32133461477626);
    effector:SetKey(_TRACK_SY, 18.5, 1.3482636663931);
    effector:SetKey(_TRACK_SX, 19, 0.95542989356284);
    effector:SetKey(_TRACK_SY, 19, 0.74255975697204);
    effector:SetKey(_TRACK_SX, 19.5, 1.07255230330435);
    effector:SetKey(_TRACK_SY, 19.5, 1.15285670206924);
    effector:SetKey(_TRACK_SX, 20, 1.21567343126846);
    effector:SetKey(_TRACK_SY, 20, 1.38078876786715);
    effector:SetKey(_TRACK_SX, 20.5, 1.58865997260578);
    effector:SetKey(_TRACK_SY, 20.5, 0.81807780867039);
    effector:SetKey(_TRACK_SX, 21, 1.29954439901039);
    effector:SetKey(_TRACK_SY, 21, 1.19500581550654);
    effector:SetKey(_TRACK_SX, 21.5, 1.30905091471217);
    effector:SetKey(_TRACK_SY, 21.5, 0.8800517458633);
    effector:SetKey(_TRACK_SX, 21.82, 1.253411094161);
    effector:SetKey(_TRACK_SY, 21.82, 1.08270075248582);

	effector:Play();


    -- Layer Layer_6
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/light1.png');
    element:SetName('Layer_6');
    compositionScene:AddElement(element);
    element:SetHotSpot(107, 107.5);
    element:SetParentElement(compositionScene);
    element:SetXY(730.676651000977, 85.2389373779297);

    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_SX, 0, 0.91714847187957);
    effector:SetKey(_TRACK_SY, 0, 0.91714847187957);
    effector:SetKey(_TRACK_SX, 0.5, 1.2413633832233);
    effector:SetKey(_TRACK_SY, 0.5, 0.78857551738267);
    effector:SetKey(_TRACK_SX, 1, 1.14321127897207);
    effector:SetKey(_TRACK_SY, 1, 1.05376457954887);
    effector:SetKey(_TRACK_SX, 1.5, 0.9442580638471);
    effector:SetKey(_TRACK_SY, 1.5, 0.7339611187499);
    effector:SetKey(_TRACK_SX, 2, 0.60148942466743);
    effector:SetKey(_TRACK_SY, 2, 1.16953044154417);
    effector:SetKey(_TRACK_SX, 2.5, 0.61298269533609);
    effector:SetKey(_TRACK_SY, 2.5, 0.8252770768785);
    effector:SetKey(_TRACK_SX, 3, 0.89420465645551);
    effector:SetKey(_TRACK_SY, 3, 1.12976329777147);
    effector:SetKey(_TRACK_SX, 3.5, 1.20430933494302);
    effector:SetKey(_TRACK_SY, 3.5, 1.06807776049311);
    effector:SetKey(_TRACK_SX, 4, 0.68966502817096);
    effector:SetKey(_TRACK_SY, 4, 0.95641358617139);
    effector:SetKey(_TRACK_SX, 4.5, 1.22241444068965);
    effector:SetKey(_TRACK_SY, 4.5, 1.10471523111905);
    effector:SetKey(_TRACK_SX, 5, 1.16320700638074);
    effector:SetKey(_TRACK_SY, 5, 0.74458918967491);
    effector:SetKey(_TRACK_SX, 5.5, 1.05894509653242);
    effector:SetKey(_TRACK_SY, 5.5, 0.63024396429572);
    effector:SetKey(_TRACK_SX, 6, 0.90882760027094);
    effector:SetKey(_TRACK_SY, 6, 0.7859585551951);
    effector:SetKey(_TRACK_SX, 6.5, 0.92974193481484);
    effector:SetKey(_TRACK_SY, 6.5, 0.70722537852345);
    effector:SetKey(_TRACK_SX, 7, 1.0857021997155);
    effector:SetKey(_TRACK_SY, 7, 1.05171373571208);
    effector:SetKey(_TRACK_SX, 7.5, 1.08118393438758);
    effector:SetKey(_TRACK_SY, 7.5, 1.23050031977532);
    effector:SetKey(_TRACK_SX, 8, 1.2568088008691);
    effector:SetKey(_TRACK_SY, 8, 0.73169664534678);
    effector:SetKey(_TRACK_SX, 8.5, 0.98156846760698);
    effector:SetKey(_TRACK_SY, 8.5, 1.22431574383001);
    effector:SetKey(_TRACK_SX, 9, 0.90691561565227);
    effector:SetKey(_TRACK_SY, 9, 0.95364708328739);
    effector:SetKey(_TRACK_SX, 9.5, 0.83014783099087);
    effector:SetKey(_TRACK_SY, 9.5, 0.97820380193725);
    effector:SetKey(_TRACK_SX, 10, 1.14790044795306);
    effector:SetKey(_TRACK_SY, 10, 1.0562960899099);
    effector:SetKey(_TRACK_SX, 10.5, 0.92531980279177);
    effector:SetKey(_TRACK_SY, 10.5, 0.72179491494729);
    effector:SetKey(_TRACK_SX, 11, 1.04671480385991);
    effector:SetKey(_TRACK_SY, 11, 0.56888955284517);
    effector:SetKey(_TRACK_SX, 11.5, 0.89787908499642);
    effector:SetKey(_TRACK_SY, 11.5, 0.93480495553691);
    effector:SetKey(_TRACK_SX, 12, 0.57209399634015);
    effector:SetKey(_TRACK_SY, 12, 0.58624695510965);
    effector:SetKey(_TRACK_SX, 12.5, 0.59184404974755);
    effector:SetKey(_TRACK_SY, 12.5, 0.57613159514383);
    effector:SetKey(_TRACK_SX, 13, 1.00152146910238);
    effector:SetKey(_TRACK_SY, 13, 1.1200004265901);
    effector:SetKey(_TRACK_SX, 13.5, 0.78798803607525);
    effector:SetKey(_TRACK_SY, 13.5, 1.26169023645979);
    effector:SetKey(_TRACK_SX, 14, 1.16241657698531);
    effector:SetKey(_TRACK_SY, 14, 0.82597137296908);
    effector:SetKey(_TRACK_SX, 14.5, 0.79235676070674);
    effector:SetKey(_TRACK_SY, 14.5, 0.70466182372746);
    effector:SetKey(_TRACK_SX, 15, 0.92850288333011);
    effector:SetKey(_TRACK_SY, 15, 1.21336722855549);
    effector:SetKey(_TRACK_SX, 15.5, 0.71957316745744);
    effector:SetKey(_TRACK_SY, 15.5, 1.02979534220642);
    effector:SetKey(_TRACK_SX, 16, 0.97443324009149);
    effector:SetKey(_TRACK_SY, 16, 0.96875069362706);
    effector:SetKey(_TRACK_SX, 16.5, 0.61161546611157);
    effector:SetKey(_TRACK_SY, 16.5, 0.66707370153135);
    effector:SetKey(_TRACK_SX, 17, 0.79279470131772);
    effector:SetKey(_TRACK_SY, 17, 0.97286306277895);
    effector:SetKey(_TRACK_SX, 17.5, 0.82743473549845);
    effector:SetKey(_TRACK_SY, 17.5, 0.66018414801715);
    effector:SetKey(_TRACK_SX, 18, 0.66438196899557);
    effector:SetKey(_TRACK_SY, 18, 0.79434351567363);
    effector:SetKey(_TRACK_SX, 18.5, 0.62987011255464);
    effector:SetKey(_TRACK_SY, 18.5, 1.1219978630353);
    effector:SetKey(_TRACK_SX, 19, 0.83585174041193);
    effector:SetKey(_TRACK_SY, 19, 0.63962230225769);
    effector:SetKey(_TRACK_SX, 19.5, 1.0126622509866);
    effector:SetKey(_TRACK_SY, 19.5, 0.81741550883748);
    effector:SetKey(_TRACK_SX, 20, 1.16762913840382);
    effector:SetKey(_TRACK_SY, 20, 0.77605682479561);
    effector:SetKey(_TRACK_SX, 20.5, 0.7066165342594);
    effector:SetKey(_TRACK_SY, 20.5, 1.06351676925192);
    effector:SetKey(_TRACK_SX, 21, 0.59715274447089);
    effector:SetKey(_TRACK_SY, 21, 0.88454860005731);
    effector:SetKey(_TRACK_SX, 21.5, 0.82835334263368);
    effector:SetKey(_TRACK_SY, 21.5, 0.95961802966637);
    effector:SetKey(_TRACK_SX, 21.82, 0.91714847187957);
    effector:SetKey(_TRACK_SY, 21.82, 0.91714847187957);

	effector:Play();


    -- Layer Layer_7
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust.png');
--    element:SetName('Layer_7');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(514, 514);
--    element:SetParentElement(compositionScene);
--    element:SetXY(514, 254);
--
--    element:SetAngle(0);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(-5.48, 1.66);
--
--    effector:SetKey(_TRACK_SX, -5.48, 1);
--    effector:SetKey(_TRACK_SY, -5.48, 1);
--    effector:SetKey(_TRACK_SX, 1.64, 1.38);
--    effector:SetKey(_TRACK_SY, 1.64, 1.38);
--    effector:SetKey(_TRACK_O, -5.48, 0);
--    effector:SetKey(_TRACK_O, -3.84, 1);
--    effector:SetKey(_TRACK_O, -0.04, 1);
--    effector:SetKey(_TRACK_O, 1.64, 0);
--
--	effector:Play();


    -- Layer Layer_8
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust.png');
--    element:SetName('Layer_8');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(514, 514);
--    element:SetParentElement(compositionScene);
--    element:SetXY(514, 254);
--
--    element:SetAngle(0);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(16.36, 21.84);
--
--    effector:SetKey(_TRACK_SX, 16.36, 1);
--    effector:SetKey(_TRACK_SY, 16.36, 1);
--    effector:SetKey(_TRACK_SX, 21.8, 1.29033707865169);
--    effector:SetKey(_TRACK_SY, 21.8, 1.29033707865169);
--    effector:SetKey(_TRACK_O, 16.36, 0);
--    effector:SetKey(_TRACK_O, 18, 1);
--    effector:SetKey(_TRACK_O, 21.8, 1);
--
--	effector:Play();


    -- Layer Layer_9
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust.png');
--    element:SetName('Layer_9');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(514, 514);
--    element:SetParentElement(compositionScene);
--    element:SetXY(514, 254);
--
--    element:SetAngle(0);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(10.84, 17.98);
--
--    effector:SetKey(_TRACK_SX, 10.84, 1);
--    effector:SetKey(_TRACK_SY, 10.84, 1);
--    effector:SetKey(_TRACK_SX, 17.96, 1.38);
--    effector:SetKey(_TRACK_SY, 17.96, 1.38);
--    effector:SetKey(_TRACK_O, 10.84, 0);
--    effector:SetKey(_TRACK_O, 12.48, 1);
--    effector:SetKey(_TRACK_O, 16.28, 1);
--    effector:SetKey(_TRACK_O, 17.96, 0);
--
--	effector:Play();


    -- Layer Layer_10
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust.png');
--    element:SetName('Layer_10');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(514, 514);
--    element:SetParentElement(compositionScene);
--    element:SetXY(514, 254);
--
--    element:SetAngle(0);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(5.36, 12.5);
--
--    effector:SetKey(_TRACK_SX, 5.36, 1);
--    effector:SetKey(_TRACK_SY, 5.36, 1);
--    effector:SetKey(_TRACK_SX, 12.48, 1.38);
--    effector:SetKey(_TRACK_SY, 12.48, 1.38);
--    effector:SetKey(_TRACK_O, 5.36, 0);
--    effector:SetKey(_TRACK_O, 7, 1);
--    effector:SetKey(_TRACK_O, 10.8, 1);
--    effector:SetKey(_TRACK_O, 12.48, 0);
--
--	effector:Play();


    -- Layer Layer_11
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/dust.png');
--    element:SetName('Layer_11');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(514, 514);
--    element:SetParentElement(compositionScene);
--    element:SetXY(514, 254);
--
--    element:SetAngle(0);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 7.14);
--
--    effector:SetKey(_TRACK_SX, 0, 1);
--    effector:SetKey(_TRACK_SY, 0, 1);
--    effector:SetKey(_TRACK_SX, 7.12, 1.38);
--    effector:SetKey(_TRACK_SY, 7.12, 1.38);
--    effector:SetKey(_TRACK_O, 0, 0);
--    effector:SetKey(_TRACK_O, 1.64, 1);
--    effector:SetKey(_TRACK_O, 5.44, 1);
--    effector:SetKey(_TRACK_O, 7.12, 0);
--
--	effector:Play();


    -- Layer Layer_12
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine1.png');
    element:SetName('Layer_12');
    compositionScene:AddElement(element);
    element:SetHotSpot(185.5, 185);
    element:SetParentElement(compositionScene);
    element:SetXY(412.338180541992, 154.399108886719);

    element:SetScaleX(0.58193758406725);
    element:SetScaleY(1);
    element:SetAngle(2.31786292302009);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, -1.6, 0);
    effector:SetKey(_TRACK_O, 0.38, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.68, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.48, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.42, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.56, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.84, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.42, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.42, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.4, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.64, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.42, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.42, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.56, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.42, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.96, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.8, 0.43797781735938);

	effector:Play();


    -- Layer Layer_13
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine2.png');
    element:SetName('Layer_13');
    compositionScene:AddElement(element);
    element:SetHotSpot(173, 184.5);
    element:SetParentElement(compositionScene);
    element:SetXY(395.086608886719, 169.059478759766);

    element:SetScaleX(0.58193758406725);
    element:SetScaleY(1);
    element:SetAngle(2.36675535702828);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, 0, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.3, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.1, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.18, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.46, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.02, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.26, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.18, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.58, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.42, 0.43797781735938);

	effector:Play();


    -- Layer Layer_14
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine1.png');
    element:SetName('Layer_14');
    compositionScene:AddElement(element);
    element:SetHotSpot(185.5, 185);
    element:SetParentElement(compositionScene);
    element:SetXY(105.90315246582, 243.572525024414);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(2.15801639917108);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, 0, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.3, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.1, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.18, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.46, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.02, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.26, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.18, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.58, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.42, 0.43797781735938);

	effector:Play();


    -- Layer Layer_15
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine1.png');
    element:SetName('Layer_15');
    compositionScene:AddElement(element);
    element:SetHotSpot(185.5, 185);
    element:SetParentElement(compositionScene);
    element:SetXY(307.511245727539, 77.2863616943359);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(2.15801639917108);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, 0, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.3, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.1, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.18, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.46, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.02, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.26, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.18, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.58, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.42, 0.43797781735938);

	effector:Play();


    -- Layer Layer_16
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine2.png');
    element:SetName('Layer_16');
    compositionScene:AddElement(element);
    element:SetHotSpot(173, 184.5);
    element:SetParentElement(compositionScene);
    element:SetXY(128.90315246582, 248.572525024414);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(2.20690883317927);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, 0, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.3, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.1, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.18, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.46, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.02, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.26, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.18, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.58, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.42, 0.43797781735938);

    effector:Play();


    -- Layer Layer_17
    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/shine2.png');
    element:SetName('Layer_17');
    compositionScene:AddElement(element);
    element:SetHotSpot(173, 184.5);
    element:SetParentElement(compositionScene);
    element:SetXY(330.511245727539, 82.2863616943359);

    element:SetScaleX(1);
    element:SetScaleY(1);
    element:SetAngle(2.20690883317927);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 21.84);

    effector:SetKey(_TRACK_O, 0, 0.50836724869482);
    effector:SetKey(_TRACK_O, 0.3, 0.43797781735938);
    effector:SetKey(_TRACK_O, 1.1, 0.5083672456376);
    effector:SetKey(_TRACK_O, 2.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 3.18, 0.50836724727247);
    effector:SetKey(_TRACK_O, 4.46, 0.43797781824013);
    effector:SetKey(_TRACK_O, 6.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 8.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 10.02, 0.50836724869482);
    effector:SetKey(_TRACK_O, 12.26, 0.43797782371303);
    effector:SetKey(_TRACK_O, 14.04, 0.50836724869482);
    effector:SetKey(_TRACK_O, 16.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 17.18, 0.50836724748593);
    effector:SetKey(_TRACK_O, 18.04, 0.43797781735938);
    effector:SetKey(_TRACK_O, 19.58, 0.50836724748593);
    effector:SetKey(_TRACK_O, 21.42, 0.43797781735938);

    effector:Play();

--    -- Layer Layer_18
--    local element = CreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Dino/Lok_03.jpg');
--    element:SetName('Layer_18');
--    compositionScene:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionScene);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 21.84);
--
--
--	  effector:Play();

    compositionScene:Play();

    return compositionScene;
end



------------------------------------------------------------------------------
--// Env
--createCompositionbackground01 = function()
--
--    local compositionbackground01 = CreateCompositionSequence();
--    local compositionDuration = 10;
--    compositionbackground01:SetDuration(compositionDuration);
--
--
--    -- Layer Layer_1
--    local element = createCompositionEnv();
--    element:SetName('Layer_1');
--    compositionbackground01:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionbackground01);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_2
--    local element = createCompositionFly2();
--    element:SetName('Layer_2');
--    compositionbackground01:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionbackground01);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer Layer_3
--    local element = createCompositionFly1();
--    element:SetName('Layer_3');
--    compositionbackground01:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionbackground01);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--
--    -- Layer BG
--    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/background01.jpg');
--    element:SetName('BG');
--    compositionbackground01:AddElement(element);
--    element:SetHotSpot(512, 384);
--    element:SetParentElement(compositionbackground01);
--    element:SetXY(512, 384);
--
--    element:SetScaleX(1);
--    element:SetScaleY(1);
--    element:SetAngle(0);
--    element:SetOpacity(1);
--
--    effector = element:GetEffector();
--    effector:SetLifeTime(0, 10);
--
--
--    effector:Play();
--
--    compositionbackground01:Play();
--
--    return compositionbackground01;
--end

createCompositionEnv = function()

    local compositionEnv = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionEnv:SetDuration(compositionDuration);


    -- Layer Light2
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/EF_light02.jpg');
    element:SetName('Light2');
    compositionEnv:AddElement(element);
    element:SetHotSpot(107, 83);
    element:SetParentElement(compositionEnv);
    element:SetXY(437.675674438477, 704);

    element:SetScaleX(3.65420560747664);
    element:SetScaleY(9.04819277108434);
    element:SetAngle(-0.76628151479135);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.73333333333333, 0.51629495829441);
    effector:SetKey(_TRACK_O, 2.03333333333333, 0.27931040492881);
    effector:SetKey(_TRACK_O, 3.36666666666667, 0.79999997820173);
    effector:SetKey(_TRACK_O, 4.96666666666667, 0.21408647897086);
    effector:SetKey(_TRACK_O, 6.46666666666667, 0.51629495829441);
    effector:SetKey(_TRACK_O, 7.33333333333333, 0.34098201725046);
    effector:SetKey(_TRACK_O, 8.63333333333333, 0.71151723276972);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();


    -- Layer Light1
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/EF_light02.jpg');
    element:SetName('Light1');
    compositionEnv:AddElement(element);
    element:SetHotSpot(107, 83);
    element:SetParentElement(compositionEnv);
    element:SetXY(913.675674438477, 240);

    element:SetScaleX(3.65420560747664);
    element:SetScaleY(9.04819277108434);
    element:SetAngle(-0.78494378419526);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 1.13333333333333, 0.51629495829441);
    effector:SetKey(_TRACK_O, 2.03333333333333, 0.27931040492881);
    effector:SetKey(_TRACK_O, 3.36666666666667, 0.79999997820173);
    effector:SetKey(_TRACK_O, 5.33333333333333, 0.21408647897086);
    effector:SetKey(_TRACK_O, 6.16666666666667, 0.51629495829441);
    effector:SetKey(_TRACK_O, 7.03333333333333, 0.34098201725046);
    effector:SetKey(_TRACK_O, 8.33333333333333, 0.71151723276972);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();


    -- Layer Dust3
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/EF_Dust_01.jpg');
    element:SetName('Dust3');
    compositionEnv:AddElement(element);
    element:SetHotSpot(130.5, 131);
    element:SetParentElement(compositionEnv);
    element:SetScaleX(1.5);
    element:SetScaleY(1.5);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 182.108108520508);
    effector:SetKey(_TRACK_Y, 0, 706.756759643555);
    effector:SetKey(_TRACK_X, 9.96666666666667, 240.108108520508);
    effector:SetKey(_TRACK_Y, 9.96666666666667, 603.567581176758);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 9.96666666666667, 0.523598775);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.9, 0.8);
    effector:SetKey(_TRACK_O, 1.73333333333333, 0.30593408605555);
    effector:SetKey(_TRACK_O, 2.4, 0.73230767218621);
    effector:SetKey(_TRACK_O, 3.53333333333333, 0.14659342671489);
    effector:SetKey(_TRACK_O, 4.43333333333333, 0.8);
    effector:SetKey(_TRACK_O, 5.46666666666667, 0.40153848165994);
    effector:SetKey(_TRACK_O, 6.63333333333333, 1);
    effector:SetKey(_TRACK_O, 7.86666666666667, 0.14659342671489);
    effector:SetKey(_TRACK_O, 9.03333333333333, 0.8);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();


    -- Layer Dust2
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/EF_Dust_01.jpg');
    element:SetName('Dust2');
    compositionEnv:AddElement(element);
    element:SetHotSpot(130.5, 131);
    element:SetParentElement(compositionEnv);
    element:SetScaleX(1.5);
    element:SetScaleY(1.5);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 694);
    effector:SetKey(_TRACK_Y, 0, 590);
    effector:SetKey(_TRACK_X, 9.96666666666667, 704);
    effector:SetKey(_TRACK_Y, 9.96666666666667, 396);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 9.96666666666667, -0.523598775);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 1.03333333333333, 0.8);
    effector:SetKey(_TRACK_O, 1.93333333333333, 0);
    effector:SetKey(_TRACK_O, 3, 0.8);
    effector:SetKey(_TRACK_O, 3.86666666666667, 0);
    effector:SetKey(_TRACK_O, 4.73333333333333, 1);
    effector:SetKey(_TRACK_O, 5.76666666666667, 0);
    effector:SetKey(_TRACK_O, 6.9, 0.8);
    effector:SetKey(_TRACK_O, 7.63333333333333, 0);
    effector:SetKey(_TRACK_O, 8.76666666666667, 1);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();


    -- Layer Dust1
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/EF_Dust_01.jpg');
    element:SetName('Dust1');
    compositionEnv:AddElement(element);
    element:SetHotSpot(130.5, 131);
    element:SetParentElement(compositionEnv);
    element:SetScaleX(1.5);
    element:SetScaleY(1.5);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 652);
    effector:SetKey(_TRACK_Y, 0, 360);
    effector:SetKey(_TRACK_X, 9.96666666666667, 662);
    effector:SetKey(_TRACK_Y, 9.96666666666667, 166);
    effector:SetKey(_TRACK_A, 0, 0);
    effector:SetKey(_TRACK_A, 9.96666666666667, 0.523598775);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 1.13333333333333, 0.8);
    effector:SetKey(_TRACK_O, 2.16666666666667, 0.30593408605555);
    effector:SetKey(_TRACK_O, 2.83333333333333, 0.73230767218621);
    effector:SetKey(_TRACK_O, 4.33333333333333, 0.14659342671489);
    effector:SetKey(_TRACK_O, 5.23333333333333, 0.8);
    effector:SetKey(_TRACK_O, 6.26666666666667, 0.40153848165994);
    effector:SetKey(_TRACK_O, 7.1, 1);
    effector:SetKey(_TRACK_O, 8.1, 0.14659342671489);
    effector:SetKey(_TRACK_O, 9.03333333333333, 0.8);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();

    compositionEnv:Play();

    return compositionEnv;
end

createCompositionFly1 = function()

    local compositionFly1 = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionFly1:SetDuration(compositionDuration);


    -- Layer Fly1
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/Bug_fly[01-02].png');
    element:SetName('Fly1');
    compositionFly1:AddElement(element);
    element:SetHotSpot(9.5, 9);
    element:SetParentElement(compositionFly1);
    element:SetAngle(0);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, 883.513519287109);
    effector:SetKey(_TRACK_Y, 0, 145.148651123047);
    effector:SetKey(_TRACK_X, 0.2, 886.013519287109);
    effector:SetKey(_TRACK_Y, 0.2, 182.148651123047);
    effector:SetKey(_TRACK_X, 0.43333333333333, 884.763519287109);
    effector:SetKey(_TRACK_Y, 0.43333333333333, 225.148651123047);
    effector:SetKey(_TRACK_X, 0.63333333333333, 878.513519287109);
    effector:SetKey(_TRACK_Y, 0.63333333333333, 280.398651123047);
    effector:SetKey(_TRACK_X, 0.83333333333333, 842.513519287109);
    effector:SetKey(_TRACK_Y, 0.83333333333333, 345.898651123047);
    effector:SetKey(_TRACK_X, 1.06666666666667, 757.513519287109);
    effector:SetKey(_TRACK_Y, 1.06666666666667, 379.898651123047);
    effector:SetKey(_TRACK_X, 1.36666666666667, 633.513519287109);
    effector:SetKey(_TRACK_Y, 1.36666666666667, 361.398651123047);
    effector:SetKey(_TRACK_X, 1.6, 526.513519287109);
    effector:SetKey(_TRACK_Y, 1.6, 305.898651123047);
    effector:SetKey(_TRACK_X, 1.83333333333333, 478.013519287109);
    effector:SetKey(_TRACK_Y, 1.83333333333333, 213.898651123047);
    effector:SetKey(_TRACK_X, 2.2, 478.013519287109);
    effector:SetKey(_TRACK_Y, 2.2, 213.898651123047);
    effector:SetKey(_TRACK_X, 2.3, 452.013519287109);
    effector:SetKey(_TRACK_Y, 2.3, 238.898651123047);
    effector:SetKey(_TRACK_X, 2.43333333333333, 410.513519287109);
    effector:SetKey(_TRACK_Y, 2.43333333333333, 221.898651123047);
    effector:SetKey(_TRACK_X, 3.03333333333333, 410.513519287109);
    effector:SetKey(_TRACK_Y, 3.03333333333333, 221.898651123047);
    effector:SetKey(_TRACK_X, 3.16666666666667, 407.013519287109);
    effector:SetKey(_TRACK_Y, 3.16666666666667, 249.398651123047);
    effector:SetKey(_TRACK_X, 3.3, 422.513519287109);
    effector:SetKey(_TRACK_Y, 3.3, 278.398651123047);
    effector:SetKey(_TRACK_X, 3.4, 456.513519287109);
    effector:SetKey(_TRACK_Y, 3.4, 286.398651123047);
    effector:SetKey(_TRACK_X, 3.56666666666667, 523.013519287109);
    effector:SetKey(_TRACK_Y, 3.56666666666667, 276.898651123047);
    effector:SetKey(_TRACK_X, 3.76666666666667, 571.013519287109);
    effector:SetKey(_TRACK_Y, 3.76666666666667, 248.398651123047);
    effector:SetKey(_TRACK_X, 4.4, 571.013519287109);
    effector:SetKey(_TRACK_Y, 4.4, 248.398651123047);
    effector:SetKey(_TRACK_X, 4.53333333333333, 594.263519287109);
    effector:SetKey(_TRACK_Y, 4.53333333333333, 288.148651123047);
    effector:SetKey(_TRACK_X, 4.63333333333333, 608.513519287109);
    effector:SetKey(_TRACK_Y, 4.63333333333333, 331.648651123047);
    effector:SetKey(_TRACK_X, 4.7, 631.013519287109);
    effector:SetKey(_TRACK_Y, 4.7, 344.648651123047);
    effector:SetKey(_TRACK_X, 4.83333333333333, 679.513519287109);
    effector:SetKey(_TRACK_Y, 4.83333333333333, 320.148651123047);
    effector:SetKey(_TRACK_X, 4.96666666666667, 697.013519287109);
    effector:SetKey(_TRACK_Y, 4.96666666666667, 269.148651123047);
    effector:SetKey(_TRACK_X, 5.1, 684.513519287109);
    effector:SetKey(_TRACK_Y, 5.1, 219.148651123047);
    effector:SetKey(_TRACK_X, 5.2, 659.013519287109);
    effector:SetKey(_TRACK_Y, 5.2, 182.648651123047);
    effector:SetKey(_TRACK_X, 5.3, 624.013519287109);
    effector:SetKey(_TRACK_Y, 5.3, 173.648651123047);
    effector:SetKey(_TRACK_X, 5.4, 588.013519287109);
    effector:SetKey(_TRACK_Y, 5.4, 175.148651123047);
    effector:SetKey(_TRACK_X, 5.56666666666667, 517.513519287109);
    effector:SetKey(_TRACK_Y, 5.56666666666667, 172.648651123047);
    effector:SetKey(_TRACK_X, 5.73333333333333, 456.513519287109);
    effector:SetKey(_TRACK_Y, 5.73333333333333, 179.148651123047);
    effector:SetKey(_TRACK_X, 5.83333333333333, 433.513519287109);
    effector:SetKey(_TRACK_Y, 5.83333333333333, 197.648651123047);
    effector:SetKey(_TRACK_X, 6, 471.013519287109);
    effector:SetKey(_TRACK_Y, 6, 249.148651123047);
    effector:SetKey(_TRACK_X, 6.16666666666667, 539.013519287109);
    effector:SetKey(_TRACK_Y, 6.16666666666667, 275.648651123047);
    effector:SetKey(_TRACK_X, 6.3, 584.013519287109);
    effector:SetKey(_TRACK_Y, 6.3, 311.148651123047);
    effector:SetKey(_TRACK_X, 6.43333333333333, 607.513519287109);
    effector:SetKey(_TRACK_Y, 6.43333333333333, 364.148651123047);
    effector:SetKey(_TRACK_X, 6.56666666666667, 649.013519287109);
    effector:SetKey(_TRACK_Y, 6.56666666666667, 410.148651123047);
    effector:SetKey(_TRACK_X, 6.7, 722.013519287109);
    effector:SetKey(_TRACK_Y, 6.7, 456.648651123047);
    effector:SetKey(_TRACK_X, 6.86666666666667, 845.013519287109);
    effector:SetKey(_TRACK_Y, 6.86666666666667, 462.648651123047);
    effector:SetKey(_TRACK_X, 7.03333333333333, 945.013519287109);
    effector:SetKey(_TRACK_Y, 7.03333333333333, 427.148651123047);
    effector:SetKey(_TRACK_X, 7.16666666666667, 981.013519287109);
    effector:SetKey(_TRACK_Y, 7.16666666666667, 358.148651123047);
    effector:SetKey(_TRACK_X, 7.3, 932.513519287109);
    effector:SetKey(_TRACK_Y, 7.3, 314.148651123047);
    effector:SetKey(_TRACK_X, 7.46666666666667, 857.513519287109);
    effector:SetKey(_TRACK_Y, 7.46666666666667, 317.148651123047);
    effector:SetKey(_TRACK_X, 7.63333333333333, 803.013519287109);
    effector:SetKey(_TRACK_Y, 7.63333333333333, 354.148651123047);
    effector:SetKey(_TRACK_X, 8.03333333333333, 803.013519287109);
    effector:SetKey(_TRACK_Y, 8.03333333333333, 354.148651123047);
    effector:SetKey(_TRACK_X, 8.2, 787.013519287109);
    effector:SetKey(_TRACK_Y, 8.2, 408.648651123047);
    effector:SetKey(_TRACK_X, 8.43333333333333, 861.513519287109);
    effector:SetKey(_TRACK_Y, 8.43333333333333, 472.148651123047);
    effector:SetKey(_TRACK_X, 8.6, 927.013519287109);
    effector:SetKey(_TRACK_Y, 8.6, 447.148651123047);
    effector:SetKey(_TRACK_X, 8.76666666666667, 916.513519287109);
    effector:SetKey(_TRACK_Y, 8.76666666666667, 382.148651123047);
    effector:SetKey(_TRACK_X, 8.9, 851.013519287109);
    effector:SetKey(_TRACK_Y, 8.9, 368.648651123047);
    effector:SetKey(_TRACK_X, 9.06666666666667, 805.013519287109);
    effector:SetKey(_TRACK_Y, 9.06666666666667, 420.648651123047);
    effector:SetKey(_TRACK_X, 9.2, 823.013519287109);
    effector:SetKey(_TRACK_Y, 9.2, 523.148651123047);
    effector:SetKey(_TRACK_X, 9.33333333333333, 905.513519287109);
    effector:SetKey(_TRACK_Y, 9.33333333333333, 563.648651123047);
    effector:SetKey(_TRACK_X, 9.43333333333333, 945.513519287109);
    effector:SetKey(_TRACK_Y, 9.43333333333333, 553.148651123047);
    effector:SetKey(_TRACK_X, 9.56666666666667, 964.013519287109);
    effector:SetKey(_TRACK_Y, 9.56666666666667, 532.148651123047);
    effector:SetKey(_TRACK_X, 9.73333333333333, 968.555489017879);
    effector:SetKey(_TRACK_Y, 9.73333333333333, 525.116046073075);
    effector:SetKey(_TRACK_X, 9.93333333333333, 971.513519287109);
    effector:SetKey(_TRACK_Y, 9.93333333333333, 672.148651123047);
    effector:SetKey(_TRACK_SX, 0, 0.6);
    effector:SetKey(_TRACK_SY, 0, 0.6);
    effector:SetKey(_TRACK_SX, 1.23333333333333, 0.9);
    effector:SetKey(_TRACK_SY, 1.23333333333333, 0.9);
    effector:SetKey(_TRACK_SX, 2.16666666666667, 0.6);
    effector:SetKey(_TRACK_SY, 2.16666666666667, 0.6);
    effector:SetKey(_TRACK_SX, 3.8, 0.8);
    effector:SetKey(_TRACK_SY, 3.8, 0.8);
    effector:SetKey(_TRACK_SX, 5.2, 0.5);
    effector:SetKey(_TRACK_SY, 5.2, 0.5);
    effector:SetKey(_TRACK_SX, 5.76666666666667, 0.5);
    effector:SetKey(_TRACK_SY, 5.76666666666667, 0.5);
    effector:SetKey(_TRACK_SX, 6.9, 1.1);
    effector:SetKey(_TRACK_SY, 6.9, 1.1);
    effector:SetKey(_TRACK_SX, 7.6, 0.9);
    effector:SetKey(_TRACK_SY, 7.6, 0.9);
    effector:SetKey(_TRACK_SX, 9.63333333333333, 1.3);
    effector:SetKey(_TRACK_SY, 9.63333333333333, 1.3);
    effector:SetKey(_TRACK_O, 0, 0);
    effector:SetKey(_TRACK_O, 0.03333333333333, 1);
    effector:SetKey(_TRACK_O, 9.93333333333333, 1);
    effector:SetKey(_TRACK_O, 9.96666666666667, 0);

    effector:Play();

    compositionFly1:Play();

    return compositionFly1;
end

createCompositionFly2 = function()

    local compositionFly2 = CreateCompositionSequence();
    local compositionDuration = 10;
    compositionFly2:SetDuration(compositionDuration);


    -- Layer Fly2
    local element = auxCreateCompositionElement('data/Texture/Scenes/02_InsideTempleNearTheSea/Animations/Env/Bug_fly[01-02].png');
    element:SetName('Fly2');
    compositionFly2:AddElement(element);
    element:SetHotSpot(9.5, 9);
    element:SetParentElement(compositionFly2);
    element:SetAngle(0);
    element:SetOpacity(1);

    effector = element:GetEffector();
    effector:SetLifeTime(0, 10);

    effector:SetKey(_TRACK_X, 0, -21.0270233154297);
    effector:SetKey(_TRACK_Y, 0, 399.513519287109);
    effector:SetKey(_TRACK_X, 0.23333333333333, 64.9729766845703);
    effector:SetKey(_TRACK_Y, 0.23333333333333, 380.513519287109);
    effector:SetKey(_TRACK_X, 0.43333333333333, 166.97297668457);
    effector:SetKey(_TRACK_Y, 0.43333333333333, 382.513519287109);
    effector:SetKey(_TRACK_X, 0.6, 252.97297668457);
    effector:SetKey(_TRACK_Y, 0.6, 401.513519287109);
    effector:SetKey(_TRACK_X, 0.8, 339.97297668457);
    effector:SetKey(_TRACK_Y, 0.8, 432.513519287109);
    effector:SetKey(_TRACK_X, 0.96666666666667, 405.97297668457);
    effector:SetKey(_TRACK_Y, 0.96666666666667, 472.513519287109);
    effector:SetKey(_TRACK_X, 1.06666666666667, 433.97297668457);
    effector:SetKey(_TRACK_Y, 1.06666666666667, 506.513519287109);
    effector:SetKey(_TRACK_X, 1.2, 444.97297668457);
    effector:SetKey(_TRACK_Y, 1.2, 542.513519287109);
    effector:SetKey(_TRACK_X, 1.63333333333333, 444.97297668457);
    effector:SetKey(_TRACK_Y, 1.63333333333333, 542.513519287109);
    effector:SetKey(_TRACK_X, 1.8, 416.97297668457);
    effector:SetKey(_TRACK_Y, 1.8, 564.513519287109);
    effector:SetKey(_TRACK_X, 1.9, 389.97297668457);
    effector:SetKey(_TRACK_Y, 1.9, 592.513519287109);
    effector:SetKey(_TRACK_X, 2.06666666666667, 384.97297668457);
    effector:SetKey(_TRACK_Y, 2.06666666666667, 658.513519287109);
    effector:SetKey(_TRACK_X, 2.23333333333333, 416.97297668457);
    effector:SetKey(_TRACK_Y, 2.23333333333333, 696.513519287109);
    effector:SetKey(_TRACK_X, 2.4, 463.97297668457);
    effector:SetKey(_TRACK_Y, 2.4, 707.513519287109);
    effector:SetKey(_TRACK_X, 2.53333333333333, 520.97297668457);
    effector:SetKey(_TRACK_Y, 2.53333333333333, 697.513519287109);
    effector:SetKey(_TRACK_X, 2.66666666666667, 581.97297668457);
    effector:SetKey(_TRACK_Y, 2.66666666666667, 671.513519287109);
    effector:SetKey(_TRACK_X, 2.83333333333333, 636.97297668457);
    effector:SetKey(_TRACK_Y, 2.83333333333333, 631.513519287109);
    effector:SetKey(_TRACK_X, 2.96666666666667, 671.97297668457);
    effector:SetKey(_TRACK_Y, 2.96666666666667, 595.513519287109);
    effector:SetKey(_TRACK_X, 3.13333333333333, 681.97297668457);
    effector:SetKey(_TRACK_Y, 3.13333333333333, 533.513519287109);
    effector:SetKey(_TRACK_X, 3.3, 652.97297668457);
    effector:SetKey(_TRACK_Y, 3.3, 478.513519287109);
    effector:SetKey(_TRACK_X, 3.46666666666667, 596.97297668457);
    effector:SetKey(_TRACK_Y, 3.46666666666667, 451.513519287109);
    effector:SetKey(_TRACK_X, 3.6, 530.97297668457);
    effector:SetKey(_TRACK_Y, 3.6, 465.513519287109);
    effector:SetKey(_TRACK_X, 3.76666666666667, 480.97297668457);
    effector:SetKey(_TRACK_Y, 3.76666666666667, 498.513519287109);
    effector:SetKey(_TRACK_X, 3.93333333333333, 417.97297668457);
    effector:SetKey(_TRACK_Y, 3.93333333333333, 522.513519287109);
    effector:SetKey(_TRACK_X, 4.1, 347.97297668457);
    effector:SetKey(_TRACK_Y, 4.1, 533.513519287109);
    effector:SetKey(_TRACK_X, 4.26666666666667, 255.97297668457);
    effector:SetKey(_TRACK_Y, 4.26666666666667, 532.513519287109);
    effector:SetKey(_TRACK_X, 4.46666666666667, 148.97297668457);
    effector:SetKey(_TRACK_Y, 4.46666666666667, 509.513519287109);
    effector:SetKey(_TRACK_X, 4.63333333333333, 92.9729766845703);
    effector:SetKey(_TRACK_Y, 4.63333333333333, 440.513519287109);
    effector:SetKey(_TRACK_X, 4.83333333333333, 106.97297668457);
    effector:SetKey(_TRACK_Y, 4.83333333333333, 348.513519287109);
    effector:SetKey(_TRACK_X, 5, 186.97297668457);
    effector:SetKey(_TRACK_Y, 5, 290.513519287109);
    effector:SetKey(_TRACK_X, 5.2, 292.97297668457);
    effector:SetKey(_TRACK_Y, 5.2, 256.513519287109);
    effector:SetKey(_TRACK_X, 5.4, 406.97297668457);
    effector:SetKey(_TRACK_Y, 5.4, 250.513519287109);
    effector:SetKey(_TRACK_X, 5.53333333333333, 481.97297668457);
    effector:SetKey(_TRACK_Y, 5.53333333333333, 259.513519287109);
    effector:SetKey(_TRACK_X, 6.23333333333333, 481.97297668457);
    effector:SetKey(_TRACK_Y, 6.23333333333333, 259.513519287109);
    effector:SetKey(_TRACK_X, 6.33333333333333, 520.97297668457);
    effector:SetKey(_TRACK_Y, 6.33333333333333, 277.513519287109);
    effector:SetKey(_TRACK_X, 6.43333333333333, 550.97297668457);
    effector:SetKey(_TRACK_Y, 6.43333333333333, 301.513519287109);
    effector:SetKey(_TRACK_X, 6.56666666666667, 587.97297668457);
    effector:SetKey(_TRACK_Y, 6.56666666666667, 343.513519287109);
    effector:SetKey(_TRACK_X, 6.76666666666667, 606.97297668457);
    effector:SetKey(_TRACK_Y, 6.76666666666667, 401.513519287109);
    effector:SetKey(_TRACK_X, 6.96666666666667, 592.97297668457);
    effector:SetKey(_TRACK_Y, 6.96666666666667, 469.513519287109);
    effector:SetKey(_TRACK_X, 7.13333333333333, 553.97297668457);
    effector:SetKey(_TRACK_Y, 7.13333333333333, 506.513519287109);
    effector:SetKey(_TRACK_X, 7.33333333333333, 478.97297668457);
    effector:SetKey(_TRACK_Y, 7.33333333333333, 522.513519287109);
    effector:SetKey(_TRACK_X, 7.5, 396.97297668457);
    effector:SetKey(_TRACK_Y, 7.5, 512.513519287109);
    effector:SetKey(_TRACK_X, 7.7, 305.97297668457);
    effector:SetKey(_TRACK_Y, 7.7, 487.513519287109);
    effector:SetKey(_TRACK_X, 7.9, 259.97297668457);
    effector:SetKey(_TRACK_Y, 7.9, 460.513519287109);
    effector:SetKey(_TRACK_X, 8.6, 259.97297668457);
    effector:SetKey(_TRACK_Y, 8.6, 460.513519287109);
    effector:SetKey(_TRACK_X, 8.73333333333333, 252.97297668457);
    effector:SetKey(_TRACK_Y, 8.73333333333333, 412.513519287109);
    effector:SetKey(_TRACK_X, 8.9, 267.243240356445);
    effector:SetKey(_TRACK_Y, 8.9, 361.918930053711);
    effector:SetKey(_TRACK_X, 9.13333333333333, 308.756759643555);
    effector:SetKey(_TRACK_Y, 9.13333333333333, 329.48649597168);
    effector:SetKey(_TRACK_X, 9.36666666666667, 384);
    effector:SetKey(_TRACK_Y, 9.36666666666667, 272.405410766602);
    effector:SetKey(_TRACK_X, 9.56666666666667, 444.97297668457);
    effector:SetKey(_TRACK_Y, 9.56666666666667, 210.135147094727);
    effector:SetKey(_TRACK_X, 9.73333333333333, 492.97297668457);
    effector:SetKey(_TRACK_Y, 9.73333333333333, 150.45947265625);
    effector:SetKey(_TRACK_X, 9.96666666666667, 594.162170410156);
    effector:SetKey(_TRACK_Y, 9.96666666666667, -24.6756591796875);
    effector:SetKey(_TRACK_SX, 0, 1.5);
    effector:SetKey(_TRACK_SY, 0, 1.5);
    effector:SetKey(_TRACK_SX, 1.6, 1);
    effector:SetKey(_TRACK_SY, 1.6, 1);
    effector:SetKey(_TRACK_SX, 2.36666666666667, 1.3);
    effector:SetKey(_TRACK_SY, 2.36666666666667, 1.3);
    effector:SetKey(_TRACK_SX, 5.43333333333333, 0.7);
    effector:SetKey(_TRACK_SY, 5.43333333333333, 0.7);
    effector:SetKey(_TRACK_SX, 7.8, 1);
    effector:SetKey(_TRACK_SY, 7.8, 1);
    effector:SetKey(_TRACK_SX, 9.96666666666667, 0.6);
    effector:SetKey(_TRACK_SY, 9.96666666666667, 0.6);

    effector:Play();

    compositionFly2:Play();

    return compositionFly2;
end

