SVG Sprites?

Hi, I’m wondering if it’s possible to use SVG images as sprites? I’m trying to make a game where the scale of some sprites changes slightly but very often, and with png sprites it results in a not-so-nice blurry image. Is it possible to use svg images for sprites?

Thanks!

Hi,
You can load svg but they are converted to textures.


To avoid the blurry effect on PNG, take a look at pixelArt or roundPixels options, and if you change displaySize of a sprite, take care of values, use even numbers to not divide one pixel by 2.

1 Like