Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 17, 2012, 11:51:21 PM (12 years ago)
Author:
jo
Message:

Tetris on the way to get completed. I fixed some bugs concerning rotation, false brick placement on brick-brick collisions, clearing multiple rows and added a preview brick feature and a basic hud.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pCuts/data/levels/tetris.oxw

    r9090 r9092  
    99  include("HUDTemplates3.oxo")
    1010  include("stats.oxo")
    11   include("pongHUD.oxo")
     11  include("tetrisHUD.oxo")
    1212  include("templates/lodInformation.oxt")
    1313?>
     
    2424  <TetrisStone camerapositiontemplate=tetrisstonecameras>
    2525    <attached>
    26       <Model position="0,0,0" mesh="crate.mesh" scale=1 />
     26      <Model position="0,0,0" mesh="crate.mesh" scale=0.9 />
    2727    </attached>
    2828  </TetrisStone>
     
    5959   skybox       = "Orxonox/skypanoramagen1"
    6060  >
     61<!--luke_grey_-_hypermode.ogg allgorythm-lift_up.ogg Fight1.ogg -->
     62    <WorldAmbientSound
     63      source="Ganymede.ogg"
     64      looping="true"
     65      playOnLoad="true"
     66    />
     67
    6168    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
     69
    6270
    6371    <?lua
     
    8088    </TetrisCenterpoint>
    8189
     90<!-- ------------ insert eye candy here  ---------------- -->
     91
     92<!-- asteroidBelt(centerX, centerY, centerZ, yaw, pitch, segments, minSize, maxSize, radius0, radius1, count, fog) -->
     93<!-- DONT DARE TO TURN THE FOG ON, whithout finding a better belt position -->
     94    <?lua
     95        dofile("includes/asteroidField.lua")
     96        asteroidBelt(10000, 0, 0, -40, -90, 70, 100, 200, 24000, 20000, 500, 0)
     97
     98    ?>
     99
     100
    82101  </Scene>
    83102</Level>
Note: See TracChangeset for help on using the changeset viewer.