all repos — Legends-RPG @ 7a753ab2f83fd4731001576934389ad9ff0e5e75

A fantasy mini-RPG built with Python and Pygame.

resources/tmx/castle.tmx (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<map version="1.0" orientation="orthogonal" width="25" height="27" 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 <layer name="Tile Layer 1" width="25" height="27">
 10  <data encoding="base64" compression="zlib">
 11   eJxjYBh+IB+Ii4C4GIhLoOwCIC4kkl0KxS147KgC4gYgrgbiGiCuJZHdAMXE2IEL1yJhfOoI2bGdCniw2nEIB6a2P/yA2B8JB9DAjgggjkTCUaN2jNpBZTtqh4k/Ru0YtWMk2jGbAbXtg9wGSgLiZCScApUDtXXKgLgcSi8lYAetAAB7/gvf
 12  </data>
 13 </layer>
 14 <layer name="Tile Layer 2" width="25" height="27">
 15  <data encoding="base64" compression="zlib">
 16   eJxjYBgF5IIeJHYvEruPRDX4wHQk9gwk9kwS1YyCUTAKRgEhEDnQDhgFo2AUjEgAAF4VBzg=
 17  </data>
 18 </layer>
 19 <objectgroup name="Object Layer 1" width="25" height="27">
 20  <object name="start point" gid="73" x="192" y="416">
 21   <properties>
 22    <property name="state" value="town"/>
 23   </properties>
 24  </object>
 25  <object name="portal" type="town" gid="89" x="224" y="432"/>
 26  <object name="portal" type="town" gid="89" x="208" y="432"/>
 27  <object name="portal" type="town" gid="89" x="192" y="432"/>
 28  <object name="portal" type="town" gid="89" x="176" y="432"/>
 29  <object name="portal" type="town" gid="89" x="160" y="432"/>
 30  <object name="blocker" gid="70" x="240" y="416"/>
 31  <object name="blocker" gid="70" x="272" y="416"/>
 32  <object name="blocker" gid="70" x="256" y="416"/>
 33  <object name="blocker" gid="70" x="288" y="416"/>
 34  <object name="blocker" gid="70" x="304" y="416"/>
 35  <object name="blocker" gid="70" x="320" y="416"/>
 36  <object name="blocker" gid="70" x="336" y="400"/>
 37  <object name="blocker" gid="70" x="336" y="384"/>
 38  <object name="blocker" gid="70" x="336" y="352"/>
 39  <object name="blocker" gid="70" x="336" y="368"/>
 40  <object name="blocker" gid="70" x="336" y="336"/>
 41  <object name="blocker" gid="70" x="336" y="320"/>
 42  <object name="blocker" gid="70" x="336" y="304"/>
 43  <object name="blocker" gid="70" x="336" y="272"/>
 44  <object name="blocker" gid="70" x="336" y="288"/>
 45  <object name="blocker" gid="70" x="336" y="240"/>
 46  <object name="blocker" gid="70" x="336" y="256"/>
 47  <object name="blocker" gid="70" x="336" y="208"/>
 48  <object name="blocker" gid="70" x="336" y="224"/>
 49  <object name="blocker" gid="70" x="336" y="192"/>
 50  <object name="blocker" gid="70" x="336" y="160"/>
 51  <object name="blocker" gid="70" x="336" y="176"/>
 52  <object name="blocker" gid="70" x="336" y="144"/>
 53  <object name="blocker" gid="70" x="336" y="112"/>
 54  <object name="blocker" gid="70" x="336" y="128"/>
 55  <object name="blocker" gid="70" x="336" y="96"/>
 56  <object name="blocker" gid="70" x="320" y="80"/>
 57  <object name="blocker" gid="70" x="304" y="80"/>
 58  <object name="blocker" gid="70" x="288" y="80"/>
 59  <object name="blocker" gid="70" x="272" y="80"/>
 60  <object name="blocker" gid="70" x="256" y="80"/>
 61  <object name="blocker" gid="70" x="240" y="80"/>
 62  <object name="blocker" gid="70" x="224" y="80"/>
 63  <object name="blocker" gid="70" x="208" y="80"/>
 64  <object name="blocker" gid="70" x="192" y="80"/>
 65  <object name="blocker" gid="70" x="176" y="80"/>
 66  <object name="blocker" gid="70" x="160" y="80"/>
 67  <object name="blocker" gid="70" x="144" y="80"/>
 68  <object name="blocker" gid="70" x="128" y="80"/>
 69  <object name="blocker" gid="70" x="112" y="80"/>
 70  <object name="blocker" gid="70" x="96" y="80"/>
 71  <object name="blocker" gid="70" x="80" y="80"/>
 72  <object name="blocker" gid="70" x="64" y="80"/>
 73  <object name="blocker" gid="70" x="48" y="96"/>
 74  <object name="blocker" gid="70" x="48" y="96"/>
 75  <object name="blocker" gid="70" x="48" y="112"/>
 76  <object name="blocker" gid="70" x="48" y="128"/>
 77  <object name="blocker" gid="70" x="48" y="144"/>
 78  <object name="blocker" gid="70" x="48" y="160"/>
 79  <object name="blocker" gid="70" x="48" y="176"/>
 80  <object name="blocker" gid="70" x="48" y="192"/>
 81  <object name="blocker" gid="70" x="48" y="208"/>
 82  <object name="blocker" gid="70" x="48" y="224"/>
 83  <object name="blocker" gid="70" x="48" y="240"/>
 84  <object name="blocker" gid="70" x="48" y="256"/>
 85  <object name="blocker" gid="70" x="48" y="272"/>
 86  <object name="blocker" gid="70" x="48" y="288"/>
 87  <object name="blocker" gid="70" x="48" y="304"/>
 88  <object name="blocker" gid="70" x="48" y="320"/>
 89  <object name="blocker" gid="70" x="48" y="336"/>
 90  <object name="blocker" gid="70" x="48" y="352"/>
 91  <object name="blocker" gid="70" x="48" y="368"/>
 92  <object name="blocker" gid="70" x="48" y="384"/>
 93  <object name="blocker" gid="70" x="48" y="400"/>
 94  <object name="blocker" gid="70" x="64" y="416"/>
 95  <object name="blocker" gid="70" x="80" y="416"/>
 96  <object name="blocker" gid="70" x="96" y="416"/>
 97  <object name="blocker" gid="70" x="112" y="416"/>
 98  <object name="blocker" gid="70" x="128" y="416"/>
 99  <object name="blocker" gid="70" x="144" y="416"/>
100  <object name="sprite" type="soldier" gid="74" x="256" y="368">
101   <properties>
102    <property name="dialogue length" value="1"/>
103    <property name="dialogue0" value="Hail to the King!"/>
104    <property name="direction" value="left"/>
105   </properties>
106  </object>
107  <object name="sprite" type="soldier" gid="74" x="256" y="304">
108   <properties>
109    <property name="dialogue length" value="1"/>
110    <property name="dialogue0" value="Hail to the King!"/>
111    <property name="direction" value="left"/>
112   </properties>
113  </object>
114  <object name="sprite" type="soldier" gid="74" x="256" y="336">
115   <properties>
116    <property name="dialogue length" value="1"/>
117    <property name="dialogue0" value="Hail to the King!"/>
118    <property name="direction" value="left"/>
119   </properties>
120  </object>
121  <object name="sprite" type="soldier" gid="74" x="256" y="240">
122   <properties>
123    <property name="dialogue length" value="1"/>
124    <property name="dialogue0" value="Hail to the King!"/>
125    <property name="direction" value="left"/>
126   </properties>
127  </object>
128  <object name="sprite" type="soldier" gid="74" x="128" y="368">
129   <properties>
130    <property name="dialogue length" value="1"/>
131    <property name="dialogue0" value="Hail to the King!"/>
132    <property name="direction" value="right"/>
133   </properties>
134  </object>
135  <object name="sprite" type="soldier" gid="74" x="256" y="208">
136   <properties>
137    <property name="dialogue length" value="1"/>
138    <property name="dialogue0" value="Hail to the King!"/>
139    <property name="direction" value="left"/>
140   </properties>
141  </object>
142  <object name="sprite" type="soldier" gid="74" x="256" y="272">
143   <properties>
144    <property name="dialogue length" value="1"/>
145    <property name="dialogue0" value="Hail to the King!"/>
146    <property name="direction" value="left"/>
147   </properties>
148  </object>
149  <object name="sprite" type="soldier" gid="74" x="256" y="176">
150   <properties>
151    <property name="dialogue length" value="1"/>
152    <property name="dialogue0" value="Hail to the King!"/>
153    <property name="direction" value="left"/>
154   </properties>
155  </object>
156  <object name="sprite" type="soldier" gid="74" x="256" y="144">
157   <properties>
158    <property name="dialogue length" value="1"/>
159    <property name="dialogue0" value="Hail to the King!"/>
160    <property name="direction" value="left"/>
161   </properties>
162  </object>
163  <object name="sprite" type="king" gid="74" x="192" y="112">
164   <properties>
165    <property name="dialogue length" value="5"/>
166    <property name="dialogue0" value="Please!  You must help me!"/>
167    <property name="dialogue1" value="An evil sorceror has stolen my magic crown."/>
168    <property name="dialogue2" value="WIthout it, our town will be overrun by monsters!"/>
169    <property name="dialogue3" value="Take this money for supplies."/>
170    <property name="dialogue4" value="Our town's fate is in your hands."/>
171   </properties>
172  </object>
173  <object name="sprite" type="soldier" gid="74" x="128" y="336">
174   <properties>
175    <property name="dialogue length" value="1"/>
176    <property name="dialogue0" value="Hail to the King!"/>
177    <property name="direction" value="right"/>
178   </properties>
179  </object>
180  <object name="sprite" type="soldier" gid="74" x="128" y="304">
181   <properties>
182    <property name="dialogue length" value="1"/>
183    <property name="dialogue0" value="Hail to the King!"/>
184    <property name="direction" value="right"/>
185   </properties>
186  </object>
187  <object name="sprite" type="soldier" gid="74" x="128" y="272">
188   <properties>
189    <property name="dialogue length" value="1"/>
190    <property name="dialogue0" value="Hail to the King!"/>
191    <property name="direction" value="right"/>
192   </properties>
193  </object>
194  <object name="sprite" type="soldier" gid="74" x="128" y="208">
195   <properties>
196    <property name="dialogue length" value="1"/>
197    <property name="dialogue0" value="Hail to the King!"/>
198    <property name="direction" value="right"/>
199   </properties>
200  </object>
201  <object name="sprite" type="soldier" gid="74" x="128" y="240">
202   <properties>
203    <property name="dialogue length" value="1"/>
204    <property name="dialogue0" value="Hail to the King!"/>
205    <property name="direction" value="right"/>
206   </properties>
207  </object>
208  <object name="sprite" type="soldier" gid="74" x="128" y="144">
209   <properties>
210    <property name="dialogue length" value="1"/>
211    <property name="dialogue0" value="Hail to the King!"/>
212    <property name="direction" value="right"/>
213   </properties>
214  </object>
215  <object name="sprite" type="soldier" gid="74" x="128" y="176">
216   <properties>
217    <property name="dialogue length" value="1"/>
218    <property name="dialogue0" value="Hail to the King!"/>
219    <property name="direction" value="right"/>
220   </properties>
221  </object>
222 </objectgroup>
223</map>