Thread necro!!! So Goodgis
posted this lovely video recently, which had me looking into vector graphics - but then I remembered how GMS2.3+ only imports the SWF vector format but not the SVG.
Having a look through .SVG file format via notepad++, thankfully it's all open and readable and so I dare say I can fudge together
something that'll extract my simple artwork into a vertex buffer object - but still, what a pain!
So, I propose that anyone who searches the yoyo forums for SVG to then find this thread, and then reads my post,
please please please log a feature enhancement with YoYo asking them kindly to support SVG import.
Whilst you're here, this is the free vector art tool that I've started playing with, so cool!!
Free vector graphics editor. A simple yet powerful web and desktop cross-platform tool for everyone.
vectr.com
EDIT:
Also, this SWF to SVG tool was posted in another thread, and I've quickly tested it to find it still works (for simple art work at least) - it's command line driven;
However, I feel that pushing SWF/SVG data into GMS2 through what is effectively a sprite workflow aimed at pixel artwork seems odd, I'm sure they can do better here.
EDIT:
And unfortunately SWF/SVG workflow only works for hard colours, and blending shadows/gradients aren't supported. Such as, my below masterpiece outputs as a disaster when following the above conversion workflow;
Loads OK in the browser as the native SWF format, but fails to convert all aspects into SVG and thus GMS2 fails to display the desired output.
Final Edit (I swear!):
Massive shout-out to
@meseta for this itch.io tool;
Basic SVG loader for GameMaker
meseta.itch.io
It works well for Windows (either VM or YYC), man I'd love to see YoYo incorporate this into their GameMaker plan.