summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/squirrel.xml
blob: d138b97a83cb388bc3aedb729325a3d268a7d144 (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
<?xml version="1.0"?>
<sprite>
  <imageset name="base" src="graphics/sprites/monsters/squirrel.png" width="32" height="32" />
  <action name="stand" imageset="base">
    <animation direction="down">
      <sequence start="16" end="19" delay="375" />
      <sequence start="20" end="25" delay="75" />
      <sequence start="16" end="19" delay="120" />
    </animation>
    <animation direction="right">
      <sequence start="0" end="3" delay="375" />
      <sequence start="4" end="7" delay="75" />
      <sequence start="0" end="3" delay="75" />
    </animation>
    <animation direction="up">
      <sequence start="24" end="27" delay="375" />
      <sequence start="28" end="31" delay="75" />
      <sequence start="24" end="27" delay="75" />
    </animation>
    <animation direction="left">
      <sequence start="8" end="11" delay="375" />
      <sequence start="12" end="15" delay="75" />
      <sequence start="8" end="11" delay="75" />
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
      <sequence start="48" end="50" delay="110" />
    </animation>
    <animation direction="right">
      <sequence start="32" end="34" delay="110" />
    </animation>
    <animation direction="up">
      <sequence start="56" end="58" delay="110" />
    </animation>
    <animation direction="left">
      <sequence start="40" end="42" delay="110" />
    </animation>
  </action>
  <action name="dead" imageset="base">
    <animation direction="down">
      <sequence start="54" end="55" delay="800" />
      <frame index="55" delay="4000" />
    </animation>
  </action>
  <action name="attack" imageset="base">
    <animation direction="down">
      <frame index="16" delay="250" />
      <frame index="52" delay="250" />
    </animation>
    <animation direction="right">
      <frame index="0" delay="250" />
      <frame index="36" delay="250" />
    </animation>
    <animation direction="up">
      <frame index="24" delay="250" />
      <frame index="60" delay="250" />
    </animation>
    <animation direction="left">
      <frame index="8" delay="250" />
      <frame index="44" delay="250" />
    </animation>
  </action>
</sprite>