summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapon-scythe.xml
blob: d87a966b5a681879ec408ce9e08d60acd46c5d9f (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
<?xml version="1.0"?>
<sprite name="player" action="stand">
	<imageset name="staff" src="graphics/sprites/weapon-scythe.png" width="128" height="128" />

	<action name="default" imageset="staff">
	</action>

	<action name="stand" imageset="staff">
		<animation direction="down">
		  <frame index="0" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="left">
		  <frame index="16" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="up">
		  <frame index="32" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="right">
		  <frame index="48" offsetX ="0" offsetY ="32" />
		</animation>
	</action>

	<action name="walk" imageset="staff">
		<animation direction="down">
			<sequence start="1" end="6" offsetX ="0" offsetY ="32" delay="75" />
		</animation>
		<animation direction="left">
			<sequence start="17" end="22" offsetX ="0" offsetY ="32" delay="75" />
		</animation>
		<animation direction="up">
			<sequence start="33" end="38" offsetX ="0" offsetY ="32" delay="75" />
		</animation>
		<animation direction="right">
			<sequence start="49" end="54" offsetX ="0" offsetY ="32" delay="75" />
		</animation>
	</action>

	<action name="sit" imageset="staff">
		<animation direction="down">
		  <frame index="7" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="left">
		  <frame index="23" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="up">
		  <frame index="39" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="right">
		  <frame index="55" offsetX ="0" offsetY ="32" />
		</animation>
	</action>

	<action name="dead" imageset="staff">
		<animation direction="down">
		  <frame index="12" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="left">
		  <frame index="12" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="up">
		  <frame index="12" offsetX ="0" offsetY ="32" />
		</animation>
		<animation direction="right">
		  <frame index="12" offsetX ="0" offsetY ="32" />
		</animation>
	</action>

	<action name="attack" imageset="staff">
		<animation direction="down">
			<sequence start="8" end="11" offsetX ="0" offsetY ="32" delay="75" />
		  	<end />
		</animation>
		<animation direction="left">
			<sequence start="24" end="27" offsetX ="0" offsetY ="32" delay="75" />
		  	<end />
		</animation>
		<animation direction="up">
			<sequence start="40" end="43" offsetX ="0" offsetY ="32" delay="75" />
		  	<end />
		</animation>
		<animation direction="right">
			<sequence start="56" end="59" offsetX ="0" offsetY ="32" delay="75" />
		  	<end />
		</animation>
	</action>

</sprite>