all repos — Legends-RPG @ 16fdbad96b09182ddd52b7640fac99e317638dfa

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