Jump to content

Does Phaser 3 still not support SVG? (Properly)


AndreSousa
 Share

Recommended Posts

Quite a newbie on phaser, developing a new product and I saw this regarding phaser 2:
image.png

 

Does this still happens on Phaser 3? Or is it possible to render an SVG correctly now?
I'm having the following problem:
Say I have this svg:
image.png.7237cc8bf2f9d2afdddba381870b06d4.png

 

and when I render to my game, thats the result I got: (I'm not scaling it)
image.png.85c2e5a02de05c65b8237948b16e67aa.png
 

1- Whats wrong with that? And how can I fix it?

2- Also, is there a way to scale the svg without deforming it? 
I'm using setScale(x) and the image gets real ugly
image.png.6a1d0fc6670a12a551792b00a48b93c5.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...