tileplatforms.stl 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. (supertux-level
  2. (version 2)
  3. (name (_ "Tile Platform Test"))
  4. (author "Mathnerd314")
  5. (sector
  6. (name "main")
  7. (music "music/chipdisko.ogg")
  8. (init-script "platform1.start_moving();platform2.start_moving();platform3.start_moving();") ;needed for some reason (they don't move initially)
  9. (ambient-light 1 1 1)
  10. (spawnpoint
  11. (name "main")
  12. (x 100)
  13. (y 100)
  14. )
  15. (background
  16. (speed 0.5)
  17. (image "images/background/arctis.jpg")
  18. )
  19. (tilemap
  20. (z-pos 0)
  21. (solid #t)
  22. (speed 1)
  23. (width 27)
  24. (height 19)
  25. (tiles
  26. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  27. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  28. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  29. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  30. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  31. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  32. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  33. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  34. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  35. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  36. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  37. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  38. 0 0 0 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. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  40. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  41. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  42. 7 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 9 0 0 0 0 0 0
  43. 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 0 0 0 0 0 0
  44. 10 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 12 0 0 0 0 0 0
  45. )
  46. )
  47. (tilemap
  48. (name "platform1")
  49. (z-pos 1)
  50. (solid #t)
  51. (speed 1)
  52. (speed-y 1)
  53. (path
  54. (mode "circular")
  55. (node
  56. (x 224)
  57. (y 192)
  58. (time 5)
  59. )
  60. (node
  61. (x 224)
  62. (y 472)
  63. (time 5)
  64. )
  65. )
  66. (width 5)
  67. (height 4)
  68. (tiles
  69. 0 0 44 0 0
  70. 7 8 8 8 9
  71. 13 14 14 14 15
  72. 16 17 17 17 18
  73. )
  74. )
  75. (tilemap
  76. (name "platform2")
  77. (z-pos 2)
  78. (solid #t)
  79. (speed 1)
  80. (speed-y 1)
  81. (path
  82. (mode "circular")
  83. (node
  84. (x 86)
  85. (y 450)
  86. (time 1)
  87. )
  88. (node
  89. (x 200)
  90. (y 450)
  91. (time 1)
  92. )
  93. )
  94. (width 5)
  95. (height 1)
  96. (tiles
  97. 27 28 28 28 29
  98. )
  99. )
  100. (tilemap
  101. (name "platform3")
  102. (z-pos 2)
  103. (solid #t)
  104. (speed 1)
  105. (speed-y 1)
  106. (path
  107. (mode "circular")
  108. (node
  109. (x 200)
  110. (y 450)
  111. (time 1)
  112. )
  113. (node
  114. (x 86)
  115. (y 450)
  116. (time 1)
  117. )
  118. )
  119. (width 5)
  120. (height 1)
  121. (tiles
  122. 27 28 28 28 29
  123. )
  124. )
  125. (camera
  126. (mode "normal")
  127. )
  128. )
  129. )