summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/gugli.xml
blob: 89463480b6ff0d2ccd631e3b2563c0d3653fd07b (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
<?xml version="1.0"?>
<!-- Authors: Reid & 4144
Copyright (C) 2011-2012 Evol Online -->

<!--
Example of the extended animation tags.
Allows to add any frame numbers.

Examples showing the same animation:
    <sequence start="55" end="60" delay="75"/>
    <sequence value="55-60" delay="75"/>
    <sequence value="55,56,57,58,59,60" delay="75"/>
-->

<sprite>
    <imageset name="npc" src="graphics/sprites/npcs/sprite/gugli.png" width="64" height="64" offsetX="-32"/>

    <action name="stand" imageset="npc">
            <animation direction="default">
                <label name="start"/>
                <!-- 40% 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"/>
                <!-- Long Moving Leg Animation -->
                <label name="long"/>
                <frame index="0" delay="120"/>
                <sequence value="1,2" delay="110"/>
                <frame index="3" delay="120"/>
                <sequence value="2,1" delay="110"/>
                <goto label="start"/>
                <!-- Simple Moving Leg Animation -->
                <label name="simple"/>
                <frame index="0" delay="120"/>
                <frame index="1" delay="110"/>
                <frame index="2" delay="120"/>
                <frame index="1" delay="110"/>
            <goto label="start"/>
        </animation>
    </action>
</sprite>