home *** CD-ROM | disk | FTP | other *** search
/ 15 Beaut Aussie Games 1 / BEAUTGAMESV1.iso / pc / Windows / data1.cab / Program_Files / dswmedia / games / canetoad.dcr / gameControl_10.ls < prev    next >
Encoding:
Text File  |  2002-01-01  |  487 b   |  11 lines

  1. on exitFrame
  2.   global obstacles, hero, background
  3.   repeat with i = 1 to count(obstacles)
  4.     set the locV of sprite the sNumber of getAt(obstacles, i) to the locV of sprite getAt(obstacles, i).sNumber + 5
  5.   end repeat
  6.   set the locV of sprite the sNumber of hero to the locV of sprite hero.sNumber + 5
  7.   repeat with i = 1 to count(background.sNumber)
  8.     set the locV of sprite getAt(the sNumber of background, i) to the locV of sprite getAt(background.sNumber, i) + 5
  9.   end repeat
  10. end
  11.