1 Reply Latest reply on Apr 15, 2014 4:20 AM by pletkip

    Lingo shooting game

    AGirl Level 1

      Hello

       

      I'm creating a shooting game in Director. I want to have an object drop from top to bottom of the screen in a straight vertical line.  The object will need to keep repeating this before it's shot.

       

      Does anyone know how to do that in Lingo?

       

      Many thanks

        • 1. Re: Lingo shooting game
          pletkip

          if the locv of (yoursprite) < (bottom of your stage) then

           

          set the locv of sprite (yoursprite) to (the locv of sprit (yoursprite)) + 1

           

          else

           

          set the locv of sprite (yoursprite) to (the top of your stage)

           

          end if