Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4108 for data


Ignore:
Timestamp:
Jul 4, 2006, 4:45:11 PM (18 years ago)
Author:
amaechler
Message:

own vocal sounds commited

Location:
data/branches/presentation
Files:
14 added
1 edited

Legend:

Unmodified
Added
Removed
  • data/branches/presentation/scripts/effects.lua

    r4103 r4108  
    2222
    2323
    24 --if playerX > -1200 and not cloudActivated then
    25   --cloud:activate()
    26   --cloudActivated = true;
    27 --end
     24if playerX > -1200 and not cloudActivated then
     25  cloud:activate()
     26  cloudActivated = true;
     27end
    2828
     29if playerX > -900 and not fogActivated then
     30 fog:activate()
     31 fogActivated = true
     32end
    2933
    30 --if playerX > -900 and not fogActivated then
    31 --  fog:activate()
    32 --  fogActivated = true
    33 --end
     34if playerX > -800 and not snowActivated then
     35 snow:activate()
     36 snowActivated = true
     37end
    3438
    35 --if playerX > -800 and not snowActivated then
    36 --  snow:activate()
    37 --  snowActivated = true
    38 --end
     39if playerX > -700 and snowActivated then
     40 snow:deactivate()
     41 fog:deactivate()
     42end
    3943
    40 --if playerX > -700 and snowActivated then
    41 --  snow:deactivate()
    42 --  fog:deactivate()
    43 --end
     44if playerX > -600 and not rainActivated then
     45  rain:startRaining()
     46  rainActivated = true
     47end
    4448
    45 --if playerX > -600 and not rainActivated then
    46   --rain:startRaining()
    47   --rainActivated = true
    48 --end
     49if playerX > -500 and rainActivated and not lightningActivated then
     50 lightning:activate()
     51 lightningActivated = true
     52end
    4953
    50 --if playerX > -500 and rainActivated and not lightningActivated then
    51 --  lightning:activate()
    52 --  lightningActivated = true
    53 --end
     54if playerX > -300 and rainActivated then
     55  rain:stopRaining()
     56  lightning:deactivate()
     57end
    5458
    55 --if playerX > -300 and rainActivated then
    56   --rain:stopRaining()
    57   --lightning:deactivate()
    58 --end
    59 
    60 --return false
    61 return true
     59return false
     60--return true
    6261end
Note: See TracChangeset for help on using the changeset viewer.