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

    <action name="spawn" imageset="mob">
        <animation direction="default">
            <frame index="29" delay="1000"/>
            <frame index="39" delay="150"/>
            <frame index="49" delay="150"/>
            <frame index="48" delay="150"/>
            <frame index="47" delay="150"/>
            <frame index="33" delay="150"/>
            <frame index="32" delay="150"/>
            <frame index="31" delay="150"/>
            <frame index="0" delay="10000"/>
        </animation>
    </action>

    <action name="stand" imageset="mob">
        <animation direction="default">
            <label name="start"/>
            <goto label="static" rand="95"/>
            <goto label="glance1" rand="20"/>
            <goto label="glance2" rand="25"/>
            <goto label="glance3" rand="33"/>           
            <goto label="sparkle1" rand="50"/>
            <goto label="sparkle2" rand="100"/>
      
            <label name="static"/>
            <frame index="0" delay="2000" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="glance1"/>
            <sequence start="0" end="6" delay="80" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="glance2"/>
            <sequence start="10" end="16" delay="80" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="glance3"/>
            <sequence start="20" end="26" delay="80" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="sparkle1"/>
            <sequence start="30" end="36" delay="80" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>

            <label name="sparkle2"/>
            <sequence start="40" end="46" delay="80" offsetX="0" offsetY="0"/>
            <frame index="0" delay="500" offsetX="0" offsetY="0"/>
            <goto label="start"/>
        </animation>
    </action>

<action name="dead" imageset="mob">
        <animation direction="default">
            <sequence start="31" end="33" delay="100"/>
            <sequence start="47" end="49" delay="100"/>
            <frame index="39" delay="100"/>
            <frame index="29" delay="0"/>
        </animation>
    </action>
</sprite>