Added Spring class. Fixed reason why World wasn't pre and post updating (Stage didn't have an exists property).

This commit is contained in:
photonstorm
2014-02-15 02:19:37 +00:00
parent e922bbdfd3
commit e5812710cc
10 changed files with 95 additions and 2525 deletions
+1
View File
@@ -21,6 +21,7 @@ function create() {
sprite = game.add.tileSprite(100, 100, 200, 200, 'starfield');
sprite.autoScroll(0, 100);
sprite.fixedToCamera = true;
console.log(sprite.parent);
mushroom = game.add.sprite(400, 400, 'mushroom');