main.sprites 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" ?>
  2. <sprite_set>
  3. <sprite_sheet fileName="Resources/textures/spritesheet1.png">
  4. <frames>
  5. <frame id="0" x="0.549805" y="0.0175781" w="0.0527344" h="0.0605469" ax="0" ay="0.5" />
  6. <frame id="1" x="0.606445" y="0.0615234" w="0.0683594" h="0.0595703" ax="0" ay="0.5" />
  7. <frame id="2" x="0.491211" y="0.0791016" w="0.0507812" h="0.0488281" ax="0" ay="0.5" />
  8. <frame id="3" x="0.259766" y="0.0341797" w="0.222656" h="0.116211" ax="0" ay="0.003121" />
  9. <frame id="4" x="0.0117188" y="0.0185547" w="0.243164" h="0.206055" ax="-0.0107939" ay="0.181557" />
  10. <frame id="5" x="0.699219" y="0.0078125" w="0.286133" h="0.226562" ax="0" ay="0.00185537" />
  11. <frame id="6" x="0.446289" y="0.305664" w="0.136719" h="0.121094" ax="0" ay="0.5" />
  12. <frame id="7" x="0.0185547" y="0.293945" w="0.201172" h="0.132812" ax="0" ay="0.5" />
  13. <frame id="8" x="0.585938" y="0.322266" w="0.146484" h="0.116211" ax="0" ay="0.5" />
  14. <frame id="9" x="0.226562" y="0.311523" w="0.207031" h="0.119141" ax="0.0633884" ay="0.5" />
  15. <frame id="10" x="0.749023" y="0.321289" w="0.132812" h="0.120117" ax="0" ay="0.5" />
  16. <frame id="11" x="0.0527344" y="0.476562" w="0.145508" h="0.129883" ax="0" ay="0.5" />
  17. <frame id="12" x="0.255859" y="0.480469" w="0.160156" h="0.119141" ax="0" ay="0.5" />
  18. <frame id="14" x="0.392578" y="0.723633" w="0.601562" h="0.266602" ax="-0.00872618" ay="0.0471335" />
  19. </frames>
  20. </sprite_sheet>
  21. <sprites>
  22. <sprite name="spaceman_legs">
  23. <states>
  24. <state name="running" fps="18" scale="256" width="206" height="136" offset_x="0" offset_y="-0.5" frame_ids="7,9,6,8,10,11" />
  25. <state name="idle" fps="60" scale="256" width="164" height="122" offset_x="0" offset_y="-0.5" frame_ids="12" />
  26. <state name="jumping" fps="60" scale="256" width="206" height="136" offset_x="0" offset_y="-0.5" frame_ids="7" />
  27. </states>
  28. </sprite>
  29. <sprite name="spaceman_top">
  30. <states>
  31. <state name="default" fps="60" scale="256" width="249" height="211" offset_x="0" offset_y="0" frame_ids="4" />
  32. </states>
  33. </sprite>
  34. <sprite name="alien">
  35. <states>
  36. <state name="default" fps="60" scale="256" width="293" height="232" offset_x="0" offset_y="0" frame_ids="5" />
  37. </states>
  38. </sprite>
  39. <sprite name="platform1">
  40. <states>
  41. <state name="default" fps="60" scale="256" width="616" height="210" offset_x="0" offset_y="0" frame_ids="14" />
  42. </states>
  43. </sprite>
  44. <sprite name="shot">
  45. <states>
  46. <state name="default" fps="60" scale="200" width="150" height="30" offset_x="0" offset_y="0" frame_ids="3" />
  47. </states>
  48. </sprite>
  49. </sprites>
  50. </sprite_set>