Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 23 bytes modified
parent
6a591c2318
commit
b05b3a0c6c
|
@ -171,7 +171,7 @@ if (this.spawningBullets === true) {
|
||||||
console.log('start: ', start);
|
console.log('start: ', start);
|
||||||
console.log('end: ', end);
|
console.log('end: ', end);
|
||||||
|
|
||||||
this.meshFireBall.renderOrder = this.flames.length;
|
this.meshFireBall.renderOrder = Number(1000 - Number(this.flames.length));
|
||||||
|
|
||||||
var flameMesh = this.meshFireBall.clone();
|
var flameMesh = this.meshFireBall.clone();
|
||||||
flameMesh.position.x = start.x;
|
flameMesh.position.x = start.x;
|
||||||
|
|
Loading…
Reference in New Issue