Updated EaselJS definitions to v0.7 and TweenJS definitions to v0.5

This commit is contained in:
Chris Smith
2013-11-22 22:41:11 -08:00
parent 47bc87d018
commit 7bca55dd1d
4 changed files with 348 additions and 227 deletions
+6 -6
View File
@@ -25,18 +25,18 @@ function test_animation() {
"images": ["./assets/runningGrant.png"]
});
ss.getAnimation("run").frequency = 2;
ss.getAnimation("run").speed = 2;
ss.getAnimation("run").next = "jump";
ss.getAnimation("jump").next = "run";
var bitmapAnimation = new createjs.BitmapAnimation(ss);
bitmapAnimation.scaleY = bitmapAnimation.scaleX = .4;
var sprite = new createjs.Sprite(ss);
sprite.scaleY = sprite.scaleX = .4;
bitmapAnimation.gotoAndPlay("run");
sprite.gotoAndPlay("run");
createjs.Ticker.setFPS(60);
createjs.Ticker.addListener(stage);
stage.addChild(bitmapAnimation);
createjs.Ticker.addEventListener('tick', stage);
stage.addChild(sprite);
}
function test_graphics() {