switch.sprite 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. (supertux-sprite
  2. (action
  3. (name "off")
  4. (hitbox 0 0 32 48)
  5. (images
  6. "switch-0.png"
  7. )
  8. )
  9. (action
  10. (name "turnon")
  11. (fps 18)
  12. (loops 1)
  13. (hitbox 0 0 32 48)
  14. (images
  15. "switch-1.png"
  16. "switch-2.png"
  17. "switch-3.png"
  18. )
  19. )
  20. (action
  21. (name "on")
  22. (hitbox 0 0 32 48)
  23. (images
  24. "switch-4.png"
  25. )
  26. )
  27. (action
  28. (name "turnoff")
  29. (fps 18)
  30. (loops 1)
  31. (hitbox 0 0 32 48)
  32. (images
  33. "switch-3.png"
  34. "switch-2.png"
  35. "switch-1.png"
  36. )
  37. )
  38. (action
  39. (name "off-left")
  40. (hitbox 0 0 32 48)
  41. (images
  42. "left-0.png"
  43. )
  44. )
  45. (action
  46. (name "turnon-left")
  47. (fps 18)
  48. (loops 1)
  49. (hitbox 0 0 32 48)
  50. (images
  51. "left-1.png"
  52. "left-2.png"
  53. "left-3.png"
  54. )
  55. )
  56. (action
  57. (name "on-left")
  58. (hitbox 0 0 32 48)
  59. (images
  60. "left-4.png"
  61. )
  62. )
  63. (action
  64. (name "turnoff-left")
  65. (fps 18)
  66. (loops 1)
  67. (hitbox 0 0 32 48)
  68. (images
  69. "left-3.png"
  70. "left-2.png"
  71. "left-1.png"
  72. )
  73. )
  74. (action
  75. (name "off-right")
  76. (hitbox 0 0 32 48)
  77. (mirror-action "off-left")
  78. )
  79. (action
  80. (name "turnon-right")
  81. (fps 18)
  82. (loops 1)
  83. (hitbox 0 0 32 48)
  84. (mirror-action "turnon-left")
  85. )
  86. (action
  87. (name "on-right")
  88. (hitbox 0 0 32 48)
  89. (mirror-action "on-left")
  90. )
  91. (action
  92. (name "turnoff-right")
  93. (fps 18)
  94. (loops 1)
  95. (hitbox 0 0 32 48)
  96. (mirror-action "turnoff-left")
  97. )
  98. (action
  99. (name "off-down")
  100. (hitbox 0 0 32 48)
  101. (images
  102. "down-0.png"
  103. )
  104. )
  105. (action
  106. (name "turnon-down")
  107. (fps 18)
  108. (loops 1)
  109. (hitbox 0 0 32 48)
  110. (images
  111. "down-1.png"
  112. "down-2.png"
  113. "down-3.png"
  114. )
  115. )
  116. (action
  117. (name "on-down")
  118. (hitbox 0 0 32 48)
  119. (images
  120. "down-4.png"
  121. )
  122. )
  123. (action
  124. (name "turnoff-down")
  125. (fps 18)
  126. (loops 1)
  127. (hitbox 0 0 32 48)
  128. (images
  129. "down-3.png"
  130. "down-2.png"
  131. "down-1.png"
  132. )
  133. )
  134. (action
  135. (name "off-up")
  136. (hitbox 0 0 32 48)
  137. (flip-action "off-down")
  138. )
  139. (action
  140. (name "turnon-up")
  141. (fps 18)
  142. (loops 1)
  143. (hitbox 0 0 32 48)
  144. (flip-action "turnon-down")
  145. )
  146. (action
  147. (name "on-up")
  148. (hitbox 0 0 32 48)
  149. (flip-action "on-down")
  150. )
  151. (action
  152. (name "turnoff-up")
  153. (fps 18)
  154. (loops 1)
  155. (hitbox 0 0 32 48)
  156. (flip-action "turnoff-down")
  157. )
  158. )