aboutsummaryrefslogtreecommitdiffstats
path: root/xml/entities.xml
blob: e1d75498bec146e16f3c3394b91749f487f291c1 (plain)
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
<spawnx/>

<npc>
	<Position value="0.0,100.0" />
	<Visible value="0.2" />
	<Sprite> image="assets/NPC.png"
		<frame>
			<src id="0" offset="0,0" size="15,20" drawOffset="0,0">assets/NPC.png</src>
			<src id="1" offset="0,21" size="15,9" drawOffset="-1,14">assets/NPC.png</src>
			<src id="2" drawOffset="13,6">assets/items/ironSword.png</src>
		</frame>
	</Sprite>	
	<Animation>
		<movement update="1" changeId="1">
			<frame>
				<src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC.png</src>		
			</frame>
			<frame>
				<src offset="0,21" size="15,9" drawOffset="0,13">assets/NPC_Walk.png</src>
			</frame>
		</movement>
	</Animation>
	<Direction />
	<Solid />
	<Physics />
	<Name value="Daddy" />
	<Dialog />
	<Wander />
</npc>

<structure>
	<Position value="0.0,100.0" />
	<Visible value="0.25" />
	<Sprite>
		<frame>
			<src>assets/style/classic/house1.png</src>
		</frame>
	</Sprite>
	<Portal />
	<Solid />
	<Grounded />
</structure>

<chest>
	<Position value="0.0,100.0" />
	<Visible value="0.15" />
	<Sprite>
		<frame>
			<src>assets/chest.png</src>
		</frame>
	</Sprite>
	<Solid />
	<Grounded />
</chest>