Changeset 4103 for data/branches/presentation/scripts
- Timestamp:
- Jul 4, 2006, 3:45:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/presentation/scripts/effects.lua
r4099 r4103 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 > -1100 and cloudActivated then30 cloud:cloudColor(1,0,0,5)31 cloud:skyColor(0,0,0,5)32 end33 34 --if playerX > -1000 and cloudActivated then35 -- cloud:cloudColor(0.8,0.8,0.8,5)36 -- cloud:skyColor(0,0,0.8,5)37 --end38 29 39 30 --if playerX > -900 and not fogActivated then … … 52 43 --end 53 44 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 61 return true 57 62 end 58 59 if playerX > -500 and rainActivated and not lightningActivated then60 lightning:activate()61 lightningActivated = true62 end63 64 if playerX > -300 and rainActivated and lightningActivated then65 rain:stopRaining()66 lightning:deactivate()67 end68 69 return false70 71 end
Note: See TracChangeset
for help on using the changeset viewer.