Advertisement
Guest User

Untitled

a guest
Sep 27th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. ===laurelia.txt=============================================================================
  2.  
  3. [event]
  4. # teleport to test1
  5. type=teleport
  6. location=18,81,1,1
  7. intermap=test1.txt,3,3
  8.  
  9. ====Test1.tmx================================================================================
  10.  
  11. <?xml version="1.0" encoding="UTF-8"?>
  12. <map version="1.0" orientation="orthogonal" width="10" height="10" tilewidth="32" tileheight="32">
  13. <tileset firstgid="1" name="tiled_collision" tilewidth="32" tileheight="32">
  14. <image source="tiled_collision.png" width="480" height="32"/>
  15. </tileset>
  16. <tileset firstgid="16" name="t1" tilewidth="32" tileheight="32">
  17. <image source="t1.png" width="96" height="192"/>
  18. </tileset>
  19. <layer name="background" width="10" height="10">
  20. <data encoding="base64" compression="zlib">
  21. eJwTY2BgECeAJYBYEoilCGDpIaZOEIhlsWA5NHUgfWJEhAsud4DEZdDMl8FhLwDXmQog
  22. </data>
  23. </layer>
  24. <layer name="object" width="10" height="10">
  25. <data encoding="base64" compression="zlib">
  26. eJxjYBgFgwkAAAGQAAE=
  27. </data>
  28. </layer>
  29. <layer name="collision" width="10" height="10">
  30. <data encoding="base64" compression="zlib">
  31. eJxjZGBgYCQSEwJDTR0ufbRSRwwGACB0ACs=
  32. </data>
  33. </layer>
  34. </map>
  35.  
  36. ===test1.txt=================================================================================
  37.  
  38. [header]
  39. title=test1
  40. width=10
  41. height=10
  42. tileset=t1.txt
  43.  
  44. [layer]
  45. type=background
  46. data=
  47. 22,23,23,23,23,23,23,23,23,24,
  48. 25,26,26,26,26,26,26,26,26,27,
  49. 25,26,26,26,26,26,26,26,26,27,
  50. 25,26,26,26,26,26,26,26,26,27,
  51. 25,26,26,26,26,26,26,26,26,27,
  52. 25,26,26,26,26,26,26,26,26,27,
  53. 25,26,26,17,29,29,29,29,29,30,
  54. 25,26,26,27,22,23,23,23,23,24,
  55. 25,26,26,27,25,26,26,26,26,27,
  56. 28,29,29,30,28,29,29,29,29,30
  57.  
  58. [layer]
  59. type=object
  60. data=
  61. 0,0,0,0,0,0,0,0,0,0,
  62. 0,0,0,0,0,0,0,0,0,0,
  63. 0,0,0,0,0,0,0,0,0,0,
  64. 0,0,0,0,0,0,0,0,0,0,
  65. 0,0,0,0,0,0,0,0,0,0,
  66. 0,0,0,0,0,0,0,0,0,0,
  67. 0,0,0,0,0,0,0,0,0,0,
  68. 0,0,0,0,0,0,0,0,0,0,
  69. 0,0,0,0,0,0,0,0,0,0,
  70. 0,0,0,0,0,0,0,0,0,0
  71.  
  72. [layer]
  73. type=collision
  74. data=
  75. 1,1,1,1,1,1,1,1,1,1,
  76. 1,0,0,0,0,0,0,0,0,1,
  77. 1,0,0,0,0,0,0,0,0,1,
  78. 1,0,0,0,0,0,0,0,0,1,
  79. 1,0,0,0,0,0,0,0,0,1,
  80. 1,0,0,0,0,0,0,0,0,1,
  81. 1,0,0,1,1,0,0,0,0,1,
  82. 1,0,0,1,1,0,0,0,0,1,
  83. 1,0,0,1,1,0,0,0,0,1,
  84. 1,1,1,1,1,1,1,1,1,1
  85.  
  86. ===Tilesetdefinition========================================================================
  87.  
  88. # test1
  89.  
  90. img=t1.png
  91.  
  92. tile=16,0,0,32,32,16,16
  93. tile=17,32,0,32,32,16,16
  94. tile=18,64,0,32,32,16,16
  95.  
  96. tile=19,0,32,32,32,16,16
  97. tile=20,32,32,32,32,16,16
  98. tile=21,64,32,32,32,16,16
  99.  
  100. tile=22,0,64,32,32,16,16
  101. tile=23,32,64,32,32,16,16
  102. tile=24,64,64,32,32,16,16
  103.  
  104. tile=25,0,96,32,32,16,16
  105. tile=26,32,96,32,32,16,16
  106. tile=27,64,96,32,32,16,16
  107.  
  108. tile=28,0,128,32,32,16,16
  109. tile=29,32,128,32,32,16,16
  110. tile=30,64,128,32,32,16,16
  111.  
  112. tile=31,0,160,32,32,16,16
  113. tile=32,32,160,32,32,16,16
  114. tile=33,64,160,32,32,16,16
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement