mirror of
https://github.com/wassname/phaser.git
synced 2026-08-16 11:25:21 +08:00
Loads of new examples, some more bug fixes, all of them work beautifully
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
|
||||
// background images
|
||||
game.add.sprite(0, 0, 'sky');
|
||||
game.add.tileSprite(0, 0,1400,600, 'sky');
|
||||
game.add.sprite(0, 360, 'ground');
|
||||
game.add.sprite(0, 400, 'river');
|
||||
game.add.sprite(200, 120, 'cloud0');
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
function preload() {
|
||||
|
||||
game.world.setBounds(1920, 1200);
|
||||
game.world.setBounds(0,0,1920, 1200);
|
||||
|
||||
game.load.image('backdrop', 'assets/pics/remember-me.jpg');
|
||||
game.load.image('card', 'assets/sprites/mana_card.png');
|
||||
|
||||
Reference in New Issue
Block a user