Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 11, 2013, 4:01:44 PM (11 years ago)
Author:
zifloria
Message:

enemies

Location:
code/branches/invaders/data/levels
Files:
1 added
1 edited

Legend:

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

    r9724 r9777  
    1616  include("templates/spaceshipPirate.oxt")
    1717  include("templates/spaceshipInvader.oxt")
     18  include("templates/enemyInvader.oxt")
    1819?>
    1920
     
    5556   
    5657    <?lua
    57       for i = 1, 250, 1
    58       do
    59       j = math.random()
     58      for i = 1, 300, 1 do
     59        j = math.random()
    6060    ?>
    6161
    6262    <MovableEntity
    63       position = "<?lua print(math.random()* 15000 - 1000) ?>,-1000,<?lua print(math.random() * 12000 - 4000) ?>"
     63      position = "<?lua print(math.random()* 30000 - 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
    6464      collisionType = dynamic
    6565      linearDamping = 0.8
    6666      angularDamping = 0
    6767      scale = "<?lua print(j * 150)?>"
    68       collisiondamage = 1
     68      collisiondamage = 0
    6969      enablecollisiondamage = true
    7070    >
Note: See TracChangeset for help on using the changeset viewer.