SVG support being a fully integrated feature

0 favourites
  • 3 posts
From the Asset Store
Controller Support ,TouchScreen Support , Keyboard Support , Action Platformer, Lots of Animations
  • I think one of the best features I could ask for in C2 is the possibility of simply copying what I have in illustrator and pasting into C2. For those who do not know, when you copy something in illustrator, it copies the SVG code as well. This art pipeline would save a ton of time. More importantly you could have a resolution independent game.

    You could also re size at your leisure in C2.

  • I've looked in to this, but the main problem is there doesn't appear to be good browser support for rendering SVGs in WebGL mode. Most of the example code I've seen involves rendering SVG to a fixed size texture then rendering that in the game, which will cause an extremely high memory usage. Even if direct rendering worked, high-quality SVG rendering can involve hundreds of vertices per image, whereas a textured sprite is always four, so it would likely have a performance impact noticable on mobile.

    Ordinary textures are actually pretty fast, memory efficient, and well-supported in comparison. You can still design resolution independent games by rendering artwork for your highest target resolution, and then mipmapping ensures high-quality downscaled rendering. SVG is definitely something we're keeping an eye on but I don't think it's something we could add in short order.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I guess we will have to wait for better support.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)