Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17_merge/data/levels/FlappyOrx.oxw @ 11757

Last change on this file since 11757 was 11757, checked in by landauf, 6 years ago

[FlappyOrx_HS17] removed FlappyOrxCenterPoint, it doesn't seem to be neede

File size: 1.6 KB
Line 
1<LevelInfo
2 name = "Flappy Orx"
3 description = "A clone of the iconic Flappy Bird"
4 tags = "minigame"
5 screenshot = "FlappyOrx.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("templates/lodInformation.oxt")
11  include("templates/spaceshipFlappyOrx.oxt")
12  include("overlays/FlappyOrxHUD.oxo")
13
14?>
15
16<Level
17  plugins = flappyorx
18  gametype = FlappyOrx
19>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23
24  <Scene
25    ambientlight = "0.8, 0.7, 0.4"
26    skybox     = "Orxonox/skyBoxBasic"
27  >
28  <WorldAmbientSound
29    source="Earth.ogg"
30    looping="true"
31    playOnLoad="true"
32  />
33
34 <Light type=directional position="11000, 11000, -7000" lookat="0, 0, 0" diffuse="1, 1, 1, 1" specular="1.0, 0.9, 0.9, 1.0" />
35    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx />
36 
37    <?lua
38      for i = 1, 5, 1 do
39        for j = 3, 12,3 do
40    ?>
41
42        <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>>
43          <MovableEntity
44            collisionType = dynamic
45            linearDamping = 0.8
46            angularDamping = 1
47            scale = "<?lua print(j) ?>"
48            collisiondamage = 10000
49            enablecollisiondamage = true
50          >
51         
52            <attached>
53              <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" />
54            </attached>
55            <collisionShapes>
56               <SphereCollisionShape radius="<?lua print(j + 8) ?>" />
57            </collisionShapes>
58          </MovableEntity>
59        </Template>
60
61    <?lua
62        end
63      end
64    ?>
65  </Scene>
66</Level>
Note: See TracBrowser for help on using the repository browser.