That someone went ahead 2 versions, and tryied to code a map using future features, that made me feel so special inside! You're my hero.
For the exact syntax, I wont make any guaranties. But if you look at the examples I've made to showcase the features http://guru3.sytes.net/viewtopic.php?t=1742 (search for the Funky HexaTRON map), you will notice that:
1. you need to define the segments, ie the part of the connectors that have a physical location, inside the field tag. The segments are independant of the walls and of the borders. But a segments can sit OVER a wall or a border.
2. The connector itself is defined outside of the field. The reason for this is that connectors will also be used to link fields together.
3. The "crossing" need better explaining. But for now, consider that if you where to stand on the first point of a segment, and look at the second point, it would be easy to agree on what is right and what is left of the segment. Uncrossed mean that the right side of a segment is associated with the right side of the other segment.
I think what you wanted to define is the following:
Code: Select all
...
<field>
<axes number="4"/>
<border walled="false">
<point x="0" y="0" />
<point x="100" y="0" />
<point x="100" y="100" />
<point x="0" y="100" />
<point x="0" y="0" />
</border>
<segment label="east" >
<!-- goes north, so the inside of the square is on the left -->
<point x="100" y="0" />
<point x="100" y="100" />
</segment>
<segment label="west" >
<!-- goes south, so the inside of the square is on the left from the start point -->
<point x="0" y="100" />
<point x="0" y="0" />
</segment>
</field>
<connectors>
<connector first="west" second="east" />
</connectors>
...