all repos — Legends-RPG @ b93c81318903506cb3e9e20762b751b003612b8d

A fantasy mini-RPG built with Python and Pygame.

resources/tmx/dungeon2.tmx (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<map version="1.0" orientation="orthogonal" width="25" height="25" tilewidth="16" tileheight="16" backgroundcolor="#130f30">
  3 <tileset firstgid="1" name="tileset2" tilewidth="16" tileheight="16">
  4  <image source="../graphics/tileset2.png" width="160" height="180"/>
  5 </tileset>
  6 <tileset firstgid="111" name="tileset3" tilewidth="16" tileheight="16">
  7  <image source="../graphics/tileset3.png" width="176" height="192"/>
  8 </tileset>
  9 <tileset firstgid="243" name="stairs" tilewidth="16" tileheight="16">
 10  <image source="../graphics/stairs.png" trans="5e81a2" width="32" height="16"/>
 11 </tileset>
 12 <layer name="Tile Layer 1" width="25" height="25">
 13  <data encoding="base64" compression="zlib">
 14   eJxjYBh+YBsapoUZILHPVLLjEB476OEPWtuBTS055tNKDzX8TivziTGDGubjM4ua5qObSWnaGyx2bKeDHbTyBzbzaZ2miJGjhvnUsIdWZQklYU2sXnrZQW5dCNPzhQg7aO2PoQoAd2pYOA==
 15  </data>
 16 </layer>
 17 <objectgroup name="Object Layer 1" width="25" height="25">
 18  <object name="start point" gid="73" x="64" y="64">
 19   <properties>
 20    <property name="direction" value="down"/>
 21    <property name="state" value="dungeon"/>
 22   </properties>
 23  </object>
 24  <object name="portal" type="dungeon" gid="89" x="64" y="64"/>
 25  <object name="blocker" gid="70" x="256" y="224"/>
 26  <object name="blocker" gid="70" x="256" y="192"/>
 27  <object name="blocker" gid="70" x="256" y="208"/>
 28  <object name="blocker" gid="70" x="272" y="176"/>
 29  <object name="blocker" gid="70" x="288" y="160"/>
 30  <object name="blocker" gid="70" x="304" y="144"/>
 31  <object name="blocker" gid="70" x="320" y="128"/>
 32  <object name="blocker" gid="70" x="336" y="112"/>
 33  <object name="blocker" gid="70" x="352" y="112"/>
 34  <object name="blocker" gid="70" x="368" y="112"/>
 35  <object name="blocker" gid="70" x="384" y="96"/>
 36  <object name="blocker" gid="70" x="384" y="80"/>
 37  <object name="blocker" gid="70" x="384" y="48"/>
 38  <object name="blocker" gid="70" x="384" y="64"/>
 39  <object name="blocker" gid="70" x="368" y="32"/>
 40  <object name="blocker" gid="70" x="352" y="32"/>
 41  <object name="blocker" gid="70" x="336" y="32"/>
 42  <object name="blocker" gid="70" x="320" y="32"/>
 43  <object name="blocker" gid="70" x="304" y="48"/>
 44  <object name="blocker" gid="70" x="304" y="64"/>
 45  <object name="blocker" gid="70" x="304" y="80"/>
 46  <object name="blocker" gid="70" x="304" y="96"/>
 47  <object name="blocker" gid="70" x="288" y="112"/>
 48  <object name="blocker" gid="70" x="272" y="128"/>
 49  <object name="blocker" gid="70" x="256" y="144"/>
 50  <object name="blocker" gid="70" x="240" y="160"/>
 51  <object name="blocker" gid="70" x="224" y="176"/>
 52  <object name="blocker" gid="70" x="208" y="176"/>
 53  <object name="blocker" gid="70" x="192" y="176"/>
 54  <object name="blocker" gid="70" x="176" y="160"/>
 55  <object name="blocker" gid="70" x="160" y="144"/>
 56  <object name="blocker" gid="70" x="144" y="128"/>
 57  <object name="blocker" gid="70" x="128" y="112"/>
 58  <object name="blocker" gid="70" x="112" y="96"/>
 59  <object name="blocker" gid="70" x="112" y="80"/>
 60  <object name="blocker" gid="70" x="112" y="64"/>
 61  <object name="blocker" gid="70" x="112" y="48"/>
 62  <object name="blocker" gid="70" x="96" y="32"/>
 63  <object name="blocker" gid="70" x="80" y="32"/>
 64  <object name="blocker" gid="70" x="64" y="32"/>
 65  <object name="blocker" gid="70" x="48" y="32"/>
 66  <object name="blocker" gid="70" x="32" y="48"/>
 67  <object name="blocker" gid="70" x="32" y="64"/>
 68  <object name="blocker" gid="70" x="32" y="80"/>
 69  <object name="blocker" gid="70" x="32" y="96"/>
 70  <object name="blocker" gid="70" x="48" y="112"/>
 71  <object name="blocker" gid="70" x="64" y="112"/>
 72  <object name="blocker" gid="70" x="80" y="112"/>
 73  <object name="blocker" gid="70" x="96" y="128"/>
 74  <object name="blocker" gid="70" x="112" y="144"/>
 75  <object name="blocker" gid="70" x="128" y="160"/>
 76  <object name="blocker" gid="70" x="144" y="176"/>
 77  <object name="blocker" gid="70" x="160" y="192"/>
 78  <object name="blocker" gid="70" x="160" y="208"/>
 79  <object name="blocker" gid="70" x="160" y="224"/>
 80  <object name="blocker" gid="70" x="160" y="240"/>
 81  <object name="blocker" gid="70" x="144" y="256"/>
 82  <object name="blocker" gid="70" x="128" y="272"/>
 83  <object name="blocker" gid="70" x="112" y="288"/>
 84  <object name="blocker" gid="70" x="96" y="304"/>
 85  <object name="blocker" gid="70" x="80" y="304"/>
 86  <object name="blocker" gid="70" x="64" y="304"/>
 87  <object name="blocker" gid="70" x="48" y="320"/>
 88  <object name="blocker" gid="70" x="48" y="336"/>
 89  <object name="blocker" gid="70" x="48" y="352"/>
 90  <object name="blocker" gid="70" x="48" y="368"/>
 91  <object name="blocker" gid="70" x="64" y="384"/>
 92  <object name="blocker" gid="70" x="80" y="384"/>
 93  <object name="blocker" gid="70" x="96" y="384"/>
 94  <object name="blocker" gid="70" x="112" y="384"/>
 95  <object name="blocker" gid="70" x="128" y="352"/>
 96  <object name="blocker" gid="70" x="128" y="368"/>
 97  <object name="blocker" gid="70" x="128" y="336"/>
 98  <object name="blocker" gid="70" x="128" y="320"/>
 99  <object name="blocker" gid="70" x="144" y="304"/>
100  <object name="blocker" gid="70" x="176" y="272"/>
101  <object name="blocker" gid="70" x="160" y="288"/>
102  <object name="blocker" gid="70" x="192" y="272"/>
103  <object name="blocker" gid="70" x="208" y="272"/>
104  <object name="blocker" gid="70" x="224" y="272"/>
105  <object name="blocker" gid="70" x="240" y="272"/>
106  <object name="blocker" gid="70" x="256" y="288"/>
107  <object name="blocker" gid="70" x="272" y="304"/>
108  <object name="blocker" gid="70" x="288" y="320"/>
109  <object name="blocker" gid="70" x="288" y="336"/>
110  <object name="blocker" gid="70" x="288" y="352"/>
111  <object name="blocker" gid="70" x="288" y="368"/>
112  <object name="blocker" gid="70" x="304" y="384"/>
113  <object name="blocker" gid="70" x="320" y="384"/>
114  <object name="blocker" gid="70" x="336" y="384"/>
115  <object name="blocker" gid="70" x="352" y="384"/>
116  <object name="blocker" gid="70" x="368" y="368"/>
117  <object name="blocker" gid="70" x="368" y="352"/>
118  <object name="blocker" gid="70" x="368" y="336"/>
119  <object name="blocker" gid="70" x="368" y="320"/>
120  <object name="blocker" gid="70" x="352" y="304"/>
121  <object name="blocker" gid="70" x="336" y="304"/>
122  <object name="blocker" gid="70" x="320" y="304"/>
123  <object name="blocker" gid="70" x="304" y="288"/>
124  <object name="blocker" gid="70" x="288" y="272"/>
125  <object name="blocker" gid="70" x="272" y="256"/>
126  <object name="blocker" gid="70" x="256" y="224"/>
127  <object name="blocker" gid="70" x="256" y="224"/>
128  <object name="blocker" gid="70" x="256" y="240"/>
129  <object name="portal" type="dungeon3" gid="89" x="336" y="352"/>
130  <object name="start point" gid="73" x="336" y="352">
131   <properties>
132    <property name="direction" value="down"/>
133    <property name="state" value="dungeon3"/>
134   </properties>
135  </object>
136  <object name="portal" type="dungeon4" gid="89" x="80" y="352"/>
137  <object name="start point" gid="73" x="80" y="352">
138   <properties>
139    <property name="direction" value="down"/>
140    <property name="state" value="dungeon4"/>
141   </properties>
142  </object>
143  <object name="sprite" type="treasurechest" gid="51" x="352" y="64">
144   <properties>
145    <property name="dialogue length" value="1"/>
146    <property name="dialogue0" value="You found an Ether Potion."/>
147    <property name="id" value="3"/>
148    <property name="item" value="Ether Potion"/>
149   </properties>
150  </object>
151  <object name="sprite" type="treasurechest" gid="51" x="208" y="224">
152   <properties>
153    <property name="dialogue length" value="1"/>
154    <property name="dialogue0" value="You found a Healing Potion."/>
155    <property name="id" value="2"/>
156    <property name="item" value="Healing Potion"/>
157   </properties>
158  </object>
159 </objectgroup>
160</map>