So after removing 1200+ lines of WTF code (and the time system I don't use), I have arrived at a version that works perfectly on PIXI4 (even if the script was written for PIXI3, and seriously had a check for PIXI2)... But for PIXI5 it only displays the Player Light Globe, events don't emit light at all. I'm suspecting it's breaking at line 983...
But I'm pretty certain I'm missing something stupid... Terrax doesn't do object oriented programming and I'm absolutely terrible at non-object orient programming, so it wouldn't surprise me one bit if I missed something. 😅
Going to keep poking at it, but if anybody has any ideas I've attached the modified script. Play with it, modify it, use it... *shrugs * It's MIT per Terrax.
edit: The thread to upgrade your MV to PIXI5 https://forums.rpgmakerweb.com/index.php?threads/guide-to-upgrade-mv-to-pixi-v5.123317
But I'm pretty certain I'm missing something stupid... Terrax doesn't do object oriented programming and I'm absolutely terrible at non-object orient programming, so it wouldn't surprise me one bit if I missed something. 😅
Going to keep poking at it, but if anybody has any ideas I've attached the modified script. Play with it, modify it, use it... *shrugs * It's MIT per Terrax.
edit: The thread to upgrade your MV to PIXI5 https://forums.rpgmakerweb.com/index.php?threads/guide-to-upgrade-mv-to-pixi-v5.123317