Update: CC - Before Render - Moorcow (a2ow5l92js.js) 98 bytes modified
parent
014d97a3e0
commit
58e688c398
|
@ -41,6 +41,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
this.star = this.entityLoaded.star;
|
this.star = this.entityLoaded.star;
|
||||||
this.santa = this.entityLoaded.santa;
|
this.santa = this.entityLoaded.santa;
|
||||||
this.scene = this.entityLoaded.scene;
|
this.scene = this.entityLoaded.scene;
|
||||||
|
this.camera = this.entityLoaded.camera;
|
||||||
this.burger = this.entityLoaded.burger;
|
this.burger = this.entityLoaded.burger;
|
||||||
this.parcel = this.entityLoaded.parcel;
|
this.parcel = this.entityLoaded.parcel;
|
||||||
this.renderer = this.entityLoaded.renderer;
|
this.renderer = this.entityLoaded.renderer;
|
||||||
|
@ -437,12 +438,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
|
||||||
|
|
||||||
this.drawScore = function(enemy) {
|
this.drawScore = function(enemy) {
|
||||||
|
|
||||||
/*var scoreMesh = this.scoreMesh.clone();
|
this.scoreMesh.instance.quaternion.copy(this.camera.instance.quaternion);
|
||||||
scoreMesh.position = enemy.mesh.position.clone();
|
|
||||||
|
|
||||||
var scoreTexture = this.scoreTexture.clone();
|
|
||||||
scoreMesh.materials[0].instance.map = scoreTexture.instance;
|
|
||||||
*/
|
|
||||||
|
|
||||||
this.scoreMesh.position = enemy.mesh.position.clone();
|
this.scoreMesh.position = enemy.mesh.position.clone();
|
||||||
this.scoreMesh.updateInstance('position');
|
this.scoreMesh.updateInstance('position');
|
||||||
|
|
Loading…
Reference in New Issue