spine
spine copied to clipboard
Background completely black
I managed to get a spine animation playing with pixi-spine but the canvas background is completely black, though the source image is a png. It maybe a newbie question, but how can I make the background transparent. The pixi-spine examples I've seen in the below link also have completely black backgrounds, and I can't seem to find methods to clear the background:
https://pixijs.io/examples/#/plugin-spine/dragon.js
Is there a way to achieve transparent backgrounds or is it not supported?
Look at the second demo in the list: https://pixijs.io/examples/#/demos-basic/transparent-background.js
Next time, if its not related to spine, please report to https://github.com/pixijs/pixijs/discussions :)
Thanks for answering so promptly, I must have overlooked new PIXI.Application({ transparent: true }) which has now made the background transparent