all repos — Legends-RPG @ 6387912ba1c75cd67b42aa13d443f3b07598983d

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 <layer name="Tile Layer 1" width="25" height="51">
 10  <data encoding="base64" compression="zlib">
 11   eJztlc8KgCAMh733Rl58gB2jl4q6Rc+bBwOJmVv5Z8iC7yDu54eOGBhjQFEGZ/Vs6iBxeE4BPcNwDL5kXMb/ZA7UvLM6xnHsEdg656DkWziWCGydc1DyLRyAZLGz3nrOyZdkxP+Dev4UqOGJz2/lqf1eUntuGdwOTsYO9Fbq6ONIzU9OjQRHav5xaiQ4gLCfqynp6DHHOff4izrqO1p8Fz0Qegc=
 12  </data>
 13 </layer>
 14 <layer name="Tile Layer 2" width="25" height="51">
 15  <data encoding="base64" compression="zlib">
 16   eJztVlsKxCAQyzH6vfjtkXZ7/1NsF1qQwceMmilbDAxFahPiqGkAF+Go6MAfHPhZOpKfsV7Lhx4ePqQOC+zzAfT52M6y6ljQo/GDZa1eZ1n5mT0H+D0Hlg8Llg89Uh9v8U6OWyh97+nD69+EAXbWAn2Z/jlqH+Bv6Vz8Gp0af0zm1HRG+YGxPRCTZxBjBtj3lARz717PJ57BmXqaPTyKf+dHgX9235k+ZMbmfFhzvIS7+v2UczHjnIcKPzJjrZa8W1vZGsV8jU5uLTTZas3H3HzvDPwCwBwqqw==
 17  </data>
 18 </layer>
 19 <objectgroup name="Object Layer 1" width="25" height="51">
 20  <object name="player start" gid="123" x="176" y="800"/>
 21  <object name="blocker" gid="120" x="112" y="800"/>
 22  <object name="blocker" gid="120" x="112" y="784"/>
 23  <object name="blocker" gid="120" x="96" y="768"/>
 24  <object name="blocker" gid="120" x="80" y="784"/>
 25  <object name="blocker" gid="120" x="64" y="768"/>
 26  <object name="blocker" gid="120" x="64" y="752"/>
 27  <object name="blocker" gid="120" x="48" y="768"/>
 28  <object name="blocker" gid="120" x="32" y="752"/>
 29  <object name="blocker" gid="120" x="32" y="736"/>
 30  <object name="blocker" gid="120" x="32" y="720"/>
 31  <object name="blocker" gid="120" x="32" y="704"/>
 32  <object name="blocker" gid="120" x="48" y="688"/>
 33  <object name="blocker" gid="120" x="80" y="688"/>
 34  <object name="blocker" gid="120" x="80" y="672"/>
 35  <object name="blocker" gid="120" x="80" y="640"/>
 36  <object name="blocker" gid="120" x="80" y="656"/>
 37  <object name="blocker" gid="120" x="64" y="640"/>
 38  <object name="blocker" gid="120" x="48" y="624"/>
 39  <object name="blocker" gid="120" x="64" y="608"/>
 40  <object name="blocker" gid="120" x="64" y="592"/>
 41  <object name="blocker" gid="120" x="48" y="608"/>
 42  <object name="blocker" gid="120" x="32" y="592"/>
 43  <object name="blocker" gid="120" x="16" y="576"/>
 44  <object name="blocker" gid="120" x="16" y="544"/>
 45  <object name="blocker" gid="120" x="16" y="560"/>
 46  <object name="blocker" gid="120" x="16" y="512"/>
 47  <object name="blocker" gid="120" x="32" y="528"/>
 48  <object name="blocker" gid="120" x="64" y="528"/>
 49  <object name="blocker" gid="120" x="80" y="528"/>
 50  <object name="blocker" gid="120" x="96" y="528"/>
 51  <object name="blocker" gid="120" x="128" y="528"/>
 52  <object name="blocker" gid="120" x="112" y="528"/>
 53  <object name="blocker" gid="120" x="144" y="528"/>
 54  <object name="blocker" gid="120" x="160" y="528"/>
 55  <object name="blocker" gid="120" x="48" y="528"/>
 56  <object name="blocker" gid="120" x="32" y="496"/>
 57  <object name="blocker" gid="120" x="48" y="480"/>
 58  <object name="blocker" gid="120" x="80" y="496"/>
 59  <object name="blocker" gid="120" x="80" y="480"/>
 60  <object name="blocker" gid="120" x="48" y="464"/>
 61  <object name="blocker" gid="120" x="32" y="448"/>
 62  <object name="blocker" gid="120" x="16" y="432"/>
 63  <object name="blocker" gid="120" x="16" y="416"/>
 64  <object name="blocker" gid="120" x="16" y="400"/>
 65  <object name="blocker" gid="120" x="0" y="384"/>
 66  <object name="blocker" gid="120" x="16" y="368"/>
 67  <object name="blocker" gid="120" x="48" y="368"/>
 68  <object name="blocker" gid="120" x="48" y="336"/>
 69  <object name="blocker" gid="120" x="48" y="352"/>
 70  <object name="blocker" gid="120" x="48" y="320"/>
 71  <object name="blocker" gid="120" x="32" y="320"/>
 72  <object name="blocker" gid="120" x="16" y="320"/>
 73  <object name="blocker" gid="120" x="80" y="368"/>
 74  <object name="blocker" gid="120" x="112" y="368"/>
 75  <object name="blocker" gid="120" x="112" y="352"/>
 76  <object name="blocker" gid="120" x="112" y="336"/>
 77  <object name="blocker" gid="120" x="112" y="320"/>
 78  <object name="blocker" gid="120" x="96" y="320"/>
 79  <object name="blocker" gid="120" x="80" y="320"/>
 80  <object name="blocker" gid="120" x="80" y="336"/>
 81  <object name="blocker" gid="120" x="80" y="352"/>
 82  <object name="blocker" gid="120" x="272" y="368"/>
 83  <object name="blocker" gid="120" x="272" y="352"/>
 84  <object name="blocker" gid="120" x="272" y="320"/>
 85  <object name="blocker" gid="120" x="272" y="336"/>
 86  <object name="blocker" gid="120" x="288" y="320"/>
 87  <object name="blocker" gid="120" x="304" y="320"/>
 88  <object name="blocker" gid="120" x="304" y="320"/>
 89  <object name="blocker" gid="120" x="304" y="336"/>
 90  <object name="blocker" gid="120" x="304" y="336"/>
 91  <object name="blocker" gid="120" x="304" y="352"/>
 92  <object name="blocker" gid="120" x="304" y="368"/>
 93  <object name="blocker" gid="120" x="336" y="368"/>
 94  <object name="blocker" gid="120" x="336" y="336"/>
 95  <object name="blocker" gid="120" x="336" y="352"/>
 96  <object name="blocker" gid="120" x="336" y="320"/>
 97  <object name="blocker" gid="120" x="352" y="320"/>
 98  <object name="blocker" gid="120" x="368" y="320"/>
 99  <object name="blocker" gid="120" x="368" y="336"/>
100  <object name="blocker" gid="120" x="368" y="336"/>
101  <object name="blocker" gid="120" x="368" y="352"/>
102  <object name="blocker" gid="120" x="368" y="352"/>
103  <object name="blocker" gid="120" x="368" y="368"/>
104  <object name="blocker" gid="120" x="400" y="384"/>
105  <object name="blocker" gid="120" x="400" y="384"/>
106  <object name="blocker" gid="120" x="400" y="384"/>
107  <object name="blocker" gid="120" x="384" y="384"/>
108  <object name="blocker" gid="120" x="368" y="400"/>
109  <object name="blocker" gid="120" x="368" y="416"/>
110  <object name="blocker" gid="120" x="368" y="432"/>
111  <object name="blocker" gid="120" x="368" y="432"/>
112  <object name="blocker" gid="120" x="352" y="448"/>
113  <object name="blocker" gid="120" x="336" y="464"/>
114  <object name="blocker" gid="120" x="320" y="480"/>
115  <object name="blocker" gid="120" x="320" y="496"/>
116  <object name="blocker" gid="120" x="336" y="480"/>
117  <object name="blocker" gid="120" x="352" y="496"/>
118  <object name="blocker" gid="120" x="368" y="512"/>
119  <object name="blocker" gid="120" x="224" y="528"/>
120  <object name="blocker" gid="120" x="208" y="528"/>
121  <object name="blocker" gid="120" x="256" y="528"/>
122  <object name="blocker" gid="120" x="240" y="528"/>
123  <object name="blocker" gid="120" x="288" y="528"/>
124  <object name="blocker" gid="120" x="272" y="528"/>
125  <object name="blocker" gid="120" x="320" y="528"/>
126  <object name="blocker" gid="120" x="320" y="528"/>
127  <object name="blocker" gid="120" x="336" y="528"/>
128  <object name="blocker" gid="120" x="352" y="528"/>
129  <object name="blocker" gid="120" x="304" y="528"/>
130  <object name="blocker" gid="120" x="368" y="544"/>
131  <object name="blocker" gid="120" x="368" y="560"/>
132  <object name="blocker" gid="120" x="368" y="560"/>
133  <object name="blocker" gid="120" x="368" y="576"/>
134  <object name="blocker" gid="120" x="368" y="592"/>
135  <object name="blocker" gid="120" x="368" y="608"/>
136  <object name="blocker" gid="120" x="368" y="608"/>
137  <object name="blocker" gid="120" x="352" y="624"/>
138  <object name="blocker" gid="120" x="336" y="624"/>
139  <object name="blocker" gid="120" x="320" y="624"/>
140  <object name="blocker" gid="120" x="304" y="624"/>
141  <object name="blocker" gid="120" x="304" y="624"/>
142  <object name="blocker" gid="120" x="304" y="640"/>
143  <object name="blocker" gid="120" x="304" y="656"/>
144  <object name="blocker" gid="120" x="304" y="656"/>
145  <object name="blocker" gid="120" x="304" y="672"/>
146  <object name="blocker" gid="120" x="336" y="672"/>
147  <object name="blocker" gid="120" x="352" y="688"/>
148  <object name="blocker" gid="120" x="336" y="704"/>
149  <object name="blocker" gid="120" x="336" y="720"/>
150  <object name="blocker" gid="120" x="336" y="736"/>
151  <object name="blocker" gid="120" x="320" y="752"/>
152  <object name="blocker" gid="120" x="304" y="752"/>
153  <object name="blocker" gid="120" x="288" y="768"/>
154  <object name="blocker" gid="120" x="272" y="784"/>
155  <object name="blocker" gid="120" x="256" y="768"/>
156  <object name="blocker" gid="120" x="256" y="784"/>
157  <object name="blocker" gid="120" x="272" y="800"/>
158  <object name="blocker" gid="120" x="0" y="304"/>
159  <object name="blocker" gid="120" x="0" y="272"/>
160  <object name="blocker" gid="120" x="0" y="288"/>
161  <object name="blocker" gid="120" x="0" y="256"/>
162  <object name="blocker" gid="120" x="0" y="224"/>
163  <object name="blocker" gid="120" x="0" y="224"/>
164  <object name="blocker" gid="120" x="0" y="240"/>
165  <object name="blocker" gid="120" x="16" y="208"/>
166  <object name="blocker" gid="120" x="32" y="208"/>
167  <object name="blocker" gid="120" x="48" y="208"/>
168  <object name="blocker" gid="120" x="64" y="208"/>
169  <object name="blocker" gid="120" x="80" y="208"/>
170  <object name="blocker" gid="120" x="96" y="208"/>
171  <object name="blocker" gid="120" x="112" y="208"/>
172  <object name="blocker" gid="120" x="128" y="208"/>
173  <object name="blocker" gid="120" x="144" y="208"/>
174  <object name="blocker" gid="120" x="160" y="208"/>
175  <object name="blocker" gid="120" x="224" y="208"/>
176  <object name="blocker" gid="120" x="208" y="208"/>
177  <object name="blocker" gid="120" x="240" y="208"/>
178  <object name="blocker" gid="120" x="256" y="208"/>
179  <object name="blocker" gid="120" x="272" y="208"/>
180  <object name="blocker" gid="120" x="288" y="208"/>
181  <object name="blocker" gid="120" x="304" y="208"/>
182  <object name="blocker" gid="120" x="320" y="208"/>
183  <object name="blocker" gid="120" x="336" y="208"/>
184  <object name="blocker" gid="120" x="368" y="208"/>
185  <object name="blocker" gid="120" x="352" y="208"/>
186  <object name="blocker" gid="120" x="400" y="304"/>
187  <object name="blocker" gid="120" x="384" y="304"/>
188  <object name="blocker" gid="120" x="384" y="272"/>
189  <object name="blocker" gid="120" x="384" y="288"/>
190  <object name="blocker" gid="120" x="384" y="256"/>
191  <object name="blocker" gid="120" x="384" y="240"/>
192  <object name="blocker" gid="120" x="384" y="224"/>
193  <object name="portal" gid="139" x="192" y="816">
194   <properties>
195    <property name="new state" value="overworld"/>
196   </properties>
197  </object>
198  <object name="portal" gid="139" x="176" y="816">
199   <properties>
200    <property name="new state" value="overworld"/>
201   </properties>
202  </object>
203  <object gid="139" x="64" y="688"/>
204  <object name="portal" gid="139" x="320" y="672">
205   <properties>
206    <property name="new state" value="Inn"/>
207   </properties>
208  </object>
209  <object name="portal" gid="139" x="96" y="368">
210   <properties>
211    <property name="new state" value="armor shop"/>
212   </properties>
213  </object>
214  <object name="portal" gid="139" x="32" y="368">
215   <properties>
216    <property name="new state" value="weapon shop"/>
217   </properties>
218  </object>
219  <object name="portal" gid="139" x="288" y="368">
220   <properties>
221    <property name="new state" value="potion shop"/>
222   </properties>
223  </object>
224  <object name="portal" gid="139" x="352" y="368">
225   <properties>
226    <property name="new state" value="magic shop"/>
227   </properties>
228  </object>
229 </objectgroup>
230</map>