mirror of
https://github.com/wassname/phaser.git
synced 2026-07-11 00:40:20 +08:00
Test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user