why not check for an intersection, or if its within the rect of the other
sprite.. That will make it simple



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
mike massey
Sent: 15 March 2001 06:07
To: [EMAIL PROTECTED]
Subject:




i am trying to write a script that checks if a moveable sprite is within a
fixed sprite if it is you continue if it is'nt you just "go to the frame" i
wrote this but it does'nt work can anyone tell me why?
on exitFrame me
if sprite 2 within 1 boundary then
go to frame+1

else

go to the frame

end if
end
mike



Get your FREE download of MSN Explorer at http://explorer.msn.com

[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!]


[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!]

Reply via email to