How could I implement a "border" system for my medieval game?
I am building a scaled down CK2-esque game, and at any time there might be at most a hundred independent lords, and it makes sense to outline the borders between independent lords because they might have similar colors. My idea was to store the vertices of the borders of a province as xy world coordinartes and to draw lines in between them, but that seems very inefficient. I already have my colormap of provinces drawn out and I can easily load provinces from the map (the map defines the vertices of the mesh by assigning every province a unique color and looking for vertices bordering other provinces by looking up the color of surrounding pixels).
Preferably I wouldnt have to rewrite my province parser. Thanks in advance.
Your answer
Follow this Question
Related Questions
How do i use lines to calculate triangles on mesh?? 0 Answers
Graphics.DrawMesh Leaking Mesh Memory 1 Answer
Can someone please help me with mesh extrusion 0 Answers
How do i calculate mesh on a spline?? 0 Answers
Hiding part of mesh 0 Answers