all repos — Legends-RPG @ 68aafd99d9f82e78e31817a43b72cdd0d7ce9900

A fantasy mini-RPG built with Python and Pygame.

resources/tmx/town.tmx (view raw)

  1<?xml version="1.0" encoding="UTF-8"?>
  2<map version="1.0" orientation="orthogonal" width="25" height="51" tilewidth="16" tileheight="16">
  3 <tileset firstgid="1" name="tileset1" tilewidth="16" tileheight="16">
  4  <image source="../graphics/tileset1.png" width="160" height="80"/>
  5 </tileset>
  6 <tileset firstgid="51" name="tileset2" tilewidth="16" tileheight="16">
  7  <image source="../graphics/tileset2.png" width="160" height="180"/>
  8 </tileset>
  9 <tileset firstgid="161" name="medievalsigns" tilewidth="16" tileheight="16">
 10  <image source="../graphics/medievalsigns.png" width="64" height="64"/>
 11 </tileset>
 12 <tileset firstgid="177" name="shopsigns" tilewidth="16" tileheight="16">
 13  <image source="../graphics/shopsigns.png" width="64" height="16"/>
 14 </tileset>
 15 <layer name="Tile Layer 1" width="25" height="51">
 16  <data encoding="base64" compression="zlib">
 17   eJztlc8KgCAMh733Rl58gB2jl4q6Rc+bBwOJmVv5Z8iC7yDu54eOGBhjQFEGZ/Vs6iBxeE4BPcNwDL5kXMb/ZA7UvLM6xnHsEdg656DkWziWCGydc1DyLRyAZLGz3nrOyZdkxP+Dev4UqOGJz2/lqf1eUntuGdwOTsYO9Fbq6ONIzU9OjQRHav5xaiQ4gLCfqynp6DHHOff4izrqO1p8Fz0Qegc=
 18  </data>
 19 </layer>
 20 <layer name="Tile Layer 2" width="25" height="51">
 21  <data encoding="base64" compression="zlib">
 22   eJztVkkKwzAMnGf0XHz2k9p+sIcuD2wKDhjhRbI9LjUZEEJEmUGWFcWBC7eZn8DvJvCzdCQ/47yOOvSYUYfUYYE9H0BbHadgVh0LWjS+sJzVOZiVn9lzgN9z4KjDghXreItnLyPXU8SP4OM6LiJHxjXk3p/Zj1n/Jgywdy3QttOvm906+Gs6O79Gp8Tvo5ySTi8/0HcHfOSdiBlgf6ckmHd39yvO4Eg9zR3uxb/zI8M/qg/34Jl1yB2bqsO6x3P4Vb9XmYsRc+4K/EjEWi35ba3tVi/yNTqps9DsVut+TOXP3oEfnVUuIg==
 23  </data>
 24 </layer>
 25 <objectgroup name="Object Layer 1" width="25" height="51">
 26  <object name="start point" gid="123" x="176" y="800">
 27   <properties>
 28    <property name="state" value="overworld"/>
 29   </properties>
 30  </object>
 31  <object name="blocker" gid="120" x="112" y="800"/>
 32  <object name="blocker" gid="120" x="112" y="784"/>
 33  <object name="blocker" gid="120" x="96" y="768"/>
 34  <object name="blocker" gid="120" x="80" y="784"/>
 35  <object name="blocker" gid="120" x="64" y="768"/>
 36  <object name="blocker" gid="120" x="64" y="752"/>
 37  <object name="blocker" gid="120" x="48" y="768"/>
 38  <object name="blocker" gid="120" x="32" y="752"/>
 39  <object name="blocker" gid="120" x="32" y="736"/>
 40  <object name="blocker" gid="120" x="32" y="720"/>
 41  <object name="blocker" gid="120" x="32" y="704"/>
 42  <object name="blocker" gid="120" x="48" y="688"/>
 43  <object name="blocker" gid="120" x="80" y="688"/>
 44  <object name="blocker" gid="120" x="80" y="672"/>
 45  <object name="blocker" gid="120" x="80" y="640"/>
 46  <object name="blocker" gid="120" x="80" y="656"/>
 47  <object name="blocker" gid="120" x="64" y="640"/>
 48  <object name="blocker" gid="120" x="48" y="624"/>
 49  <object name="blocker" gid="120" x="64" y="608"/>
 50  <object name="blocker" gid="120" x="64" y="592"/>
 51  <object name="blocker" gid="120" x="48" y="608"/>
 52  <object name="blocker" gid="120" x="32" y="592"/>
 53  <object name="blocker" gid="120" x="16" y="576"/>
 54  <object name="blocker" gid="120" x="16" y="544"/>
 55  <object name="blocker" gid="120" x="16" y="560"/>
 56  <object name="blocker" gid="120" x="16" y="512"/>
 57  <object name="blocker" gid="120" x="32" y="528"/>
 58  <object name="blocker" gid="120" x="64" y="528"/>
 59  <object name="blocker" gid="120" x="80" y="528"/>
 60  <object name="blocker" gid="120" x="96" y="528"/>
 61  <object name="blocker" gid="120" x="128" y="528"/>
 62  <object name="blocker" gid="120" x="112" y="528"/>
 63  <object name="blocker" gid="120" x="144" y="528"/>
 64  <object name="blocker" gid="120" x="160" y="528"/>
 65  <object name="blocker" gid="120" x="48" y="528"/>
 66  <object name="blocker" gid="120" x="32" y="496"/>
 67  <object name="blocker" gid="120" x="48" y="480"/>
 68  <object name="blocker" gid="120" x="80" y="496"/>
 69  <object name="blocker" gid="120" x="80" y="480"/>
 70  <object name="blocker" gid="120" x="48" y="464"/>
 71  <object name="blocker" gid="120" x="32" y="448"/>
 72  <object name="blocker" gid="120" x="16" y="432"/>
 73  <object name="blocker" gid="120" x="16" y="416"/>
 74  <object name="blocker" gid="120" x="16" y="400"/>
 75  <object name="blocker" gid="120" x="0" y="384"/>
 76  <object name="blocker" gid="120" x="16" y="368"/>
 77  <object name="blocker" gid="120" x="48" y="368"/>
 78  <object name="blocker" gid="120" x="48" y="336"/>
 79  <object name="blocker" gid="120" x="48" y="352"/>
 80  <object name="blocker" gid="120" x="48" y="320"/>
 81  <object name="blocker" gid="120" x="32" y="320"/>
 82  <object name="blocker" gid="120" x="16" y="320"/>
 83  <object name="blocker" gid="120" x="80" y="368"/>
 84  <object name="blocker" gid="120" x="112" y="368"/>
 85  <object name="blocker" gid="120" x="112" y="352"/>
 86  <object name="blocker" gid="120" x="112" y="336"/>
 87  <object name="blocker" gid="120" x="112" y="320"/>
 88  <object name="blocker" gid="120" x="96" y="320"/>
 89  <object name="blocker" gid="120" x="80" y="320"/>
 90  <object name="blocker" gid="120" x="80" y="336"/>
 91  <object name="blocker" gid="120" x="80" y="352"/>
 92  <object name="blocker" gid="120" x="272" y="368"/>
 93  <object name="blocker" gid="120" x="272" y="352"/>
 94  <object name="blocker" gid="120" x="272" y="320"/>
 95  <object name="blocker" gid="120" x="272" y="336"/>
 96  <object name="blocker" gid="120" x="288" y="320"/>
 97  <object name="blocker" gid="120" x="304" y="320"/>
 98  <object name="blocker" gid="120" x="304" y="320"/>
 99  <object name="blocker" gid="120" x="304" y="336"/>
100  <object name="blocker" gid="120" x="304" y="336"/>
101  <object name="blocker" gid="120" x="304" y="352"/>
102  <object name="blocker" gid="120" x="304" y="368"/>
103  <object name="blocker" gid="120" x="336" y="368"/>
104  <object name="blocker" gid="120" x="336" y="336"/>
105  <object name="blocker" gid="120" x="336" y="352"/>
106  <object name="blocker" gid="120" x="336" y="320"/>
107  <object name="blocker" gid="120" x="352" y="320"/>
108  <object name="blocker" gid="120" x="368" y="320"/>
109  <object name="blocker" gid="120" x="368" y="336"/>
110  <object name="blocker" gid="120" x="368" y="336"/>
111  <object name="blocker" gid="120" x="368" y="352"/>
112  <object name="blocker" gid="120" x="368" y="352"/>
113  <object name="blocker" gid="120" x="368" y="368"/>
114  <object name="blocker" gid="120" x="400" y="384"/>
115  <object name="blocker" gid="120" x="400" y="384"/>
116  <object name="blocker" gid="120" x="400" y="384"/>
117  <object name="blocker" gid="120" x="384" y="384"/>
118  <object name="blocker" gid="120" x="368" y="400"/>
119  <object name="blocker" gid="120" x="368" y="416"/>
120  <object name="blocker" gid="120" x="368" y="432"/>
121  <object name="blocker" gid="120" x="368" y="432"/>
122  <object name="blocker" gid="120" x="352" y="448"/>
123  <object name="blocker" gid="120" x="336" y="464"/>
124  <object name="blocker" gid="120" x="320" y="480"/>
125  <object name="blocker" gid="120" x="320" y="496"/>
126  <object name="blocker" gid="120" x="336" y="480"/>
127  <object name="blocker" gid="120" x="352" y="496"/>
128  <object name="blocker" gid="120" x="368" y="512"/>
129  <object name="blocker" gid="120" x="224" y="528"/>
130  <object name="blocker" gid="120" x="208" y="528"/>
131  <object name="blocker" gid="120" x="256" y="528"/>
132  <object name="blocker" gid="120" x="240" y="528"/>
133  <object name="blocker" gid="120" x="288" y="528"/>
134  <object name="blocker" gid="120" x="272" y="528"/>
135  <object name="blocker" gid="120" x="320" y="528"/>
136  <object name="blocker" gid="120" x="320" y="528"/>
137  <object name="blocker" gid="120" x="336" y="528"/>
138  <object name="blocker" gid="120" x="352" y="528"/>
139  <object name="blocker" gid="120" x="304" y="528"/>
140  <object name="blocker" gid="120" x="368" y="544"/>
141  <object name="blocker" gid="120" x="368" y="560"/>
142  <object name="blocker" gid="120" x="368" y="560"/>
143  <object name="blocker" gid="120" x="368" y="576"/>
144  <object name="blocker" gid="120" x="368" y="592"/>
145  <object name="blocker" gid="120" x="368" y="608"/>
146  <object name="blocker" gid="120" x="368" y="608"/>
147  <object name="blocker" gid="120" x="352" y="624"/>
148  <object name="blocker" gid="120" x="336" y="624"/>
149  <object name="blocker" gid="120" x="320" y="624"/>
150  <object name="blocker" gid="120" x="304" y="624"/>
151  <object name="blocker" gid="120" x="304" y="624"/>
152  <object name="blocker" gid="120" x="304" y="640"/>
153  <object name="blocker" gid="120" x="304" y="656"/>
154  <object name="blocker" gid="120" x="304" y="656"/>
155  <object name="blocker" gid="120" x="304" y="672"/>
156  <object name="blocker" gid="120" x="336" y="672"/>
157  <object name="blocker" gid="120" x="352" y="688"/>
158  <object name="blocker" gid="120" x="336" y="704"/>
159  <object name="blocker" gid="120" x="336" y="720"/>
160  <object name="blocker" gid="120" x="336" y="736"/>
161  <object name="blocker" gid="120" x="320" y="752"/>
162  <object name="blocker" gid="120" x="304" y="752"/>
163  <object name="blocker" gid="120" x="288" y="768"/>
164  <object name="blocker" gid="120" x="272" y="784"/>
165  <object name="blocker" gid="120" x="256" y="768"/>
166  <object name="blocker" gid="120" x="256" y="784"/>
167  <object name="blocker" gid="120" x="272" y="800"/>
168  <object name="blocker" gid="120" x="0" y="304"/>
169  <object name="blocker" gid="120" x="0" y="272"/>
170  <object name="blocker" gid="120" x="0" y="288"/>
171  <object name="blocker" gid="120" x="0" y="256"/>
172  <object name="blocker" gid="120" x="0" y="224"/>
173  <object name="blocker" gid="120" x="0" y="224"/>
174  <object name="blocker" gid="120" x="0" y="240"/>
175  <object name="blocker" gid="120" x="16" y="208"/>
176  <object name="blocker" gid="120" x="32" y="208"/>
177  <object name="blocker" gid="120" x="48" y="208"/>
178  <object name="blocker" gid="120" x="64" y="208"/>
179  <object name="blocker" gid="120" x="80" y="208"/>
180  <object name="blocker" gid="120" x="96" y="208"/>
181  <object name="blocker" gid="120" x="112" y="208"/>
182  <object name="blocker" gid="120" x="128" y="208"/>
183  <object name="blocker" gid="120" x="144" y="208"/>
184  <object name="blocker" gid="120" x="160" y="208"/>
185  <object name="blocker" gid="120" x="224" y="208"/>
186  <object name="blocker" gid="120" x="208" y="208"/>
187  <object name="blocker" gid="120" x="240" y="208"/>
188  <object name="blocker" gid="120" x="256" y="208"/>
189  <object name="blocker" gid="120" x="272" y="208"/>
190  <object name="blocker" gid="120" x="288" y="208"/>
191  <object name="blocker" gid="120" x="304" y="208"/>
192  <object name="blocker" gid="120" x="320" y="208"/>
193  <object name="blocker" gid="120" x="336" y="208"/>
194  <object name="blocker" gid="120" x="368" y="208"/>
195  <object name="blocker" gid="120" x="352" y="208"/>
196  <object name="blocker" gid="120" x="400" y="304"/>
197  <object name="blocker" gid="120" x="384" y="304"/>
198  <object name="blocker" gid="120" x="384" y="272"/>
199  <object name="blocker" gid="120" x="384" y="288"/>
200  <object name="blocker" gid="120" x="384" y="256"/>
201  <object name="blocker" gid="120" x="384" y="240"/>
202  <object name="blocker" gid="120" x="384" y="224"/>
203  <object name="portal" type="overworld" gid="139" x="192" y="816"/>
204  <object name="portal" type="overworld" gid="139" x="176" y="816"/>
205  <object name="portal" type="house" gid="139" x="64" y="688"/>
206  <object name="portal" type="Inn" gid="139" x="320" y="672"/>
207  <object name="portal" type="armor shop" gid="139" x="96" y="368"/>
208  <object name="portal" type="weapon shop" gid="139" x="32" y="368"/>
209  <object name="portal" type="potion shop" gid="139" x="288" y="368"/>
210  <object name="portal" type="magic shop" gid="139" x="352" y="368"/>
211  <object name="start point" gid="123" x="320" y="688">
212   <properties>
213    <property name="state" value="Inn"/>
214   </properties>
215  </object>
216  <object name="start point" gid="123" x="64" y="704">
217   <properties>
218    <property name="state" value="house"/>
219   </properties>
220  </object>
221  <object name="start point" gid="123" x="352" y="384">
222   <properties>
223    <property name="state" value="magic shop"/>
224   </properties>
225  </object>
226  <object name="start point" gid="123" x="288" y="384">
227   <properties>
228    <property name="state" value="potion shop"/>
229   </properties>
230  </object>
231  <object name="start point" gid="123" x="96" y="384">
232   <properties>
233    <property name="state" value="armor shop"/>
234   </properties>
235  </object>
236  <object name="start point" gid="123" x="32" y="384">
237   <properties>
238    <property name="state" value="weapon shop"/>
239   </properties>
240  </object>
241  <object name="sprite" type="bluedressgirl" gid="124" x="144" y="768">
242   <properties>
243    <property name="dialogue length" value="3"/>
244    <property name="dialogue0" value="Welcome to our town, traveller!"/>
245    <property name="dialogue1" value="Our King protects us against the evil forces of the outside world."/>
246    <property name="dialogue2" value="As long as we never leave, we have nothing to fear!"/>
247   </properties>
248  </object>
249  <object name="sprite" type="femalewarrior" gid="124" x="240" y="640">
250   <properties>
251    <property name="dialogue length" value="2"/>
252    <property name="dialogue0" value="You seem tired from your travels."/>
253    <property name="dialogue1" value="Why not rest at our Inn and stay awhile?"/>
254   </properties>
255  </object>
256  <object name="sprite" type="devil" gid="124" x="288" y="464">
257   <properties>
258    <property name="dialogue length" value="3"/>
259    <property name="dialogue0" value="Don't be frightened. I'm a friendly Demon."/>
260    <property name="dialogue1" value="My brothers and sisters, however, are not so nice."/>
261    <property name="dialogue2" value="Be careful not to run into them."/>
262   </properties>
263  </object>
264 </objectgroup>
265</map>