Hi Luke,
I understand your point. But how about using 'actorList' and 'on
stepFrame' handler. It doesn't need 'if test' either. Are there any
reason you prefer 'ancestor' approach?
_____
Luke Wigley wrote:
> PS - This approach might appear a little more complicated than necessary
> since it uses two scripts - ie. you could make a single behaviour that did
> "if IamBeingDragged then doDrag" test every exitframe. However, I think the
> approach I've used is a lot more neater (and the project I am working on has
> a lot of sprites, and with all of them doing 'if tests' on exit frame,
> performance slows down noticeably)
Regards,
Fumio Nonaka
Attain Corporation
[EMAIL PROTECTED]
[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!]
- <lingo-l> Sprite not staying with mouseLoc Azinger, Richard
- Re: <lingo-l> Sprite not staying with mouseLoc Carl West
- Re: <lingo-l> Sprite not staying with mouseLoc Luke Wigley
- Re: <lingo-l> Sprite not staying with mous... Fumio Nonaka
- Re: <lingo-l> Sprite not staying with ... Luke Wigley
- <lingo-l> Who's me? (was: Sprite n... James Newton
- Re: <lingo-l> Who's me? (was:... Luke Wigley
- Re: <lingo-l> Who's me? (was:... Fumio Nonaka
- Re: <lingo-l> Who's me? (was:... Fumio Nonaka
- RE: <lingo-l> Sprite not staying with mouseLoc Azinger, Richard