Skip to content

Commit 0e0fceb

Browse files
committed
Removed Camera as root container. Images now skipTransform.
1 parent ce3bb7d commit 0e0fceb

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'ec96c2b0-e379-11e6-ab53-298f7f57f45b'
2+
build: 'ebcb3f40-e3cf-11e6-b634-8762f6b557d0'
33
};
44
module.exports = CHECKSUM;

v3/src/gameobjects/image/ImageFactory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var ImageFactory = {
3434
// console.log('ImageFactory.add', key, x, y, frame, group);
3535
// console.log('into State', this.state);
3636

37-
return group.children.add(new Image(this.state, x, y, key, frame));
37+
return group.children.add(new Image(this.state, x, y, key, frame), true);
3838
},
3939

4040
make: function (x, y, key, frame)

v3/src/state/Systems.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var Systems = function (state, config)
4343
this.data;
4444
this.fbo;
4545
this.time;
46-
this.transform;
46+
// this.transform;
4747
};
4848

4949
Systems.prototype.constructor = Systems;
@@ -75,7 +75,7 @@ Systems.prototype = {
7575
this.children = new Component.Children(this.state);
7676
this.color = new Component.Color(this.state);
7777
this.data = new Component.Data(this.state);
78-
this.transform = this.camera.transform;
78+
// this.transform = this.camera.transform;
7979

8080
this.inject();
8181
},
@@ -93,7 +93,7 @@ Systems.prototype = {
9393
this.state.settings = this.settings;
9494

9595
this.state.camera = this.camera;
96-
this.state.transform = this.camera.transform;
96+
// this.state.transform = this.camera.transform;
9797

9898
this.state.state = this.game.state;
9999
this.state.textures = this.game.textures;

0 commit comments

Comments
 (0)