summaryrefslogblamecommitdiff
path: root/graphics/sprites/npcs/xml/elmo-artis.xml
blob: a2e90d0f453158c15b7e4d1368bdeaf4e4a26b47 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                               

                              



                                         
                        
                                           



                                                                                

                                  












                                                

                                 
                                                             
                                 



                                          



                                 
<?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>