Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/FlappyOrx.oxw @ 12031

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

merged Presentation_HS17_merge back to trunk

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