Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4103


Ignore:
Timestamp:
Jul 4, 2006, 3:45:27 PM (18 years ago)
Author:
hdavid
Message:
 
File:
1 edited

Legend:

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

    r4099 r4103  
    2222
    2323
    24 if playerX > -1200 and not cloudActivated then
    25   cloud:activate()
    26   cloudActivated = true;
    27 end
     24--if playerX > -1200 and not cloudActivated then
     25  --cloud:activate()
     26  --cloudActivated = true;
     27--end
    2828
    29 if playerX > -1100 and cloudActivated then
    30   cloud:cloudColor(1,0,0,5)
    31   cloud:skyColor(0,0,0,5)
    32 end
    33 
    34 --if playerX > -1000 and cloudActivated then
    35 --  cloud:cloudColor(0.8,0.8,0.8,5)
    36 --  cloud:skyColor(0,0,0.8,5)
    37 --end
    3829
    3930--if playerX > -900 and not fogActivated then
     
    5243--end
    5344
    54 if playerX > -600 and not rainActivated then
    55   rain:startRaining()
    56   rainActivated = true
     45--if playerX > -600 and not rainActivated then
     46  --rain:startRaining()
     47  --rainActivated = true
     48--end
     49
     50--if playerX > -500 and rainActivated and not lightningActivated then
     51--  lightning:activate()
     52--  lightningActivated = true
     53--end
     54
     55--if playerX > -300 and rainActivated then
     56  --rain:stopRaining()
     57  --lightning:deactivate()
     58--end
     59
     60--return false
     61return true
    5762end
    58 
    59 if playerX > -500 and rainActivated and not lightningActivated then
    60   lightning:activate()
    61   lightningActivated = true
    62 end
    63 
    64 if playerX > -300 and rainActivated and lightningActivated then
    65   rain:stopRaining()
    66   lightning:deactivate()
    67 end
    68 
    69 return false
    70 
    71 end
Note: See TracChangeset for help on using the changeset viewer.