I couldve sworn it was, but i might be having misremembering… there was SOMETHING or some extension that used svg right?
The curved movement extension use svg to draw paths..but dunno about shapes..i mean you can draw lines..or contours,
damn ![]()
i wanted to import a simple svg shape into a shape painter but nvm.
i was gonna create a map, but id have to create like my own format and i dont wanna
If you read the SVG contents into a string variable you can then use the “Create the path <path_name> from the SVG path command <variable_name>”. Though I’m not sure if it is possible to read SVG other than by using the FileSystem commands.
If you need it on a platform other than DeskTop, consider wrapping the SVG commands in JSON, putting that in a .json file and then loading the json contents into a variable. It’s a slightly bit fiddly, but it’s a load better than creating your own format.
…im very confused. what “svg path” command? and wdym command? terminal, console, javascript, an action, something else?
well, this is for drawing like, visual paths though, not moving along them.
There is a debug command (draw the trajectory) for Curved Movement that draws the path generated by the SVG commands. You could try using that, though I’m not sure if it will work on shapes that aren’t a line or a closed loop.
Or you could edit the extension, figure out how the debug draw works (like how it figures out the curve or points) and implement that in your events.
hmm…someone who thinks how im thinking… i do happen to be lazy though, so for now i will just make my map an image rather than interactive.
I think good programmers are lazy look for efficient ways to do things. I don’t think it’d be too much work to do the drawing bit. You could even copy and hack the existing debug event. Or ask an AI to modify it…
i use this website ti draw the Lines.It gives you the code in real time and Is pretty straightforward…you May wanna check
…huh…bro im a graphic designer
bro..that not gonna help you to turn your SVG shapes to something into gdevelop..
There are more threads asking the same thing.
You May Need to turn the thread into a feature re quest. BCS no such a thing exists yet
but, gdevelop doesnt use this
Just follow the instructions. It kind of works, there are some examples too. Details - GDevelop documentation if your lines fit on the screen and if it’s 2D is workable.

