If: Conditional actions.
[python-bulletml.git] / examples / boss / [XEVIOUS]_garu_zakato.xml
1 <?xml version="1.0" ?>
2 <!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">
3
4 <bulletml type="vertical"
5 xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">
6
7 <action label="top">
8 <fire>
9 <direction type="absolute">180</direction>
10 <speed>3</speed>
11 <bulletRef label="gzc"/>
12 </fire>
13 </action>
14
15 <bullet label="gzc">
16 <action>
17 <wait>10+$rand*10</wait>
18 <repeat><times>16</times>
19 <action>
20 <fire>
21 <direction type="sequence">360/16</direction>
22 <bulletRef label="spr"/>
23 </fire>
24 </action>
25 </repeat>
26 <repeat><times>4</times>
27 <action>
28 <fire>
29 <direction type="sequence">90</direction>
30 <bulletRef label="hrmSpr"/>
31 </fire>
32 </action>
33 </repeat>
34 <vanish/>
35 </action>
36 </bullet>
37
38 <bullet label="spr">
39 <speed>2</speed>
40 </bullet>
41
42 <bullet label="hrmSpr">
43 <speed>0</speed>
44 <action>
45 <changeSpeed>
46 <speed>2</speed>
47 <term>60</term>
48 </changeSpeed>
49 </action>
50 <action>
51 <repeat><times>9999</times>
52 <action>
53 <changeDirection>
54 <direction type="aim">0</direction>
55 <term>40</term>
56 </changeDirection>
57 <wait>1</wait>
58 </action>
59 </repeat>
60 </action>
61 </bullet>
62
63 </bulletml>