From 9c5724237cf5309d42f9a45fa344c42acc6476b7 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 2 Nov 2017 13:33:32 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 64 bytes modified --- dywmtohrda.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dywmtohrda.js b/dywmtohrda.js index 806ad1c..3f0319c 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -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;