On Wednesday, Oct 8, 2003, at 05:01 Pacific/Auckland, "Steve Rachels" wrote:


No, the ball shoots... but after it's in the air it will follow the left
and right movement of the mouse.
"What I'm after is I want the ball to come from the paddle, no matter where
the paddle is when I click the left mouse button, but not until."


In the Ball Behavior (page 190) add a new property -- pActive
In the "reset me" handler (page 192) add the line
   pActive = False
In the "ON exitframe me"  handler add an if statement:
     ON exitFrame me
      if pActive = true then
                Rest of existing script
      End if
   END exitframe
Add a new "ON mouseUp me" handler
     ON mouseUp me
      pActive = TRUE
  END mouseUp

Is this what you want?

Regards
Tony Bray

"Next to being shot at and missed, nothing is ever quite as satisfying as getting a tax refund"

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]

Reply via email to