summaryrefslogtreecommitdiff
path: root/graphics/sprites/monsters/wisp.xml
blob: 68bb72dcc3e74264e5e297809c454d1fdab53a13 (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
<?xml version="1.0"?>
<sprite>

	<imageset name="base" src="graphics/sprites/monsters/wisp.png|W" width="64" height="64" />

	<action name="stand" imageset="base">
		<animation direction="default">
			<frame index="2" delay="100"/>
			<frame index="1" delay="100"/>
			<frame index="0" delay="100"/>
			<frame index="1" delay="100"/>
			<frame index="2" delay="100"/>
			<frame index="3" delay="100"/>
			<frame index="4" delay="100"/>
			<frame index="3" delay="100"/>
		</animation>
	</action>
	
	<action name="dead" imageset="base">
		<animation direction="default">
			<sequence start="5" end="8" delay="150"/>
			<frame index="9" delay="0"/>
		</animation>
	</action>
	
	<action name="attack" imageset="base">
		<animation direction="down">
			<frame index="0" delay="50" offsetY="4"/>
			<frame index="1" delay="50" offsetY="8"/>
			<frame index="2" delay="50" offsetY="16"/>
			<frame index="3" delay="50" offsetY="32"/>
			<frame index="4" delay="50" offsetY="64"/>
			<frame index="3" delay="50" offsetY="32"/>
			<frame index="2" delay="50" offsetY="16"/>
			<frame index="1" delay="50" offsetY="8"/>
			<frame index="0" delay="0" offsetY="4"/>
		</animation>

		<animation direction="right">
			<frame index="0" delay="50" offsetX="4"/>
			<frame index="1" delay="50" offsetX="8"/>
			<frame index="2" delay="50" offsetX="16"/>
			<frame index="3" delay="50" offsetX="32"/>
			<frame index="4" delay="50" offsetX="64"/>
			<frame index="3" delay="50" offsetX="32"/>
			<frame index="2" delay="50" offsetX="16"/>
			<frame index="1" delay="50" offsetX="8"/>
			<frame index="0" delay="0" offsetX="4"/>
		</animation>
		
		
		<animation direction="up">
			<frame index="0" delay="50" offsetY="0"/>
			<frame index="1" delay="50" offsetY="-4"/>
			<frame index="2" delay="50" offsetY="-8"/>
			<frame index="3" delay="50" offsetY="-16"/>
			<frame index="4" delay="50" offsetY="-32"/>
			<frame index="3" delay="50" offsetY="-16"/>
			<frame index="2" delay="50" offsetY="-8"/>
			<frame index="1" delay="50" offsetY="-4"/>
			<frame index="0" delay="0" offsetY="0"/>
		</animation>

		<animation direction="left">
			<frame index="0" delay="50" offsetX="0"/>
			<frame index="1" delay="50" offsetX="-4"/>
			<frame index="2" delay="50" offsetX="-8"/>
			<frame index="3" delay="50" offsetX="-16"/>
			<frame index="4" delay="50" offsetX="-32"/>
			<frame index="3" delay="50" offsetX="-16"/>
			<frame index="2" delay="50" offsetX="-8"/>
			<frame index="1" delay="50" offsetX="-4"/>
			<frame index="0" delay="0" offsetX="0"/>
		</animation>
	</action>

</sprite>