PHP Classes

File: src/test_map.tmx

Recommend this page to a friend!
  Classes of Vitalij Mik   PHP Tiled to CraftyJS   src/test_map.tmx   Download  
File: src/test_map.tmx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Tiled to CraftyJS
Convert game level tiled maps CraftyJS components
Author: By
Last change:
Date: 2 years ago
Size: 7,742 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <map version="1.0" orientation="isometric" width="30" height="30" tilewidth="64" tileheight="32"> <properties> <property name="scriptPath" value="assets/js/"/> <property name="spritePath" value="assets/img/"/> </properties> <tileset firstgid="1" source="outdoor.tsx"/> <tileset firstgid="161" source="house1.tsx"/> <tileset firstgid="162" name="buildingparts" tilewidth="64" tileheight="64"> <image source="buildingparts.png" width="640" height="512"/> </tileset> <imagelayer name="background" width="30" height="30"> <image source="../../cruel/files/img/gras_default.png"/> </imagelayer> <layer name="tiles" width="30" height="30"> <data encoding="csv"> 15,16,4,12,13,24,1,15,11,18,18,23,17,18,6,6,3,17,22,7,5,17,6,13,24,5,2,21,13,23, 4,2,15,6,7,2,2,5,7,15,14,14,1,24,4,24,1,6,23,18,12,1,4,11,16,6,13,14,2,13, 4,2,23,2,2,16,24,1,7,2,15,14,23,13,6,7,15,16,22,14,14,12,2,7,24,13,15,18,11,21, 3,2,2,7,2,11,5,3,14,12,2,21,5,15,16,1,4,2,6,13,17,17,21,4,7,12,13,12,17,7, 24,24,17,11,2,16,22,12,23,6,18,1,2,6,16,4,13,18,7,22,5,22,5,5,11,1,7,12,5,14, 2,4,12,11,12,12,6,2,3,11,22,14,2,11,4,22,16,6,3,13,12,3,17,11,24,7,11,17,15,14, 21,23,13,11,2,17,2,23,12,17,3,16,24,14,6,3,2,17,4,24,13,5,1,2,11,23,14,4,3,3, 18,7,18,5,2,3,1,5,4,24,6,15,12,12,13,13,12,16,5,11,3,16,5,15,24,14,13,15,14,15, 2,16,4,16,4,17,18,11,11,14,17,2,24,1,21,13,5,22,6,16,15,6,24,23,13,12,4,12,21,14, 14,16,5,2,23,4,22,21,14,3,11,3,1,14,17,21,13,1,12,2,16,23,17,16,6,1,16,1,3,1, 15,14,12,13,11,22,6,1,5,5,14,14,12,24,14,22,17,11,1,4,6,4,14,11,6,16,4,15,1,14, 14,16,11,15,21,7,3,22,4,4,12,16,17,12,12,17,24,17,14,6,22,17,15,15,23,16,1,13,4,15, 14,17,6,17,2,14,16,1,11,16,17,12,22,11,24,1,24,85,24,22,55,55,55,6,3,16,24,16,23,2, 22,4,6,3,22,5,13,1,17,21,2,11,22,2,13,24,5,3,23,11,11,4,14,17,7,17,7,16,1,24, 4,6,6,14,21,11,3,13,21,1,7,13,6,5,17,3,15,4,5,21,1,2,17,14,17,12,7,5,16,3, 16,6,21,14,17,13,24,4,4,12,23,23,13,17,15,1,6,12,21,11,7,21,7,4,12,24,14,4,7,1, 3,22,16,6,23,7,2,24,17,16,24,24,21,5,14,15,12,21,4,16,2,5,14,3,16,2,11,11,7,7, 5,23,6,2,15,22,13,5,6,12,2,22,23,3,4,22,18,13,17,13,17,1,17,17,12,2,11,14,5,15, 23,17,24,6,7,1,24,23,15,1,2,14,22,6,16,6,14,22,16,23,23,1,5,23,13,22,4,22,5,2, 16,3,13,14,24,17,15,14,7,15,16,23,12,11,15,17,15,24,4,21,18,17,15,17,7,23,3,15,14,4, 1,11,2,18,16,2,15,11,11,6,16,1,6,3,1,22,15,21,18,13,12,12,13,12,13,1,5,17,14,7, 13,18,17,15,22,18,14,14,23,13,22,14,7,12,23,18,17,7,12,17,4,3,1,3,15,11,13,11,5,1, 7,21,17,24,23,6,13,2,15,14,7,21,2,2,11,5,17,14,1,7,14,14,18,22,18,17,22,3,22,13, 13,12,22,4,16,2,18,15,18,18,2,7,14,24,16,6,24,11,6,6,11,7,23,1,2,14,7,4,2,21, 18,2,7,23,5,11,5,15,18,13,3,13,11,14,21,7,15,7,4,3,5,1,16,12,1,3,23,4,11,1, 6,14,17,18,1,12,21,5,24,6,6,18,22,4,6,11,12,12,1,1,16,22,17,18,17,11,15,17,13,21, 6,13,21,22,2,6,18,11,21,11,5,14,12,17,11,22,4,12,6,16,21,14,2,2,2,13,23,16,18,4, 3,3,3,17,18,15,17,11,18,16,14,21,12,17,21,16,22,1,2,21,15,5,14,1,2,7,1,16,13,11, 6,23,22,7,5,5,7,18,3,11,11,6,12,5,16,11,5,4,24,17,3,18,23,12,4,7,6,21,17,23, 13,4,5,24,15,12,2,13,5,13,15,15,15,11,16,7,24,4,16,15,13,15,2,21,11,23,15,12,22,17 </data> </layer> <layer name="transparent_tiles" width="30" height="30"> <data encoding="csv"> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,39,38,38,38,38,38,38,38,38,38,38,36,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,37,35,35,35,35,35,35,35,35,35,35,33,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,37,35,35,35,35,35,35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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 </data> </layer> <objectgroup name="images" width="30" height="30"> <object x="596" y="615"/> <object gid="161" x="641" y="479"/> <object x="629" y="787"/> <object x="605" y="445"/> <object x="696" y="493"/> <object x="448" y="291" width="163" height="157"/> <object gid="161" x="640" y="480"/> </objectgroup> <layer name="gras" width="30" height="30"> <data encoding="csv"> 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,122,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,122,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 </data> </layer> <objectgroup name="collision" width="30" height="30"> <object name="solid" x="448" y="288" width="160" height="160"> <properties> <property name="component" value="Solid"/> </properties> </object> <object x="537" y="362"/> <object x="512" y="368"/> <object x="530" y="401"/> </objectgroup> </map>