Closed ZwS closed 1 year ago
Caught this too. There is an error message once you try to add a character to the stage:
Yes, same problem here. There is no way to make it work?
Foundry v11 updated to use Pixi.JS v7, which has replaced PIXI.Loader. It looks like the module needs to be updated to use Assets instead.
Indeed. The japanese foundry community is scrounging up funds to commission updates and fixes for v11, but without outside support, it is difficult.
For other's information, I simply maintain the repo for pulls requests and such, but we haven't had someone updating the module for a while. The last update for v9 to v10 was pretty big for the module but this one might be a big breaker because of the further pixi changes, and the weight of the old cold is showing.
How much would it cost to commission this module to be updated properly?
Last time there was an update, it was about 200+ USD, but it could be different this time. Brother Sharp (on discord) is the main person funding the updates through his own money and the Japanese foundry patreon. No definites yet, but I would contact them in case you wanted to contribute (Brother Sharp#6921)
I've had a go at converting to use PIXI.Assets with the open PR. Still not working, but I thought it was worth a punt.
I've had a go at converting to use PIXI.Assets with the open PR. Still not working, but I thought it was worth a punt.
What happened? Does it still break the canvas?
It still prevents scenes from being loaded, without any discernible error - although the Theatre itself seemed to work. I'll try and have another look soon.
The canvas wasn't broken, it was just hidden behind the Theatre canvas. Changing from passing transparent: true
to backgroundAlpha: 0
appears to have fixed it.
May I ask where did you change those options?
I will verify if this works when i get home. If it does, I'll merge the PR with a bump for version compatibility and push a release.
The canvas wasn't broken, it was just hidden behind the Theatre canvas. Changing from passing
transparent: true
tobackgroundAlpha: 0
appears to have fixed it.
I've given it a try with the PR fixes, and the module is useable enough for v11, but has a minor bug from what I can see (could be unrelated to the PIXI.Assets change). It seems if you unstage an actor that had an emote active, then restage it, it'll toss this error:
Kind of a minor bug, as turning off the emote and restaging will fix it, but I know someone is likely to bring it up.
Aside from this, I think this should suffice for v11 compatibility with this bug aside. If you think you can do anything about that, let me know, otherwise I can just merge the PR as is.
May I ask where did you change those options?
Inside _initTheatreDockCanvas
where it creates the PIXI.Application
.
The canvas wasn't broken, it was just hidden behind the Theatre canvas. Changing from passing
transparent: true
tobackgroundAlpha: 0
appears to have fixed it.I've given it a try with the PR fixes, and the module is useable enough for v11, but has a minor bug from what I can see (could be unrelated to the PIXI.Assets change). It seems if you unstage an actor that had an emote active, then restage it, it'll toss this error:
Kind of a minor bug, as turning off the emote and restaging will fix it, but I know someone is likely to bring it up.
Aside from this, I think this should suffice for v11 compatibility with this bug aside. If you think you can do anything about that, let me know, otherwise I can just merge the PR as is.
Probably best to merge and create another issue for the error. Just had a quick look and it would probably take me awhile to figure out what's going on.
Okay, I'll mark this resolved (for now). It's been merged ^^
There is no particular error messages in the console, but once module is enabled screen become black.