So, I have a plugin called "Spine" and I ran SpinePluginTest project, which can be found here (it's called Sample Project):
gritsenko.github.io/c3_spine_plugin
And it worked perfectly fine. Construct 3 loaded the character perfectly and played animation based on the JSON script. So, I downloaded the JSON, Atlas and PNG from the project to import into my test project and it just didn't want to create the character. It produced this error in the console:
Uncaught (in promise) ReferenceError: HTMLCanvasElement is not defined
So I ran the debug on both projects and the only difference was that the Sample Project hosts on DOM while my project hosts on Worker. So I created a main.js script (default one, and as I was looking on how to see how to change to DOM host), ran the project and, suddenly, my project hosts on DOM and draws the character and does the animation just fine.
Completely new to Construct 3 and I am terrible at JS (prefer C# and C++). Does anyone know why Spine plugin works on DOM and not on Worker?