summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/coconut.xml
blob: 284be61ea0112953a13cac790b171bd808cc9064 (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
78
<?xml version="1.0"?>
<!-- Author: Reid
Copyright (C) 2010-2012  Evol Online
5% used on "mooving" label.
50% from the 95% unused percent from "mooving" label are used on "moovinglong" label.
100% from the 47,5% unused percent from "moovinglong" label are used on "static" label.-->
<sprite>
	<imageset name="base" src="graphics/sprites/monsters/coconut.png" width="18" height="18" offsetX="32" offsetY="-61"/>

    <action name="stand" imageset="base">
			<animation direction="default">
				<label name="start"/>
				<goto label="static" rand="95"/>
				<goto label="moovinglong" rand="50"/>
				<goto label="mooving" rand="100"/>
				<label name="mooving"/>
			<!-- Simple move animation. -->
					<frame index="1" delay="105"/>
					<frame index="0" delay="120"/>
					<frame index="1" delay="105"/>
					<frame index="2" delay="115"/>
					<frame index="1" delay="110"/>
				<goto label="start"/>
				<label name="static"/>
			<!-- Static animation. -->
					<frame index="1" delay="240"/>
				<goto label="start"/>
				<label name="moovinglong"/>
			<!-- Long move animation. -->
					<frame index="2" delay="115"/>
					<frame index="1" delay="110"/>
					<frame index="0" delay="120"/>
					<frame index="1" delay="105"/>
					<frame index="2" delay="115"/>
					<frame index="1" delay="110"/>
					<frame index="0" delay="120"/>
					<frame index="1" delay="105"/>
					<frame index="2" delay="115"/>
					<frame index="1" delay="110"/>
					<frame index="0" delay="120"/>
					<frame index="1" delay="105"/>
					<frame index="2" delay="115"/>
				<goto label="start"/>
			</animation>
    </action>

    <action name="hurt" imageset="base">
        <animation>
				<frame index="5" delay="0" offsetY="59"/>
        </animation>
    </action>

    <action name="dead" imageset="base">
        <animation>
			<!-- Coconut is falling -->
				<frame index="1" delay="80" offsetY="1"/>
				<frame index="1" delay="60" offsetY="2"/>
				<frame index="1" delay="50" offsetY="4"/>
				<frame index="1" delay="50" offsetY="6"/>
				<frame index="1" delay="50" offsetY="8"/>
				<frame index="1" delay="40" offsetY="11"/>
				<frame index="1" delay="40" offsetY="14"/>
				<frame index="1" delay="40" offsetY="17"/>
				<frame index="1" delay="40" offsetY="20"/>
				<frame index="1" delay="40" offsetY="24"/>
				<frame index="1" delay="40" offsetY="28"/>
				<frame index="1" delay="30" offsetY="32"/>
				<frame index="1" delay="30" offsetY="36"/>
				<frame index="1" delay="30" offsetY="41"/>
				<frame index="1" delay="30" offsetY="46"/>
				<frame index="1" delay="30" offsetY="51"/>
				<frame index="1" delay="30" offsetY="57"/>
				<frame index="3" delay="60" offsetY="58"/>
				<frame index="4" delay="70" offsetY="58"/>
				<frame index="5" delay="0" offsetY="59"/>
        </animation>
    </action>
</sprite>