summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapons.xml
blob: c0f2b6c1681b84860fbfce6eb5d84c5cb19ac4b0 (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
<?xml version="1.0"?>
<sprite name="player" action="stand">
	<imageset name="dagger" src="graphics/sprites/weapon0.png" width="64" height="64" />
	<imageset name="bow" src="graphics/sprites/weapon1.png" width="64" height="64" />

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

	<action name="attack_stab" imageset="dagger">
		<animation direction="down">
			<sequence start="0" end="3" delay="75" />
		</animation>
		<animation direction="left">
			<sequence start="4" end="7" delay="75" />
		</animation>
		<animation direction="up">
			<sequence start="8" end="11" delay="75" />
		</animation>
		<animation direction="right">
			<sequence start="12" end="15" delay="75" />
		</animation>
	</action>

	<action name="attack_bow" imageset="bow">
		<animation direction="down">
			<sequence start="0" end="4" delay="75" />
		</animation>
		<animation direction="left">
			<sequence start="5" end="9" delay="75" />
		</animation>
		<animation direction="up">
			<sequence start="10" end="14" delay="75" />
		</animation>
		<animation direction="right">
			<sequence start="15" end="19" delay="75" />
		</animation>
	</action>
</sprite>