summaryrefslogtreecommitdiff
path: root/graphics/sprites/weapons.xml
blob: 0e2ce8b7a38bf4c55b533389377a73d4dd9ce4fa (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
<?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="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>