summaryrefslogtreecommitdiff
path: root/graphics/sprites/hairstyles/hairstyle1.xml
blob: 80ce0eca33181347585cd6acb9d7f4a47636a0f7 (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0"?>
<!-- Original Author possible tmw, tmw br, ufb projects
Copyright (C) 2010-2011  Evol Online -->
<sprite>

	<imageset name="base" src="graphics/sprites/hairstyles/hairstyle1.png|W" width="40" height="40" />

	<action name="stand" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-29" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="0" offsetY ="-29"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-1" offsetY ="-25"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="0" offsetY ="-29"/>
		</animation>
	</action>

	<action name="walk" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="0" offsetX="0" offsetY ="-29" delay="150" />
		  <frame index="0" offsetX="0" offsetY ="-28" delay="75" />
		  <frame index="0" offsetX="0" offsetY ="-29" delay="150" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="0" offsetY ="-29" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-29" delay="150"/>
		  <frame index="1" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="1" offsetX="0" offsetY ="-29" delay="75"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/>
		  <frame index="2" offsetX="-1" offsetY ="-26" delay="150"/>
		  <frame index="2" offsetX="-1" offsetY ="-25" delay="75"/>
		  <frame index="2" offsetX="-1" offsetY ="-26" delay="150"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="0" offsetY ="-29" delay="75"/>
		  <frame index="3" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="3" offsetX="0" offsetY ="-29" delay="150"/>
		  <frame index="3" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="3" offsetX="0" offsetY ="-29" delay="75"/>
		</animation>
	</action>

	<action name="attack" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-27" delay="75" />
		  <frame index="0" offsetX="0" offsetY ="-28" delay="75" />
		  <frame index="0" offsetX="0" offsetY ="-25" delay="75" />
		  <frame index="0" offsetX="0" offsetY ="-24" delay="75" />
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="4" offsetY ="-30" delay="75" />
		  <frame index="1" offsetX="4" offsetY ="-31" delay="75" />
		  <frame index="1" offsetX="0" offsetY ="-28" delay="75" />
		  <frame index="1" offsetX="-1" offsetY ="-27" delay="75" />
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-2" offsetY ="-25" delay="225"/>
		  <frame index="2" offsetX="-2" offsetY ="-23" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-3" offsetY ="-30" delay="75"/>
		  <frame index="3" offsetX="-3" offsetY ="-31" delay="75"/>
		  <frame index="3" offsetX="0" offsetY ="-28" delay="75"/>
		  <frame index="3" offsetX="1" offsetY ="-27" delay="75"/>
		  <end />
		</animation>
	</action>

	<action name="attack_bow" imageset="base">
		<animation direction="down">
		  <frame index="0" offsetX="0" offsetY ="-28" delay="225" />
		  <frame index="0" offsetX="0" offsetY ="-27" delay="75" />
		  <frame index="0" offsetX="0" offsetY ="-28" delay="75" />
		  <end />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="3" offsetY ="-29" delay="225" />
		  <frame index="1" offsetX="5" offsetY ="-30" delay="150" />
		  <end />
		</animation>
		<animation direction="up">
		  <frame index="2" offsetX="-1" offsetY ="-25" delay="150"/>
		  <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/>
		  <frame index="2" offsetX="-2" offsetY ="-24" delay="75"/>
		  <frame index="2" offsetX="-2" offsetY ="-25" delay="75"/>
		  <end />
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-3" offsetY ="-29" delay="225"/>
		  <frame index="3" offsetX="-5" offsetY ="-30" delay="150"/>
		  <end />
		</animation>
	</action>

	<action name="sit" imageset="base">
		<animation direction="down">
			<!-- Old OffsetY value was at "-17" before the add of the new sit frames.-->
		  <frame index="0" offsetY ="-22" />
		</animation>
		<animation direction="left">
		  <frame index="1" offsetX="4" offsetY ="-20"/>
		</animation>
		<animation direction="up">
		  <frame index="2" offsetY ="-17"/>
		</animation>
		<animation direction="right">
		  <frame index="3" offsetX="-6" offsetY ="-20"/>
		</animation>
	</action>

	<action name="dead" imageset="base">
		<animation direction="default">
			<frame index="4" offsetX="21" offsetY="-4"/>
		</animation>
	</action>

</sprite>