mirror of
https://github.com/wassname/phaser.git
synced 2026-08-18 12:20:33 +08:00
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:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user