Has anyone been able to play an animated SVG in construct 3?
There's no built in mechanism to animate svg in WebGl, and animating it would require some third party solution.
You can do it via css in the Html Element however.
Yeah I made the animation in svgator and you can export with css. I had been using the javascript option. Just noticed that when I preview (double click on it) The animation plays in the preview but not on runtime. Construct does let you edit the XML file which is controlling the animation. I'll see if I can find what is stopping it from auto playing like it does in the preview.
Develop games in your browser. Powerful, performant & highly capable.
The Animated SVG example demonstrates it's possible with the HTML Element object. Unfortunately for technical reasons it's very difficult to integrate further in to the engine.
Thanks Ashley. Understand how it works now. I was looking into using SVG just because I wanted a super large object animated and thought the vector vs PNG might help with project size and CPU. However I guess its just not supported across every platform yet.