Hi, im a new spine-js developer, and im interested in making animated website..
currently im trying to add spine-js animation on my website, i create sample spine then put it on mywebsite...
it works, and the detail is so amazing 🙂 , the problem is, because the animation is inside the canvas whenever i try to change the opacity of my canvas, the animation inside the canvas also become tranparent...
i'm able to change the canvas background Color by editing the:
var bgColor = [0.9, 0.9, 0.9, 0]; -> i think the parameter is R=0.9, G=0.9, B=0.9, ??=0 (correct me if im wrong...)
i change my opacity by inserting style on my canvas:
<div><canvas id="canvas" style="opacity:0;" width="640" height="480"/></div>
what i want to ask is, is it possible to transparent only the Canvas Background, not the animation inside the Canvas... And are the spine-js support adding image as background color of the Canvas??
Thank You Very Much...
And sorry 4 my bad english 🙂