summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/rowboat-cutscene.xml
blob: 195647d2bba8f6360a519c480922495c12adbe77 (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
70
71
72
73
74
75
76
77
<?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="13"/>
        </animation>
        <animation direction="up">
            <frame index="6"/>
        </animation>
        <animation direction="down">
            <frame index="6"/>
        </animation>
    </action>
        <!-- Rowing -->
    <action name="walk" 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"/>
            -->
            <sequence start="0" end="2" delay="175"/>
            <sequence start="3" end="5" delay="150"/>
        </animation>
        <!-- Down -->
        <animation direction="down">
            <!--
            <sequence start="21" end="23" delay="175"/>
            <sequence start="24" end="26" delay="150"/>
            -->
            <sequence start="0" end="2" delay="175"/>
            <sequence start="3" end="5" delay="150"/>
        </animation>
    </action>
    <action name="dead" imageset="npc">
        <!-- Dead -->
        <animation direction="right">
            <sequence start="28" end="29" delay="250" repeat="100"/>
            <frame index="29" delay="10000"/>
        </animation>
        <animation direction="left">
            <sequence start="28" end="29" delay="250" repeat="100"/>
            <frame index="29" delay="10000"/>
        </animation>
        <animation direction="up">
            <sequence start="28" end="29" delay="250" repeat="100"/>
            <frame index="29" delay="10000"/>
        </animation>
        <animation direction="down">
            <sequence start="28" end="29" delay="250" repeat="100"/>
            <frame index="29" delay="10000"/>
        </animation>
    </action>
</sprite>