summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/rowboat.xml
blob: ec3c0d285a8576e196d5e3f14c14078ad27632a1 (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Micksha
Copyright (C) 2018 Evol Online -->

<sprite>
    <imageset name="npc"
              src="graphics/sprites/npcs/sprite/rowboat.png"
              width="192"
              height="160"
              offsetY="0"
              offsetX="0"/>

    <action name="stand" imageset="npc">
        <animation direction="right">
            <frame index="6"/>
        </animation>
        <animation direction="left">
            <frame index="6"/>
        </animation>
        <animation direction="up">
            <frame index="13"/>
        </animation>
        <animation direction="down">
            <frame index="13"/>
        </animation>
    </action>
        <!-- Rowing -->
    <action name="row" imageset="npc">
        <!-- Right -->
        <animation direction="right">
            <sequence start="0" end="2" delay="175"/>
            <sequence start="3" end="5" delay="150"/>
        </animation>
        <!-- Left  -->
        <animation direction="left">
            <sequence start="7" end="9" delay="175"/>
            <sequence start="10" end="12" delay="150"/>
        </animation>
        <!-- Up -->
        <animation direction="up">
            <sequence start="14" end="16" delay="175"/>
            <sequence start="17" end="19" delay="150"/>
        </animation>
        <!-- Down -->
        <animation direction="down">
            <sequence start="21" end="23" delay="175"/>
            <sequence start="24" end="26" delay="150"/>
        </animation>
    </action>
    <action name="dead" imageset="npc">
        <!-- Dead -->
        <animation direction="right">
            <sequence start="20" end="27" delay="250" repeat="100"/>
            <frame index="27" delay="10000"/>
        </animation>
        <animation direction="left">
            <sequence start="20" end="27" delay="250" repeat="100"/>
            <frame index="27" delay="10000"/>
        </animation>
        <animation direction="up">
            <sequence start="20" end="27" delay="250" repeat="100"/>
            <frame index="27" delay="10000"/>
        </animation>
        <animation direction="down">
            <sequence start="20" end="27" delay="250" repeat="100"/>
            <frame index="27" delay="10000"/>
        </animation>
    </action>
</sprite>