summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/vein-gold.xml
blob: c066ecfae5bbd4af7c6eaf35b864ed7d0719bfee (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
<?xml version="1.0" encoding="utf-8"?>
<sprite>
    <imageset name="mob" 
              src="graphics/sprites/monsters/vein-gold.png|W" 
              width="32" 
              height="32"/>

    <action name="spawn" imageset="mob">
        <animation direction="default">
            <frame index="10" delay="150"/>
            <frame index="19" delay="150"/>
            <frame index="18" delay="150"/>
            <frame index="15" delay="150"/>
            <frame index="14" delay="150"/>
            <frame index="13" delay="150"/>
            <frame index="12" delay="150"/>
            <frame index="11" delay="150"/>
            <frame index="0" delay="10000"/>
        </animation>
    </action>

    <action name="stand" imageset="mob">
        <animation direction="default">
            <label name="start"/>
            <goto label="static" rand="90"/>
            <goto label="downglance" rand="25"/>
            <goto label="upglance" rand="33"/>
            <goto label="smallglance" rand="50"/>
            <goto label="sparkling" rand="100"/>
      
            <label name="static"/>
            <frame index="0" delay="5000" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="downglance"/>
            <sequence start="0" end="9" delay="40" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="upglance"/>
            <frame index="9" delay="500" offsetX="0" offsetY="0"/>
            <frame index="8" delay="50" offsetX="0" offsetY="0"/>
            <frame index="7" delay="50" offsetX="0" offsetY="0"/>
            <frame index="6" delay="50" offsetX="0" offsetY="0"/>
            <frame index="5" delay="50" offsetX="0" offsetY="0"/>
            <frame index="4" delay="50" offsetX="0" offsetY="0"/>
            <frame index="3" delay="50" offsetX="0" offsetY="0"/>
            <frame index="2" delay="50" offsetX="0" offsetY="0"/>
            <frame index="1" delay="50" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="smallglance"/>
            <frame index="4" delay="70" offsetX="0" offsetY="0"/>
            <frame index="6" delay="70" offsetX="0" offsetY="0"/>
            <frame index="8" delay="70" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="sparkling"/>
            <sequence start="11" end="15" delay="70" offsetX="0" offsetY="0"/>
            <frame index="0" delay="70" offsetX="0" offsetY="0"/>
            <goto label="start"/>


        </animation>
    </action>
    <action name="dead" imageset="mob">
        <animation direction="default">
            <sequence start="16" end="19" delay="100"/>
            <frame index="10" delay="0"/>
        </animation>
    </action>
</sprite>