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