walfin Posted May 17, 2021 Share Posted May 17, 2021 (edited) Hi Olivier, is it possible to render SVG with MelonJS? Any plans to support SVG? I have read that it is possible to drawImage an SVG to canvas now: https://stackoverflow.com/questions/3768565/drawing-an-svg-file-on-a-html5-canvas. Seems like Three.js renders SVG using WebGL too: https://threejs.org/docs/#examples/en/renderers/SVGRenderer. Edited May 17, 2021 by walfin Add some links. Quote Link to comment Share on other sites More sharing options...
jayantbh Posted May 21, 2021 Share Posted May 21, 2021 I've been able to render SVGs the same way as I would render a PNG. Imported SVGs as a game image resource, and used it like I normally would. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.