all repos — Legends-RPG @ a55164ece8c0aeea2d6fcc25cf11f80345134f11

A fantasy mini-RPG built with Python and Pygame.

resources/tmx/house.tmx (view raw)

 1<?xml version="1.0" encoding="UTF-8"?>
 2<map version="1.0" orientation="orthogonal" width="25" height="19" tilewidth="16" tileheight="16" backgroundcolor="#130f30">
 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="tileset3" tilewidth="16" tileheight="16">
10  <image source="../graphics/tileset3.png" width="176" height="192"/>
11 </tileset>
12 <tileset firstgid="293" name="house" tilewidth="16" tileheight="16">
13  <image source="../graphics/house.png" width="512" height="448"/>
14 </tileset>
15 <layer name="Tile Layer 1" width="25" height="19">
16  <data encoding="base64" compression="zlib">
17   eJzt0TEOgCAQBdFFStTa46rHFShRSifxBCSsiWZ/eO1OgYjN9mxp1LtxICIhKzUKTlyoSg1xPAzwTqcRuDtiwqzUeOPPv9xYsWHv2LD9dzcEmhGk
18  </data>
19 </layer>
20 <layer name="Tile Layer 2" width="25" height="19">
21  <data encoding="base64" compression="zlib">
22   eJzty7cRwlAQRdE/2wYI3wVOmC4ACaMucMJ0AUgCVKhutinzE5K9Myd7z7n/VRPn6gjQQBMttNFBFz3RnU99fgMMMcIYISaYYoa56M6nBb8lVogQY40NttghEd35tOd3wBEnnJHigituuIvufHrwe+KFDDkKvPHBF6XozrIsy/qtCvPJFrM=
23  </data>
24 </layer>
25 <layer name="Tile Layer 3" width="25" height="19">
26  <data encoding="base64" compression="zlib">
27   eJztzckNgEAMBMHBJhGORDgSgSXxXQiElojBvNxSfWekLPuqJjXceCzmo3PJ4Og95mNgd8SEOehjYXfFhj3o42D3RMEV9JFl2T+9ywQG6w==
28  </data>
29 </layer>
30 <objectgroup name="Object Layer 1" width="25" height="19">
31  <object name="sprite" type="oldman" gid="115" x="240" y="128"/>
32  <object name="start point" gid="123" x="176" y="224">
33   <properties>
34    <property name="state" value="town"/>
35   </properties>
36  </object>
37  <object name="portal" type="town" gid="139" x="192" y="240"/>
38  <object name="portal" type="town" gid="139" x="176" y="240"/>
39  <object name="portal" type="town" gid="139" x="160" y="240"/>
40 </objectgroup>
41</map>