lingo-l counting s prites on the stage

2001-01-19 Thread Jonathan
Can somebody help me out... I want to do something like pac man where you have to collect a number of sprite on the stage before advancing on to another level. So, on each frame how can I count how many sprites are whithin channel 100 to 150, then how can I count how many of those sprites loch

Re: lingo-l counting s prites on the stage

2001-01-19 Thread Colin Holgate
So, on each frame how can I count how many sprites are whithin channel 100 to 150, then how can I count how many of those sprites loch is 200 using the loch200 to determine that the sprite have been eaten. You should look at sendallsprites #message. Here's one easy approach: in your exitframe

RE: lingo-l counting s prites on the stage

2001-01-19 Thread Jonathan
end if end Cheers, I am just trying to use the one script for each frame, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Colin Holgate Sent: 19 January 2001 07:49 To: [EMAIL PROTECTED] Subject: Re: lingo-l counting s prites on the stage So, on each

RE: lingo-l counting s prites on the stage

2001-01-19 Thread Colin Holgate
on checkdot global nodots if the loch of sprite the currentspritenum 200 then set nodots = false end It looks from your handlers that you are sending the dots off to -200. If that's the case, change my routine above to say: if the loch of sprite the currentspritenum 0 then set