Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 2:05:12 PM (7 years ago)
Author:
merholzl
Message:

Cleanup of level files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/data/levels/Invaders.oxw

    r11589 r11596  
    4949   
    5050    <InvaderCenterPoint name=invadercenter />
    51     <?lua
    52       for i = 1, 30, 1 do
    53         j = math.random()
    54     ?>
    55 
    56     <MovableEntity
    57       position = "<?lua print(i* 3000) ?>,0, <?lua print(j* 200) ?>"
     51   
     52     <MovableEntity
     53      position = "3000,0,0"
    5854      collisionType = dynamic
    5955      linearDamping = 0.8
    6056      angularDamping = 0
    61       scale = "<?lua print(10)?>"
     57      scale = "10"
    6258      collisiondamage = 0
    6359      enablecollisiondamage = true
     
    6561   
    6662      <attached>
    67         <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
     63        <Model mass="1000" mesh="ast6.mesh" />
    6864      </attached>
    6965      <collisionShapes>
    70         <SphereCollisionShape radius="<?lua print(10) ?>" />
     66        <SphereCollisionShape radius="10" />
    7167      </collisionShapes>
    7268    </MovableEntity>
    7369
    74      <MovableEntity
    75       position = "<?lua print(i* 3000) ?>,0,<?lua print(-150 + j* 200) ?>"
    76       collisionType = dynamic
    77       linearDamping = 0.8
    78       angularDamping = 0
    79       scale = "<?lua print(10)?>"
    80       collisiondamage = 0
    81       enablecollisiondamage = true
    82     >
    8370   
    84       <attached>
    85         <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
    86       </attached>
    87       <collisionShapes>
    88         <SphereCollisionShape radius="<?lua print(10) ?>" />
    89       </collisionShapes>
    90     </MovableEntity>
    91 
    92     <?lua
    93       end
    94     ?>
    9571   
    9672  </Scene>
Note: See TracChangeset for help on using the changeset viewer.