# Help with Creating a Vertical Shooter Tutorial

**URL:** <https://forum.kirupa.com/t/help-with-creating-a-vertical-shooter-tutorial/318581>\
**Category:** flash\
**Created:** [January 24, 2011, 4:50pm UTC](https://forum.kirupa.com/t/help-with-creating-a-vertical-shooter-tutorial/318581 "2011-01-24T16:50:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![djfw](https://avatars.discourse-cdn.com/v4/letter/d/ac8455/32.png) [@djfw](https://forum.kirupa.com/u/djfw)\
**Post date:** [January 24, 2011, 4:50pm UTC](https://forum.kirupa.com/t/help-with-creating-a-vertical-shooter-tutorial/318581/1 "2011-01-24T16:50:36Z")

</div>

Hi there, I’m a bit of a newbie to this so I decided to follow this [http://www.kirupa.com/developer/actionscript/vertical\_shooter.htm](http://www.kirupa.com/developer/actionscript/vertical_shooter.htm) tutorial which really is great.

The problem is that the dragons don’t stop so I tried adding a time limit like this:

```auto
timer = 5;
countdown = function(){
timer--;
if(timer==0){
clearInterval(countdownInterval);
}
}
countdownInterval = setInterval(countdown,1000);
function goOn():Void{
  
 removeMovieClip(arrows);
 removeMovieClip(knight);
  gotoAndPlay(6);
 clearInterval(myDelay);
}
var myDelay:Number = setInterval(goOn, 5000);

```

Frame 6 is my game over screen and the removeMovieClip works for the knight and the arrows but not for the dragons. They still carry on.

If anyone has any ideas how to stop the dragons then I would really appreciate it

DJFW
