all repos — Legends-RPG @ 8d1f715d2aebeefc83f203f833ab8b86d0acec1b

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