Re-reverse coordinate system to match OpenGL.
[python-bulletml.git] / examples / normal / s-fall.xml
1 <?xml version="1.0" ?>
2 <!DOCTYPE bulletml SYSTEM "http://www.asahi-net.or.jp/~cs8k-cyu/bulletml/bulletml.dtd">
3
4 <bulletml xmlns="http://www.asahi-net.or.jp/~cs8k-cyu/bulletml"
5 xmlns:py="http://code.google.com/p/python-bulletml/">
6 <action label="top">
7 <repeat>
8 <times>10</times>
9 <action>
10 <fireRef label="fallerLeft"/>
11 <fireRef label="fallerRight"/>
12 <wait>8</wait>
13 </action>
14 </repeat>
15 </action>
16
17 <fire label="fallerLeft">
18 <bullet>
19 <direction type="absolute">180</direction>
20 <speed>2</speed>
21 <action>
22 <accel>
23 <term>0</term>
24 <vertical>-1</vertical>
25 </accel>
26 <changeDirection>
27 <term>10</term>
28 <direction type="sequence">-8</direction>
29 </changeDirection>
30 <wait>10</wait>
31 <repeat>
32 <times>9999</times>
33 <action>
34 <changeDirection>
35 <term>20</term>
36 <direction type="sequence">8</direction>
37 </changeDirection>
38 <wait>20</wait>
39 <changeDirection>
40 <term>20</term>
41 <direction type="sequence">-8</direction>
42 </changeDirection>
43 <wait>20</wait>
44 </action>
45 </repeat>
46 </action>
47 </bullet>
48 </fire>
49
50 <fire label="fallerRight">
51 <bullet>
52 <direction type="absolute">180</direction>
53 <speed>2</speed>
54 <action>
55 <accel>
56 <term>0</term>
57 <vertical>-1</vertical>
58 </accel>
59 <changeDirection>
60 <term>10</term>
61 <direction type="sequence">8</direction>
62 </changeDirection>
63 <wait>10</wait>
64 <repeat>
65 <times>9999</times>
66 <action>
67 <changeDirection>
68 <term>20</term>
69 <direction type="sequence">-8</direction>
70 </changeDirection>
71 <wait>20</wait>
72 <changeDirection>
73 <term>20</term>
74 <direction type="sequence">8</direction>
75 </changeDirection>
76 <wait>20</wait>
77 </action>
78 </repeat>
79 </action>
80 </bullet>
81 </fire>
82 </bulletml>