mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 11:23:06 +08:00
Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426)
This commit is contained in:
@@ -16,6 +16,8 @@ var filter;
|
||||
|
||||
function create() {
|
||||
|
||||
game.world.setBounds(0, 0, 2000, 600);
|
||||
|
||||
background = game.add.sprite(0, 0);
|
||||
background.width = 800;
|
||||
background.height = 600;
|
||||
@@ -35,12 +37,13 @@ function create() {
|
||||
|
||||
function update() {
|
||||
|
||||
// game.camera.view.x++;
|
||||
|
||||
filter.update();
|
||||
|
||||
// Uncomment for coolness :)
|
||||
// filter.blueShift -= 0.001;
|
||||
|
||||
|
||||
// font.text = "phaser x: " + game.input.x + " y: " + game.input.y;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user