How to load an HD map of Europe into Godot based on Scalable Vector Graphics

Meanwhile…

I was just having fun merging pixels into polygons for this question here: Cutting holes in polygons (2D) - #14 by renevanderark

And then?

Because it took so long to merge all these pixels I decided why not showcase how you can load a vector based map of Europe (not super hi-poly, mind you, there are limits) into Godot, the same way as OP’s inspirational video did with a color-coded PNG file.

So here’s the result…

Download the example project from codeberg:

Let me know what you think!

Read up a little more on how it works here:

(yup, I did notice the one error message about the one CollisionPolygon2D not wanting to triangulate… I’m still looking for it :smiley: )

2 Likes

That’s cool looking strategy game already :slight_smile: .

Nice showcase, what program did you use to make and edit svg?(edit : Inkspace )

Be nice to make some simple showcase for import or make simple character with animation.

Inspiration

1 Like

You mean this one?

Or this one?

:slight_smile:

1 Like

nice, really cool tutorials.

I’ll try make one along.

1 Like

Nice! Skeleton2D is not required, by the way… I also have this one:

And a playlist:

1 Like