pushbutton.sprite 460 B

12345678910111213141516171819202122232425262728
  1. (supertux-sprite
  2. (action
  3. (name "off-up")
  4. (hitbox 0 0 30 16)
  5. (images "pushbutton-0.png")
  6. )
  7. (action
  8. (name "on-up")
  9. (hitbox 0 0 30 10)
  10. (loops 1)
  11. (fps 20)
  12. (images "pushbutton-1.png"
  13. "pushbutton-2.png"
  14. "pushbutton-3.png"
  15. )
  16. )
  17. (action
  18. (name "off-down")
  19. (hitbox 0 0 30 16)
  20. (flip-action "off-up")
  21. )
  22. (action
  23. (name "on-down")
  24. (hitbox 0 0 30 10)
  25. (flip-action "on-up")
  26. )
  27. )