mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Removed Camera as root container. Images now skipTransform.
This commit is contained in:
parent
ce3bb7d1fa
commit
0e0fceb5f7
3 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
var CHECKSUM = {
|
var CHECKSUM = {
|
||||||
build: 'ec96c2b0-e379-11e6-ab53-298f7f57f45b'
|
build: 'ebcb3f40-e3cf-11e6-b634-8762f6b557d0'
|
||||||
};
|
};
|
||||||
module.exports = CHECKSUM;
|
module.exports = CHECKSUM;
|
|
@ -34,7 +34,7 @@ var ImageFactory = {
|
||||||
// console.log('ImageFactory.add', key, x, y, frame, group);
|
// console.log('ImageFactory.add', key, x, y, frame, group);
|
||||||
// console.log('into State', this.state);
|
// console.log('into State', this.state);
|
||||||
|
|
||||||
return group.children.add(new Image(this.state, x, y, key, frame));
|
return group.children.add(new Image(this.state, x, y, key, frame), true);
|
||||||
},
|
},
|
||||||
|
|
||||||
make: function (x, y, key, frame)
|
make: function (x, y, key, frame)
|
||||||
|
|
|
@ -43,7 +43,7 @@ var Systems = function (state, config)
|
||||||
this.data;
|
this.data;
|
||||||
this.fbo;
|
this.fbo;
|
||||||
this.time;
|
this.time;
|
||||||
this.transform;
|
// this.transform;
|
||||||
};
|
};
|
||||||
|
|
||||||
Systems.prototype.constructor = Systems;
|
Systems.prototype.constructor = Systems;
|
||||||
|
@ -75,7 +75,7 @@ Systems.prototype = {
|
||||||
this.children = new Component.Children(this.state);
|
this.children = new Component.Children(this.state);
|
||||||
this.color = new Component.Color(this.state);
|
this.color = new Component.Color(this.state);
|
||||||
this.data = new Component.Data(this.state);
|
this.data = new Component.Data(this.state);
|
||||||
this.transform = this.camera.transform;
|
// this.transform = this.camera.transform;
|
||||||
|
|
||||||
this.inject();
|
this.inject();
|
||||||
},
|
},
|
||||||
|
@ -93,7 +93,7 @@ Systems.prototype = {
|
||||||
this.state.settings = this.settings;
|
this.state.settings = this.settings;
|
||||||
|
|
||||||
this.state.camera = this.camera;
|
this.state.camera = this.camera;
|
||||||
this.state.transform = this.camera.transform;
|
// this.state.transform = this.camera.transform;
|
||||||
|
|
||||||
this.state.state = this.game.state;
|
this.state.state = this.game.state;
|
||||||
this.state.textures = this.game.textures;
|
this.state.textures = this.game.textures;
|
||||||
|
|
Loading…
Reference in a new issue