diff --git a/Gruntfile.js b/Gruntfile.js index abe8ec56..09b7192c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -193,7 +193,8 @@ module.exports = function (grunt) { connect: { root: { options: { - keepalive: true + keepalive: true, + hostname: '*' } } } diff --git a/README.md b/README.md index 7d5771de..48a08f58 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ Updates: * Game.add.bitmapData now has the addToCache parameter. If set the texture will be stored in Game.Cache and can be retrieved with Cache.getBitmapData(key). * The InputManager now sets the canvas style cursor to 'inherit' instead of 'default'. * World.reset now calls Camera.reset which sends the camera back to 0,0 and un-follows any object it may have been tracking. +* Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426) Bug Fixes: diff --git a/examples/wip/text tilesprite.js b/examples/wip/text tilesprite.js index c2d502ee..15ff3150 100644 --- a/examples/wip/text tilesprite.js +++ b/examples/wip/text tilesprite.js @@ -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; }