Changeset 4108
- Timestamp:
- Jul 4, 2006, 4:45:11 PM (18 years ago)
- Location:
- data/branches/presentation
- Files:
-
- 14 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/presentation/scripts/effects.lua
r4103 r4108 22 22 23 23 24 --if playerX > -1200 and not cloudActivated then25 --cloud:activate()26 --cloudActivated = true;27 --end24 if playerX > -1200 and not cloudActivated then 25 cloud:activate() 26 cloudActivated = true; 27 end 28 28 29 if playerX > -900 and not fogActivated then 30 fog:activate() 31 fogActivated = true 32 end 29 33 30 --if playerX > -900 and not fogActivated then31 -- fog:activate()32 -- fogActivated = true33 --end34 if playerX > -800 and not snowActivated then 35 snow:activate() 36 snowActivated = true 37 end 34 38 35 --if playerX > -800 and notsnowActivated then36 -- snow:activate()37 -- snowActivated = true 38 --end39 if playerX > -700 and snowActivated then 40 snow:deactivate() 41 fog:deactivate() 42 end 39 43 40 --if playerX > -700 and snowActivated then41 -- snow:deactivate()42 -- fog:deactivate() 43 --end44 if playerX > -600 and not rainActivated then 45 rain:startRaining() 46 rainActivated = true 47 end 44 48 45 --if playerX > -600 and not rainActivated then46 --rain:startRaining()47 --rainActivated = true48 --end49 if playerX > -500 and rainActivated and not lightningActivated then 50 lightning:activate() 51 lightningActivated = true 52 end 49 53 50 --if playerX > -500 and rainActivated and not lightningActivated then51 -- lightning:activate()52 -- lightningActivated = true 53 --end54 if playerX > -300 and rainActivated then 55 rain:stopRaining() 56 lightning:deactivate() 57 end 54 58 55 --if playerX > -300 and rainActivated then 56 --rain:stopRaining() 57 --lightning:deactivate() 58 --end 59 60 --return false 61 return true 59 return false 60 --return true 62 61 end
Note: See TracChangeset
for help on using the changeset viewer.