Hello Houston we have a problem. And need advice.
On this page we intend to post a few animations from Spine + HTML5 Canvas method
How we can do it?
Can we use additional
canvas = document.getElementById("canvas");
from
function init ()
?
For example
canvas = document.getElementById("canvas");
canvas = document.getElementById("canvas_2");
Or maybe we must have different Skeleton for each animation? And add to var section
var skelName = "Skel_1";
var animName = "Anim_1";
var skelName = "Skel_2";
var animName = "Anim_2";