summaryrefslogtreecommitdiff
path: root/graphics/sprites/monster-silkworm.xml
blob: 201531fd2e421040306e60358bf3143ae23751ae (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
<?xml version="1.0"?>
<sprite>

	<imageset name="base" src="graphics/sprites/monster-silkworm.png|W;R" width="32" height="24" />

	<action name="stand" imageset="base">
		<animation direction="down">
		  <frame index="5"/>
		</animation>
		<animation direction="left">
		  <frame index="0"/>
		</animation>
		<animation direction="up">
		  <frame index="15"/>
		</animation>
		<animation direction="right">
		  <frame index="10"/>
		</animation>
	</action>

	<action name="walk" imageset="base">
		<animation direction="down">
			<sequence start="5" end="8" delay="100"/>
		</animation>
		<animation direction="left">
			<sequence start="0" end="3" delay="100"/>
		</animation>
		<animation direction="up">
			<sequence start="15" end="18" delay="100"/>
		</animation>
		<animation direction="right">
			<sequence start="10" end="13" delay="100"/>
		</animation>
	</action>

	<action name="dead" imageset="base">
		<animation>
		  <frame index="4"/>
		</animation>
	</action>

</sprite>