|
@@ -569,7 +569,8 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material1.x -=300;
|
|
exportRoot.blackboard.material1.x -=300;
|
|
exportRoot.blackboard.material1.y -=180;
|
|
exportRoot.blackboard.material1.y -=180;
|
|
// $(".shake-mode").show();
|
|
// $(".shake-mode").show();
|
|
- shakeInit();
|
|
|
|
|
|
+ setTimeout(function(){ shakeInit(); }, 3000);
|
|
|
|
+
|
|
});
|
|
});
|
|
})
|
|
})
|
|
exportRoot.blackboard.material2.addEventListener("mousedown", function() {
|
|
exportRoot.blackboard.material2.addEventListener("mousedown", function() {
|
|
@@ -591,7 +592,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material2.x -=120;
|
|
exportRoot.blackboard.material2.x -=120;
|
|
exportRoot.blackboard.material2.y -=180;
|
|
exportRoot.blackboard.material2.y -=180;
|
|
// $(".shake-mode").show();
|
|
// $(".shake-mode").show();
|
|
- shakeInit();
|
|
|
|
|
|
+ setTimeout(function(){ shakeInit(); }, 3000);
|
|
});
|
|
});
|
|
})
|
|
})
|
|
exportRoot.blackboard.material3.addEventListener("mousedown", function() {
|
|
exportRoot.blackboard.material3.addEventListener("mousedown", function() {
|
|
@@ -613,7 +614,7 @@ function handleComplete(evt, comp) {
|
|
exportRoot.blackboard.material3.x +=30;
|
|
exportRoot.blackboard.material3.x +=30;
|
|
exportRoot.blackboard.material3.y -=180;
|
|
exportRoot.blackboard.material3.y -=180;
|
|
// $(".shake-mode").show();
|
|
// $(".shake-mode").show();
|
|
- shakeInit();
|
|
|
|
|
|
+ setTimeout(function(){ shakeInit(); }, 3000);
|
|
});
|
|
});
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -692,7 +693,7 @@ function handleComplete(evt, comp) {
|
|
if(!createTime) {
|
|
if(!createTime) {
|
|
createTime = true;
|
|
createTime = true;
|
|
var video = createjs.Sound.play("shake");//播放
|
|
var video = createjs.Sound.play("shake");//播放
|
|
- setTimeout(function(){ video.paused = true; }, 5000);
|
|
|
|
|
|
+ setTimeout(function(){ video.paused = true;createTime = false; }, 5000);
|
|
}
|
|
}
|
|
$(".shake-mode2").hide();
|
|
$(".shake-mode2").hide();
|
|
$(".shake-mode").show();
|
|
$(".shake-mode").show();
|
|
@@ -747,11 +748,6 @@ function handleComplete(evt, comp) {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
//Registers the "tick" event listener.
|
|
//Registers the "tick" event listener.
|
|
function fnStartAnimation() {
|
|
function fnStartAnimation() {
|
|
stage.addChild(exportRoot, lineShape);
|
|
stage.addChild(exportRoot, lineShape);
|