foss-mmo/modules/game/levels/level-3.tmx
Juliana Sims 73ffad19f0 Implement orientation for logic gates
Note that orientation is called "direction" because it's named according to the
direction of electron flow.
2024-05-23 14:20:15 -04:00

61 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<map version="1.8" tiledversion="1.8.6" orientation="orthogonal" renderorder="right-down" width="20" height="15" tilewidth="16" tileheight="16" infinite="0" nextlayerid="3" nextobjectid="23">
<tileset firstgid="1" source="tiles.tsx"/>
<layer id="1" name="background" width="20" height="15">
<data encoding="csv">
23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
81,83,83,82,83,83,83,82,83,83,83,83,82,83,83,84,23,23,23,23,
85,24,24,24,24,24,24,24,24,24,24,24,24,24,24,106,81,82,82,84,
105,24,24,24,24,24,24,24,24,24,24,24,24,24,24,106,105,24,24,86,
105,24,49,3,3,24,3,3,3,3,3,3,24,24,24,106,105,24,24,106,
85,24,24,24,24,24,24,24,24,24,24,24,24,3,24,106,105,24,24,106,
85,24,24,24,24,24,49,3,3,3,3,3,24,24,24,24,24,24,24,106,
85,24,24,24,24,24,24,24,24,24,24,24,24,24,24,106,105,24,24,106,
85,24,24,24,24,24,24,24,24,24,24,24,24,24,24,106,105,28,24,86,
105,24,24,24,24,24,24,24,24,24,24,24,24,24,81,104,105,24,24,86,
105,49,3,3,24,61,61,66,24,24,24,24,24,24,106,23,105,24,24,86,
85,24,24,24,24,24,24,64,61,61,24,3,3,24,86,23,101,102,102,104,
101,103,103,102,102,102,103,102,103,103,102,102,102,102,104,23,23,23,23,23,
23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,
23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23
</data>
</layer>
<objectgroup id="2" name="objects">
<object id="1" type="player-spawn" gid="1" x="80" y="128" width="16" height="16"/>
<object id="4" type="block" gid="4" x="80" y="112" width="16" height="16">
<properties>
<property name="kind" value="copper"/>
</properties>
</object>
<object id="8" type="electric-switch" gid="8" x="224" y="80" width="16" height="16">
<properties>
<property name="target-x" type="int" value="15"/>
<property name="target-y" type="int" value="6"/>
</properties>
</object>
<object id="9" type="gate" gid="46" x="240" y="96" width="16" height="16"/>
<object id="10" type="and-gate" gid="43" x="192" y="80" width="16" height="16">
<properties>
<property name="direction" value="right"/>
</properties>
</object>
<object id="13" type="electric-switch" gid="8" x="208" y="176" width="16" height="16">
<properties>
<property name="target-x" type="int" value="11"/>
<property name="target-y" type="int" value="10"/>
</properties>
</object>
<object id="21" type="electron-warp" gid="72" x="64" y="160" width="16" height="16">
<properties>
<property name="target-x" type="int" value="10"/>
<property name="target-y" type="int" value="11"/>
</properties>
</object>
<object id="22" type="electron-warp" gid="72" x="160" y="176" width="16" height="16">
<properties>
<property name="target-x" type="int" value="4"/>
<property name="target-y" type="int" value="10"/>
</properties>
</object>
</objectgroup>
</map>