Y = RANDOM 280 215 160 90 X = 630kills = 0enemys = 0X1 = X + 60Y1 = Y + 75ON TIMER 1 event = event + 1 SPRITE 1 169 4 barricade.gif IF MouseVert < 110 THEN SPRITE 2 50 150 up.jpg END IF IF MouseVert > 220 THEN SPRITE 2 50 150 down.jpg END IF IF MouseVert > 119 THEN IF MouseVert < 219 THEN SPRITE 2 50 150 forward.jpg END IF END IF IF event = 5 THEN X = X + 10 SPRITE 3 X Y enemy.jpg SETAREA 1 X Y X1 Y1 END IF IF event = 200 THEN enemys = enemys + 1 X = 630 SPRITE 3 X Y enemy.jpg SETAREA 1 X Y X1 Y1 event = 0 END IFEND TIMER
X = 630Y = RANDOM 280 215 160 90kills = 0enemys = 0SPRITE 1 169 4 barricade.gifSPRITE 3 X Y enemy.jpg'------------------------------------------------------------------------------------------------ON TIMER 1  event1 = event1 + 1  IF MouseVert < 110 THEN SPRITE 2 50 150 up.jpg  IF MouseVert > 220 THEN SPRITE 2 50 150 down.jpg  IF MouseVert > 119 THEN   IF MouseVert < 219 THEN SPRITE 2 50 150 forward.jpg  END IF  IF event1 = 2 THEN   event1 = 0   X = X - 15   SPRITE 3 X Y  END IF  EnemyReachWall = SPRITECOLLIDE 1 3  IF EnemyReachWall = 1 THEN   enemys = enemys + 1   X = 630   Y = RANDOM 280 215 160 90   SPRITE 3 X Y  END IFEND TIMER'------------------------------------------------------------------------------------------------ON MOUSEDOWN  IF SpriteClicked = 3 THEN   MOVIE 0 0 "put dying sounds here"   kills = kills + 1   X = 630   Y = RANDOM 280 215 160 90   SPRITE 3 X Y  END IFEND MOUSEDOWN
Y = RANDOM 280 215 160 90 X = 630kills = 0enemys = 0X1 = X + 30Y1 = Y + 75SPRITE 1 169 4 barricade.gifON TIMER 1 event = event + 1 IF MouseVert < 110 THEN SPRITE -2 50 150 up.jpg END IF IF MouseVert > 220 THEN SPRITE -2 50 150 down.jpg END IF IF MouseVert > 119 THEN IF MouseVert < 219 THEN SPRITE -2 50 150 forward.jpg END IF END IF X = X - 15 X1 = X + 50 SPRITE 3 X Y enemy.jpg IF event = 20 THEN enemys = enemys + 1 X = 630 SPRITE 3 X Y enemy.jpg event = 0 Y = RANDOM 280 215 160 90 Y1 = Y + 75 X1 = X + 50 END IF bool = SPRITECOLLIDE 1 3END TIMER ON MOUSEDOWN'if you shoot and miss it plays a gun sound MOVIE "put gun sounds here" ' if you click a sprite then you hit him (don't need click areas) IF spriteClicked = 3 THEN MOVIE "put dying sounds here" Kills = Kills + 1 END IFEND MOUSEDOWN