summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapon-staff.xml
blob: 642ed042c92d1694b85fc154a6002f6db1da8b19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0"?>
<sprite name="player" action="stand">
  <imageset name="staff" src="graphics/sprites/weapon-staff.png" width="128" height="128"/>
  <action name="default" imageset="staff"/>
  <action name="stand" imageset="staff">
    <animation direction="down">
      <frame index="0" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="left">
      <frame index="16" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="up">
      <frame index="32" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="right">
      <frame index="48" offsetX="0" offsetY="32"/>
    </animation>
  </action>
  <action name="walk" imageset="staff">
    <animation direction="down">
      <sequence start="1" end="6" offsetX="0" offsetY="32" delay="75"/>
    </animation>
    <animation direction="left">
      <sequence start="17" end="22" offsetX="0" offsetY="32" delay="75"/>
    </animation>
    <animation direction="up">
      <sequence start="33" end="38" offsetX="0" offsetY="32" delay="75"/>
    </animation>
    <animation direction="right">
      <sequence start="49" end="54" offsetX="0" offsetY="32" delay="75"/>
    </animation>
  </action>
  <action name="sit" imageset="staff">
    <animation direction="down">
      <frame index="7" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="left">
      <frame index="23" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="up">
      <frame index="39" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="right">
      <frame index="55" offsetX="0" offsetY="32"/>
    </animation>
  </action>
  <action name="dead" imageset="staff">
    <animation direction="down">
      <frame index="12" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="left">
      <frame index="12" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="up">
      <frame index="12" offsetX="0" offsetY="32"/>
    </animation>
    <animation direction="right">
      <frame index="12" offsetX="0" offsetY="32"/>
    </animation>
  </action>
  <action name="attack" imageset="staff">
    <animation direction="down">
      <sequence start="8" end="11" offsetX="0" offsetY="32" delay="75"/>
      <end/>
    </animation>
    <animation direction="left">
      <sequence start="24" end="27" offsetX="0" offsetY="32" delay="75"/>
      <end/>
    </animation>
    <animation direction="up">
      <sequence start="40" end="43" offsetX="0" offsetY="32" delay="75"/>
      <end/>
    </animation>
    <animation direction="right">
      <sequence start="56" end="59" offsetX="0" offsetY="32" delay="75"/>
      <end/>
    </animation>
  </action>
</sprite>