If: Conditional actions.
[python-bulletml.git] / examples / boss / [Guwange]_round_4_boss_eye_ball.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 <repeat> <times>4+$rank*4</times>
9 <action>
10 <fire>
11 <direction>$rand*360</direction>
12 <bulletRef label="eye"/>
13 </fire>
14 <wait>30</wait>
15 </action>
16 </repeat>
17 </action>
18
19 <bullet label="eye">
20 <speed>0</speed>
21 <action>
22 <changeSpeed>
23 <speed>10</speed>
24 <term>400</term>
25 </changeSpeed>
26 <changeDirection>
27 <direction type="sequence">$rand*5-2</direction>
28 <term>9999</term>
29 </changeDirection>
30 <repeat> <times>9999</times>
31 <action>
32 <fire>
33 <direction type="relative">0</direction>
34 <bulletRef label="shadow"/>
35 </fire>
36 <wait>4</wait>
37 </action>
38 </repeat>
39 </action>
40 </bullet>
41
42 <bullet label="shadow">
43 <speed>0</speed>
44 <action>
45 <wait>20</wait>
46 <fire>
47 <direction type="relative">90</direction>
48 <speed>0.6</speed>
49 <bullet/>
50 </fire>
51 <fire>
52 <direction type="relative">-90</direction>
53 <speed>0.6</speed>
54 <bullet/>
55 </fire>
56 <vanish/>
57 </action>
58 </bullet>
59
60 </bulletml>