summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/snake-cave.xml
blob: ff50305293dc48defc5fe4d45a21ac6f96ee0193 (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
<?xml version="1.0"?>
<sprite>
  <imageset name="base" src="graphics/sprites/monsters/snake-cave.png" width="96" height="56"/>
  <action name="stand" imageset="base">
    <animation direction="down">
      <frame index="0" offsetX="0" offsetY="6"/>
    </animation>
    <animation direction="left">
      <frame index="7" offsetX="-1" offsetY="4"/>
    </animation>
    <animation direction="up">
      <frame index="14" offsetX="0" offsetY="-5"/>
    </animation>
    <animation direction="right">
      <frame index="21" offsetX="1" offsetY="5"/>
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
      <sequence start="1" end="4" offsetX="0" offsetY="6" delay="150"/>
    </animation>
    <animation direction="left">
      <sequence start="8" end="11" offsetX="-1" offsetY="4" delay="150"/>
    </animation>
    <animation direction="up">
      <sequence start="15" end="18" offsetX="0" offsetY="-5" delay="150"/>
    </animation>
    <animation direction="right">
      <sequence start="22" end="25" offsetX="1" offsetY="5" delay="150"/>
    </animation>
  </action>
  <action name="dead" imageset="base">
    <animation direction="down">
      <frame index="29" delay="300" offsetX="0" offsetY="6"/>
      <frame index="28" delay="500" offsetX="0" offsetY="6"/>
      <frame index="30" delay="5000" offsetX="0" offsetY="6"/>
    </animation>
    <animation direction="left">
      <frame index="36" delay="300" offsetX="0" offsetY="6"/>
      <frame index="8" delay="500" offsetX="0" offsetY="6"/>
      <frame index="37" delay="5000" offsetX="0" offsetY="6"/>
    </animation>
    <animation direction="up">
      <frame index="43" delay="300" offsetX="0" offsetY="6"/>
      <frame index="42" delay="500" offsetX="0" offsetY="6"/>
      <frame index="44" delay="5000" offsetX="0" offsetY="6"/>
    </animation>
    <animation direction="right">
      <frame index="50" delay="300" offsetX="0" offsetY="6"/>
      <frame index="22" delay="500" offsetX="0" offsetY="6"/>
      <frame index="51" delay="5000" offsetX="0" offsetY="6"/>
    </animation>
  </action>
  <action name="attack" imageset="base">
    <animation direction="down">
      <sequence start="5" end="6" delay="150" offsetX="0" offsetY="6"/>
      <sequence start="28" end="29" delay="150" offsetX="0" offsetY="6"/>
      <end/>
    </animation>
    <animation direction="left">
      <sequence start="12" end="13" delay="150" offsetX="-1" offsetY="4"/>
      <sequence start="35" end="36" delay="150" offsetX="-1" offsetY="4"/>
      <end/>
    </animation>
    <animation direction="up">
      <sequence start="19" end="20" delay="150" offsetX="0" offsetY="-5"/>
      <sequence start="42" end="43" delay="150" offsetX="0" offsetY="-5"/>
      <end/>
    </animation>
    <animation direction="right">
      <sequence start="26" end="27" delay="150" offsetX="1" offsetY="5"/>
      <sequence start="49" end="50" delay="150" offsetX="1" offsetY="5"/>
      <end/>
    </animation>
  </action>
</sprite>