home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / BeaverFever.dxr / 00005.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  2.3 KB  |  70 lines

  1. on exitFrame me
  2.   global riverOffset, riverWidth, playerThrottle, debrisFrequency, debrisTimer, playerPosition, playerData, scoreRecords, debrisData, flagChecks, roundTimer, vanishCheckpoint, splashData, splashCycle, splashRateDelay, checkTimer, secondsTimer, frameTime, frameTally, lapBonusPoints, spareTimeBonus, readySetGoDelay, pDrift, pSpeed, flagPosition, playerFailure
  3.   riverOffset = 50
  4.   riverWidth = 3400
  5.   playerThrottle = 60
  6.   debrisFrequency = 50
  7.   debrisTimer = 25
  8.   playerPosition = 1
  9.   playerData = [0, point(1500, 3000), point(0, 0), 0]
  10.   scoreRecords = [0, 0, 0, 0]
  11.   debrisData = []
  12.   repeat with whichItem = 1 to 20
  13.     add(debrisData, [0, point(0, 0)])
  14.     set the loc of sprite (34 + whichItem) to point(-50, -50)
  15.   end repeat
  16.   repeat with xRep = 1 to 28
  17.     sprite(300 + xRep).locZ = 9
  18.   end repeat
  19.   repeat with xRep = 70 to 85
  20.     sprite(400 + xRep).locZ = 9
  21.   end repeat
  22.   set the loc of sprite 77 to point(468, 362)
  23.   set the locV of sprite 79 to -50
  24.   flagChecks = [0, 0, 0, 0]
  25.   roundTimer = [0, 0, 0, 0]
  26.   sprite(80).visible = 0
  27.   vanishCheckpoint = 0
  28.   put "0" into member "Lap 1 score"
  29.   put "0" into member "Lap 2 score"
  30.   put "0" into member "Lap 3 score"
  31.   put "0" into member "Lap 4 score"
  32.   splashData = []
  33.   splashCycle = 0
  34.   splashRateDelay = 0
  35.   repeat with whichSplash = 1 to 10
  36.     set the loc of sprite (130 + whichSplash) to point(-50, -50)
  37.     sprite(130 + whichSplash).locZ = 60
  38.     add(splashData, [0, point(-50, -50)])
  39.   end repeat
  40.   repeat with whichSprite = 10 to 54
  41.     sprite(whichSprite).locZ = 10
  42.   end repeat
  43.   repeat with whichSprite = 70 to 90
  44.     sprite(whichSprite).locZ = 200
  45.   end repeat
  46.   repeat with whichSprite = 100 to 128
  47.     sprite(whichSprite).locZ = 8
  48.   end repeat
  49.   checkTimer = 30
  50.   secondsTimer = 60
  51.   frameTime = the ticks + 30
  52.   frameTally = 0
  53.   lapBonusPoints = 0
  54.   spareTimeBonus = 0
  55.   sprite(1).locZ = 200
  56.   set the member of sprite 80 to "reddot"
  57.   set the member of sprite 70 to "checkpoint Flag"
  58.   readySetGoDelay = 10
  59.   pDrift = 5
  60.   pSpeed = 0
  61.   set the member of sprite 217 to "Digit 8"
  62.   set the member of sprite 218 to "Digit 0"
  63.   set the member of sprite 219 to "Digit 0"
  64.   set the member of sprite 220 to "Digit 0"
  65.   set the loc of sprite 69 to point(220, -50)
  66.   sprite(69).locZ = 999
  67.   flagPosition = 7500
  68.   playerFailure = 0
  69. end
  70.