Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17/data/levels/FlappyOrx.oxw @ 11739

Last change on this file since 11739 was 11678, checked in by patricwi, 7 years ago

merged FlappyOrx and SOBv2

File size: 1.6 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 
[11503]36    <FlappyOrxCenterPoint name=flappyorxcenter />
37   
[11600]38   
39
[11529]40    <?lua
[11580]41      for i = 1, 5, 1 do
[11529]42        for j = 3, 12,3 do
43    ?>
44
[11596]45        <Template name=Asteroid<?lua print(j) ?>_<?lua print(i) ?>>
46          <MovableEntity
47            collisionType = dynamic
48            linearDamping = 0.8
[11624]49            angularDamping = 1
[11596]50            scale = "<?lua print(j) ?>"
51            collisiondamage = 10000
52            enablecollisiondamage = true
53          >
54         
55            <attached>
56              <Model mass="1000" mesh="ast<?lua print(i) ?>.mesh" />
57            </attached>
58            <collisionShapes>
[11648]59               <SphereCollisionShape radius="<?lua print(j + 8) ?>" />
[11596]60            </collisionShapes>
61          </MovableEntity>
62        </Template>
[11529]63
64    <?lua
65        end
66      end
67    ?>
[11503]68  </Scene>
[11648]69</Level>
Note: See TracBrowser for help on using the repository browser.