If: Conditional actions.
[python-bulletml.git] / examples / boss / [Progear]_round_4_boss_fast_rocket.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="horizontal"
5 xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml">
6
7 <action label="fireRoot">
8 <fire>
9 <direction type="absolute">$1</direction>
10 <speed>0.2</speed>
11 <bulletRef label="rootBl"/>
12 </fire>
13 <repeat> <times>3</times>
14 <action>
15 <fire>
16 <direction type="absolute">$1</direction>
17 <speed type="sequence">0.4</speed>
18 <bulletRef label="rootBl"/>
19 </fire>
20 </action>
21 </repeat>
22 </action>
23
24 <action label="top">
25 <actionRef label="fireRoot">
26 <param>$rand*16</param>
27 </actionRef>
28 <actionRef label="fireRoot">
29 <param>180+$rand*16</param>
30 </actionRef>
31 <wait>120</wait>
32 </action>
33
34 <bullet label="rootBl">
35 <action>
36 <wait>40</wait>
37 <fire>
38 <direction type="absolute">274+$rand*4</direction>
39 <bulletRef label="rocket"/>
40 </fire>
41 <vanish/>
42 </action>
43 </bullet>
44
45 <bullet label="rocket">
46 <speed>5+$rand</speed>
47 <action>
48 <repeat> <times>9999</times>
49 <action>
50 <fire>
51 <direction type="absolute">0</direction>
52 <speed>1</speed>
53 <bulletRef label="downAccel"/>
54 </fire>
55 <fire>
56 <direction type="absolute">60</direction>
57 <speed>1.8</speed>
58 <bulletRef label="downAccel"/>
59 </fire>
60 <wait>3</wait>
61 </action>
62 </repeat>
63 </action>
64 </bullet>
65
66 <bullet label="downAccel">
67 <action>
68 <accel>
69 <vertical>2.7</vertical>
70 <term>120</term>
71 </accel>
72 </action>
73 </bullet>
74
75 </bulletml>