Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 64 bytes modified

beta.r3js.org
-=yb4f310 2017-11-02 13:33:32 +01:00
parent 8d6c4b9b8e
commit 9c5724237c
1 changed files with 2 additions and 0 deletions

View File

@ -171,6 +171,8 @@ if (this.spawningBullets === true) {
console.log('start: ', start);
console.log('end: ', end);
this.meshFireBall.renderOrder = 1000 - this.flames.length;
var flameMesh = this.meshFireBall.clone();
flameMesh.position.x = start.x;
flameMesh.position.y = start.y;