summaryrefslogtreecommitdiff
path: root/graphics/sprites/accessories/enora-eye.xml
blob: c85c06828acd9932947c35b969d1d51012e515cf (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Reid
Copyright (C) 2011-2015  Evol Online -->
<sprite>
    <imageset name="eye"
              src="graphics/sprites/accessories/eye-down-blink.png"
              width="16"
              height="8"
              offsetY="-42"
              offsetX="-1"/>

    <action name="stand" imageset="eye">
        <animation direction="default">
            <label name="start"/>
            <!-- 4% -->
            <goto label="blink" rand="4"/>
            <!-- 100% on static animation -->
            <goto label="static" rand="100"/>

            <!-- Static animation -->
            <label name="static"/>
            <frame index="0" delay="160"/>
            <goto label="start"/>

            <!-- Blinking animation -->
            <label name="blink"/>
            <frame index="1" delay="60"/>
            <frame index="2" delay="80"/>
            <goto label="start"/>
        </animation>
    </action>
</sprite>