summaryrefslogtreecommitdiff
path: root/graphics/sprites/equipment/head/captain-hat.xml
blob: 8414a05aa1cafe6b7bdef781a95d8e3ea3b9b50d (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0"?>
<sprite>
  <imageset name="base" src="graphics/sprites/equipment/head/captain-hat.png" width="21" height="21"/>
  <action name="stand" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-43"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="0" offsetY="-43"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-43"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-1" offsetY="-43"/>
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-43" delay="150"/>
      <frame index="0" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-43" delay="150"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="0" offsetY="-43" delay="75"/>
      <frame index="1" offsetX="0" offsetY="-42" delay="75"/>
      <frame index="1" offsetX="0" offsetY="-43" delay="150"/>
      <frame index="1" offsetX="0" offsetY="-42" delay="75"/>
      <frame index="1" offsetX="0" offsetY="-43" delay="75"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-43" delay="75"/>
      <frame index="2" offsetX="-3" offsetY="-44" delay="150"/>
      <frame index="2" offsetX="-3" offsetY="-43" delay="75"/>
      <frame index="2" offsetX="-3" offsetY="-44" delay="150"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-1" offsetY="-43" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-43" delay="150"/>
      <frame index="3" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-43" delay="75"/>
    </animation>
  </action>
  <action name="attack" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-41" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-39" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-38" delay="75"/>
      <end/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="4" offsetY="-44" delay="75"/>
      <frame index="1" offsetX="4" offsetY="-45" delay="75"/>
      <frame index="1" offsetX="0" offsetY="-42" delay="75"/>
      <frame index="1" offsetX="-1" offsetY="-41" delay="75"/>
      <end/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-4" offsetY="-43" delay="225"/>
      <frame index="2" offsetX="-4" offsetY="-41" delay="75"/>
      <end/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-4" offsetY="-44" delay="75"/>
      <frame index="3" offsetX="-4" offsetY="-45" delay="75"/>
      <frame index="3" offsetX="-1" offsetY="-42" delay="75"/>
      <frame index="3" offsetX="0" offsetY="-41" delay="75"/>
      <end/>
    </animation>
  </action>
  <action name="attack_bow" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-42" delay="225"/>
      <frame index="0" offsetX="-1" offsetY="-41" delay="75"/>
      <frame index="0" offsetX="-1" offsetY="-42" delay="75"/>
      <end/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="3" offsetY="-43" delay="225"/>
      <frame index="1" offsetX="5" offsetY="-44" delay="150"/>
      <end/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-3" offsetY="-43" delay="225"/>
      <frame index="2" offsetX="-4" offsetY="-42" delay="75"/>
      <frame index="2" offsetX="-4" offsetY="-43" delay="75"/>
      <end/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-4" offsetY="-43" delay="225"/>
      <frame index="3" offsetX="-6" offsetY="-44" delay="150"/>
      <end/>
    </animation>
  </action>
  <action name="sit" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="-1" offsetY="-31"/>
    </animation>
    <animation direction="left">
      <frame index="1" offsetX="4" offsetY="-34"/>
    </animation>
    <animation direction="up">
      <frame index="2" offsetX="-2" offsetY="-35"/>
    </animation>
    <animation direction="right">
      <frame index="3" offsetX="-7" offsetY="-34"/>
    </animation>
  </action>
  <action name="dead" imageset="base">
    <animation direction="default">
      <frame index="4" offsetX="30" offsetY="-3"/>
    </animation>
  </action>
</sprite>