Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 11, 2012, 3:53:43 PM (13 years ago)
Author:
jo
Message:

Trying to create tetris bricks. Rough implementation done. Still having a nasty camera bug. (see the debug output concerning the cameraIndex)

File:
1 edited

Legend:

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

    r9016 r9082  
    1212?>
    1313
    14 <Template name=tetrisstonecameras defaults=0>
    15   <TetrisStone>
     14<Template name=tetrisbrickcameras defaults=0>
     15  <TetrisBrick>
    1616    <camerapositions>
    1717      <CameraPosition position="55,75,200" absolute=true />
     
    1919      <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true />
    2020    </camerapositions>
    21   </TetrisStone>
     21  </TetrisBrick>
    2222</Template>
    2323
    2424<Template name=tetrisstone>
    25   <TetrisStone camerapositiontemplate=tetrisstonecameras>
     25  <TetrisStone>
    2626    <attached>
    2727      <Model position="0,0,0" mesh="crate.mesh" scale=1 />
     
    2929  </TetrisStone>
    3030</Template>
     31
     32<Template name=tetrisbrick>
     33  <TetrisBrick camerapositiontemplate=tetrisbrickcameras>
     34  </TetrisBrick>
     35</Template>
     36
    3137
    3238<Level
     
    5056    <?lua end ?>
    5157
    52     <TetrisCenterpoint name=tetriscenter width=11 height=15 stoneSize=10 stoneTemplate=tetrisstone stoneSpeed=10 position="-55,-75,0">
     58    <TetrisCenterpoint name=tetriscenter width=11 height=15 stoneSize=10 stoneTemplate=tetrisstone brickTemplate=tetrisbrick stoneSpeed=10 position="-55,-75,0">
    5359        <attached>
    5460            <Model position="55,-1,0" mesh="cube.mesh" scale3D="57,1,11" />
Note: See TracChangeset for help on using the changeset viewer.