mirror of
https://github.com/wassname/phaser.git
synced 2026-08-06 13:31:05 +08:00
Loads of new examples, some more bug fixes, all of them work beautifully
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
|
||||
|
||||
function preload() {
|
||||
game.world.setBounds(1280, 800);
|
||||
game.world.setBounds(0,0,1280, 800);
|
||||
|
||||
game.load.image('ground', 'assets/tests/ground-2x.png');
|
||||
game.load.image('river', 'assets/tests/river-2x.png');
|
||||
|
||||
Reference in New Issue
Block a user