all repos — Legends-RPG @ 78f7dd5b0cc124cef7ca6aecee53f7cd7caf2486

A fantasy mini-RPG built with Python and Pygame.

resources/tmx/dungeon.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   eJztlUkOwjAMRX1CYAldQveIUWLacQugDIeg6+Zk/EiJaiwXCLQIoUR6ihs3fkqy8JCIxmACpmAG5m5tVJELWV+AJdiAFVi7WH5/Em+/6LgqtEA7gI5SI2eOQsl3QS+AxNUpWD3psBCL33HkDmKxdBhGHwwYWl2eT8V+ozhkXiLPlVS8o8Q6dmCvzPLtNEchsPvO4AJOLNYGv79nDkP37/vq4PcXHdHxjw6fi+f4jXPU5fBzkw7fz5p0POpR8qwhDtunMnCkstfI3ptS2c8O7v8swFH3uAG1VgYY
 12  </data>
 13 </layer>
 14 <objectgroup name="Object Layer 1" width="25" height="27">
 15  <object name="start point" gid="73" x="192" y="416">
 16   <properties>
 17    <property name="direction" value="up"/>
 18    <property name="state" value="overworld"/>
 19   </properties>
 20  </object>
 21  <object name="portal" type="overworld" gid="89" x="224" y="432"/>
 22  <object name="portal" type="overworld" gid="89" x="208" y="432"/>
 23  <object name="portal" type="overworld" gid="89" x="192" y="432"/>
 24  <object name="portal" type="overworld" gid="89" x="176" y="432"/>
 25  <object name="portal" type="overworld" gid="89" x="160" y="432"/>
 26  <object name="blocker" gid="70" x="304" y="144"/>
 27  <object name="blocker" gid="70" x="320" y="144"/>
 28  <object name="blocker" gid="70" x="336" y="144"/>
 29  <object name="blocker" gid="70" x="352" y="144"/>
 30  <object name="blocker" gid="70" x="368" y="144"/>
 31  <object name="blocker" gid="70" x="384" y="128"/>
 32  <object name="blocker" gid="70" x="384" y="96"/>
 33  <object name="blocker" gid="70" x="384" y="112"/>
 34  <object name="blocker" gid="70" x="384" y="80"/>
 35  <object name="blocker" gid="70" x="384" y="64"/>
 36  <object name="blocker" gid="70" x="368" y="48"/>
 37  <object name="blocker" gid="70" x="352" y="48"/>
 38  <object name="blocker" gid="70" x="336" y="48"/>
 39  <object name="blocker" gid="70" x="320" y="48"/>
 40  <object name="blocker" gid="70" x="304" y="48"/>
 41  <object name="blocker" gid="70" x="288" y="48"/>
 42  <object name="blocker" gid="70" x="272" y="48"/>
 43  <object name="blocker" gid="70" x="256" y="48"/>
 44  <object name="blocker" gid="70" x="240" y="48"/>
 45  <object name="blocker" gid="70" x="224" y="48"/>
 46  <object name="blocker" gid="70" x="208" y="48"/>
 47  <object name="blocker" gid="70" x="192" y="48"/>
 48  <object name="blocker" gid="70" x="176" y="48"/>
 49  <object name="blocker" gid="70" x="160" y="48"/>
 50  <object name="blocker" gid="70" x="144" y="48"/>
 51  <object name="blocker" gid="70" x="128" y="48"/>
 52  <object name="blocker" gid="70" x="112" y="48"/>
 53  <object name="blocker" gid="70" x="96" y="48"/>
 54  <object name="blocker" gid="70" x="80" y="48"/>
 55  <object name="blocker" gid="70" x="64" y="48"/>
 56  <object name="blocker" gid="70" x="48" y="48"/>
 57  <object name="blocker" gid="70" x="32" y="48"/>
 58  <object name="blocker" gid="70" x="16" y="48"/>
 59  <object name="blocker" gid="70" x="0" y="64"/>
 60  <object name="blocker" gid="70" x="0" y="80"/>
 61  <object name="blocker" gid="70" x="0" y="96"/>
 62  <object name="blocker" gid="70" x="0" y="112"/>
 63  <object name="blocker" gid="70" x="0" y="128"/>
 64  <object name="blocker" gid="70" x="16" y="144"/>
 65  <object name="blocker" gid="70" x="32" y="144"/>
 66  <object name="blocker" gid="70" x="48" y="144"/>
 67  <object name="blocker" gid="70" x="64" y="144"/>
 68  <object name="blocker" gid="70" x="80" y="144"/>
 69  <object name="blocker" gid="70" x="80" y="160"/>
 70  <object name="blocker" gid="70" x="80" y="176"/>
 71  <object name="blocker" gid="70" x="80" y="192"/>
 72  <object name="blocker" gid="70" x="80" y="208"/>
 73  <object name="blocker" gid="70" x="80" y="224"/>
 74  <object name="blocker" gid="70" x="80" y="240"/>
 75  <object name="blocker" gid="70" x="80" y="256"/>
 76  <object name="blocker" gid="70" x="80" y="272"/>
 77  <object name="blocker" gid="70" x="80" y="288"/>
 78  <object name="blocker" gid="70" x="80" y="304"/>
 79  <object name="blocker" gid="70" x="80" y="320"/>
 80  <object name="blocker" gid="70" x="80" y="336"/>
 81  <object name="blocker" gid="70" x="80" y="352"/>
 82  <object name="blocker" gid="70" x="80" y="368"/>
 83  <object name="blocker" gid="70" x="80" y="384"/>
 84  <object name="blocker" gid="70" x="80" y="400"/>
 85  <object name="blocker" gid="70" x="96" y="416"/>
 86  <object name="blocker" gid="70" x="112" y="416"/>
 87  <object name="blocker" gid="70" x="128" y="416"/>
 88  <object name="blocker" gid="70" x="144" y="416"/>
 89  <object name="blocker" gid="70" x="240" y="416"/>
 90  <object name="blocker" gid="70" x="256" y="416"/>
 91  <object name="blocker" gid="70" x="272" y="416"/>
 92  <object name="blocker" gid="70" x="288" y="416"/>
 93  <object name="blocker" gid="70" x="304" y="400"/>
 94  <object name="blocker" gid="70" x="304" y="368"/>
 95  <object name="blocker" gid="70" x="304" y="384"/>
 96  <object name="blocker" gid="70" x="304" y="352"/>
 97  <object name="blocker" gid="70" x="304" y="320"/>
 98  <object name="blocker" gid="70" x="304" y="336"/>
 99  <object name="blocker" gid="70" x="304" y="288"/>
100  <object name="blocker" gid="70" x="304" y="304"/>
101  <object name="blocker" gid="70" x="304" y="272"/>
102  <object name="blocker" gid="70" x="304" y="256"/>
103  <object name="blocker" gid="70" x="304" y="224"/>
104  <object name="blocker" gid="70" x="304" y="240"/>
105  <object name="blocker" gid="70" x="304" y="208"/>
106  <object name="blocker" gid="70" x="304" y="176"/>
107  <object name="blocker" gid="70" x="304" y="192"/>
108  <object name="blocker" gid="70" x="304" y="160"/>
109  <object name="portal" type="dungeon2" gid="89" x="48" y="96"/>
110  <object name="start point" gid="73" x="48" y="112">
111   <properties>
112    <property name="direction" value="down"/>
113    <property name="state" value="dungeon2"/>
114   </properties>
115  </object>
116  <object name="portal" type="dungeon4" gid="89" x="336" y="96"/>
117  <object name="start point" gid="73" x="336" y="112">
118   <properties>
119    <property name="direction" value="down"/>
120    <property name="state" value="dungeon4"/>
121   </properties>
122  </object>
123  <object name="sprite" type="treasurechest" gid="51" x="192" y="96">
124   <properties>
125    <property name="dialogue length" value="1"/>
126    <property name="dialogue0" value="You found a Healing Potion"/>
127    <property name="id" value="1"/>
128    <property name="item" value="Healing Potion"/>
129   </properties>
130  </object>
131 </objectgroup>
132 <layer name="Tile Layer 2" width="25" height="27">
133  <data encoding="base64" compression="zlib">
134   eJxjYKAP6EHj9yKx+3CoI0YNsvh0NDtmILFn4lBHjBpk8VEwCkbBKBgFo2AUjIJRQD0AAG1HCSk=
135  </data>
136 </layer>
137</map>