A
A
Anton Borisenko2016-12-19 23:07:42
JavaScript
Anton Borisenko, 2016-12-19 23:07:42

Why can't all svg files be displayed on html5 canvas?

I'm making a game in html5 for mobile devices. For scaling, I decided to use svg-images, I found a couple of pictures on the net - they are displayed. I ordered my own - they are not drawn, no error is given, I can not find information on the Internet, they are only compared as opposite technologies. But since I have some displayed, it means they can work there!
Help me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2016-12-20
@GreatRash

In SVG, at a minimum, you need to merge the shapes into one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question