hye,
(i've already post this in the forum but i think it's more appropriated to post it here)
i'm the inksmoto main developper (xmoto level editor which is an inkscape extension
look at that to see the different possibilities:
http://wiki.xmoto.tuxfamily.org/index.php?title=Inkscape-0.4.0
Xmoto is a gpl game:
http://xmoto.tuxfamily.org/ )
some times ago, Ted told me that:
"What I would recommend for this is add a custom X-moto namespace on the XML file.
Inkscape will honor this, and keep it in the file. So something like this:
<path d="M 1 1 M 2 2 M 3 3 z" xmoto:vertex-settings="rrg" />
Where 'r' and 'g' mean something about the vertexes of the path."
<path
ns0:xmoto_label="edge:downtexture=street|edge:texture=street"
id="rect2388"
d="M 314.29911,415.20982 L 314.29911,98.084821 L 128.58036,98.084821 L 128.58036,415.20982 L 314.29911,415.20982 z"
style="stroke-linejoin:miter;stroke-opacity:1;fill-opacity:1;stroke:lime;stroke-linecap:butt;stroke-width:1px;fill:#66ddaa"
/>
<svg
xmlns:ns0="http://xmoto.tuxfamily.org/"
<path
style="fill:#66ddaa;fill-opacity:1;stroke:#00ff00;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 575.875 242.375 L 390.125 242.375 L 390.125 423.9375 L 575.875 423.9375 L 575.875 242.375 z "
id="path3184" />
<path
style="fill:#66ddaa;fill-opacity:1;stroke:#00ff00;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 390.125 106.8125 L 390.125 242.375 L 575.875 242.375 L 575.875 106.8125 L 390.125 106.8125 z "
id="path3179" />