Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2013, 5:35:30 PM (11 years ago)
Author:
zifloria
Message:

HUD + take damage

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

Legend:

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

    r9777 r9828  
    55 screenshot = "emptylevel.png"
    66/>
    7 
     7<!-- include("HUDTemplates3.oxo") -->
    88<?lua
    99  include("stats.oxo")
    10   include("HUDTemplates3.oxo")
    1110  include("templates/lodInformation.oxt")
    1211?>
     
    1716  include("templates/spaceshipInvader.oxt")
    1817  include("templates/enemyInvader.oxt")
     18  include("overlays/InvaderHUD.oxo")
    1919?>
    2020
     
    6161
    6262    <MovableEntity
    63       position = "<?lua print(math.random()* 30000 - 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
     63      position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"
    6464      collisionType = dynamic
    6565      linearDamping = 0.8
  • code/branches/invaders/data/levels/templates/enemyInvader.oxt

    r9793 r9828  
    3434
    3535   collisionType     = "dynamic"
    36    mass              = 5
     36   mass              = 0.00001
    3737   linearDamping     = 0
    3838   angularDamping    = 0
  • code/branches/invaders/data/levels/templates/spaceshipInvader.oxt

    r9744 r9828  
    3434
    3535   collisionType     = "dynamic"
    36    mass              = 80
     36   mass              = 4200000
    3737   linearDamping     = 0.7
    3838   angularDamping    = 0.9999999
     39
     40    collisiondamage = 100
     41    enablecollisiondamage = true
    3942  >
    4043    <engines>
Note: See TracChangeset for help on using the changeset viewer.