mirror of
https://github.com/wassname/phaser.git
synced 2026-07-05 17:30:19 +08:00
Added hostname: '*' to the grunt-connect in Gruntfile.js (fixes #426)
This commit is contained in:
+2
-1
@@ -193,7 +193,8 @@ module.exports = function (grunt) {
|
||||
connect: {
|
||||
root: {
|
||||
options: {
|
||||
keepalive: true
|
||||
keepalive: true,
|
||||
hostname: '*'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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