blob: a4b3321e367f6c5d2ca1386265c14553faebf8c9 (
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" encoding="ISO-8859-1"?>
<entities>
<entity id="checkpoint" name="Checkpoint" sprite="res/keyring.png" width="8" height="11" action="save" />
<entity id="movplat" name="Moving Platform" sprite="res/platform4.png" width="32" height="8" action="carry">
<input id="dir" name="Direction" type="choice">
<value id="0">Left</value>
<value id="1">Right</value>
<value id="2">Up</value>
<value id="3">Down</value>
</input>
<input id="len" name="Length" type="slider" minvalue="0" maxvalue="320" />
<input id="speed" name="Speed (px/s)" type="slider" minvalue="1" maxvalue="320" />
<ai chance="1">
<switch item="dir">
<case value="0">
<move direction="left" length-var="len" speed-var="speed" />
<move direction="right" length-var="len" speed-var="speed" />
</case>
<case value="1">
<move direction="right" length-var="len" speed-var="speed" />
<move direction="left" length-var="len" speed-var="speed" />
</case>
<case value="2">
<move direction="up" length-var="len" speed-var="speed" />
<move direction="down" length-var="len" speed-var="speed" />
</case>
<case value="3">
<move direction="down" length-var="len" speed-var="speed" />
<move direction="up" length-var="len" speed-var="speed" />
</case>
</switch>
</ai>
</entity>
</entities>
|