This commit is contained in:
Webeled
2013-10-07 20:56:44 +01:00
parent 664c512a99
commit 77b553ac2a
23 changed files with 47 additions and 96 deletions
+1 -2
View File
@@ -23,11 +23,10 @@
function create() {
// Make our world big ...
game.world.setSize(4000, 2000);
game.world.setBounds(4000, 2000);
// Scrolling background
s = game.add.tileSprite(0, 0, 800, 600, 'stars');
s.scrollFactor.setTo(0, 0);
b = game.add.sprite(200, 200, 'mummy');
b.anchor.setTo(0.5, 0.5);