summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/penguin.xml
blob: 374f53ec6a4f8ae1ef7fd4c13c46291bb281583a (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
<?xml version="1.0"?>
<sprite>
  <imageset name="base" src="graphics/sprites/monsters/penguin.png" width="29" height="29"/>
  <action name="stand" imageset="base">
    <animation direction="down">
      <frame index="0" delay="1500"/>
      <frame index="2" delay="200"/>
    </animation>
    <animation direction="left">
      <frame index="44" delay="1500"/>
      <frame index="46" delay="200"/>
    </animation>
    <animation direction="up">
      <frame index="32" delay="1500"/>
      <frame index="34" delay="200"/>
    </animation>
    <animation direction="right">
      <frame index="20" delay="1500"/>
      <frame index="22" delay="200"/>
    </animation>
    <animation direction="downleft">
      <frame index="56" delay="1500"/>
      <frame index="58" delay="200"/>
    </animation>
    <animation direction="downright">
      <frame index="8" delay="1500"/>
      <frame index="10" delay="200"/>
    </animation>
    <animation direction="upleft">
      <frame index="40" delay="1500"/>
      <frame index="42" delay="200"/>
    </animation>
    <animation direction="upright">
      <frame index="24" delay="1500"/>
      <frame index="26" delay="200"/>
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
      <sequence start="0" end="3" delay="200"/>
    </animation>
    <animation direction="left">
      <sequence start="44" end="47" delay="200"/>
    </animation>
    <animation direction="up">
      <sequence start="32" end="35" delay="200"/>
    </animation>
    <animation direction="right">
      <sequence start="20" end="23" delay="200"/>
    </animation>
    <animation direction="downleft">
      <sequence start="56" end="59" delay="200"/>
    </animation>
    <animation direction="downright">
      <sequence start="8" end="11" delay="200"/>
    </animation>
    <animation direction="upleft">
      <sequence start="40" end="43" delay="200"/>
    </animation>
    <animation direction="upright">
      <sequence start="24" end="27" delay="200"/>
    </animation>
  </action>
  <action name="dead" imageset="base">
    <animation direction="default">
      <frame index="0" delay="100"/>
      <frame index="8" delay="100"/>
      <frame index="16" delay="100"/>
      <frame index="24" delay="100"/>
      <frame index="32" delay="100"/>
      <frame index="40" delay="100"/>
      <frame index="48" delay="100"/>
      <frame index="56" delay="5000"/>
    </animation>
  </action>
  <action name="attack" imageset="base">
    <animation direction="down">
      <sequence start="1" end="2" delay="10" offsetY="-5"/>
      <end/>
    </animation>
    <animation direction="left">
      <sequence start="45" end="46" delay="10" offsetY="-5"/>
      <end/>
    </animation>
    <animation direction="up">
      <sequence start="33" end="34" delay="10" offsetY="-5"/>
      <end/>
    </animation>
    <animation direction="right">
      <sequence start="20" end="21" delay="10" offsetY="-5"/>
      <end/>
    </animation>
  </action>
</sprite>