Hi Samu, One approach is tu use the timeOut toolkit and a vector shape to have a continuous life bar: Set your timeOutScript to reduce the rect of sprite myEBSprite, reducing the width of the bar by a hosen step, and doing a test for the gameOver myEBSprite.rect.width<1). This timeOutScript will be executed every timeOutLenght, the default is 3 minutes... quite a lot for a smooty animation. Use something like set the TimeOutLenght to 2*60 in your startMovieHandler for setting the 'step' to 2 seconds, and then your timeOut Script does a width reuction of a bar of something like 1 or 2 pixels every step (I don't know the width of your bor, nor the game you're coding, so let's adjust it to feet your needs) And for regaining life? Don't know how you're game works. If you're using life bonuses, then you should call a movie script increasing the width of your EBSprite, preventing it to be larger than the max width! If you want the life to grow slowly by itself, and the 'damages' to be a short break in the bar, then switch what I've wrote ;�) If you want to manage two timeOutScript in the same movie, you should consider the timeOutList in the Lingo dictionnary, enabling you to work with a list of script executed � timeOut. There's my appoach, hope this helps. S�bastien [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
