summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/elmo-artis.xml
blob: a2e90d0f453158c15b7e4d1368bdeaf4e4a26b47 (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Reid
Copyright (C) 2015  Evol Online -->
<sprite>
    <imageset name="base"
              src="graphics/sprites/npcs/sprite/elmo-artis.png"
              width="64"
              height="64"
              offsetX ="-12"/>

    <action name="stand" imageset="base">
        <animation direction="default">
            <label name="start"/>
            <!-- 10% -->
            <goto label="blink" rand="10"/>
            <!-- 40% from the 90% unused percent are used on "long" label -->
            <goto label="long" rand="40"/>
            <!-- 100% from the 60% unused percent are used on "simple" label -->
            <goto label="simple" rand="100"/>

            <!-- Leg animation -->
            <!-- Long Moving Leg Animation -->
            <label name="long"/>
            <frame index="0" delay="120"/>
            <sequence value="3,4" delay="110"/>
            <frame index="5" delay="120"/>
            <sequence value="4,3" delay="110"/>
            <goto label="start"/>
            <!-- Simple Moving Leg Animation -->
            <label name="simple"/>
            <frame index="0" delay="120"/>
            <frame index="3" delay="110"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="110"/>
            <goto label="start"/>

            <!-- Blinking and last frame of leg animation -->
            <label name="blink"/>
	    <frame index="1" delay="50"/>
	    <frame index="2" delay="60"/>
            <frame index="4" delay="120"/>
            <frame index="3" delay="110"/>
            <goto label="start"/>
        </animation>
    </action>
</sprite>