Re: lingo-l cursor trails
Some icetroll-Lingo... Well, 'trails' in the score buttoned or by Lingo is useful sometime. Particulary in Lingo coding way, in fadings off and so on. If you're using the actual 'delay' command, you will have problem. It's like a bit of the 'repeat...'-syntax. Locks everything up ! For animations in multiple stuff, I have abandoned reapeters and gone for using the time set in a variable or if wanted to be seen in checking ups, put into a field... depending on the processors capabilities you at least run 2-3 animations at same time. An animation could be stearing with the digits in seconds or minutes or decided in a specific number coming up (use the long time hh:mm:ss). The benfit is that the timer is the same even if you change to another faster or slower CPU mounted machine. The animation code just give a shit in what you are using in hardware, it follows the time synch strictly like a slave...! Don't know if I got close...eyh ? Quoting mike m [EMAIL PROTECTED]: hi, sorry if this is a bit basic, but i am new to lingo, and i am trying to create a mouse trail using a series of cast members. i tried placing them on the score and making each one Loch and Locv values follow each other and then use a delay commmand but this didnt seem to work. if anyone can help i would be really greatful. thanks in advance. mike ___ Mike Malinowski http://www.raynak.com/~mikesnail/test/index.htm [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail [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!] - FREE E-MAIL IN 1 MINUTE! - [EMAIL PROTECTED] - http://www.pc.nu [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!]
lingo-l cursor trails
hi, sorry if this is a bit basic, but i am new to lingo, and i am trying to create a mouse trail using a series of cast members. i tried placing them on the score and making each one Loch and Locv values follow each other and then use a delay commmand but this didnt seem to work. if anyone can help i would be really greatful. thanks in advance. mike ___ Mike Malinowski http://www.raynak.com/~mikesnail/test/index.htm [EMAIL PROTECTED] _ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail [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!]
Re: lingo-l cursor trails
hi, sorry if this is a bit basic, but i am new to lingo, and i am trying to create a mouse trail using a series of cast members. i tried placing them on the score and making each one Loch and Locv values follow each other and then use a delay commmand but this didnt seem to work. if anyone can help i would be really greatful. thanks in advance. mike Not so basic at all. You need to do something like: 1) create a number of subsequent sprites in the score 2) create a behavior script that that knows how hamy frames has passed since the movie started. 3) It's also important that the script can differentiate between the different sprites, and that it knows the numbers of the first and the last sprites. 4) compare the number of frames passed with the sprite number. If they are the same, then set the sprite's loc to the mouseLoc. Otherwise leave it on its old loc. Try to drop this on your sprites. Don't forget to set the pFirstSprite and pLastSprite to the right values. It's not optimized, but it works. The effect depends on your frame rate and your number of sprites. 50 fps and 12 sprites looked real nice... =) -A. - -- Creating trails from the cursor -- -- A. Gaunitz 2002-11-17 - property pFrameCounter property pFirstSprite property pLastSprite on beginSprite me pFirstSprite = 1 pLastSprite = 12 pFrameCounter = pFirstSprite end on exitFrame me if pFrameCounter = me.spriteNum then sprite(me.spriteNum).loc = the mouseLoc end if if pFrameCounter = pLastSprite then pFrameCounter = pFirstSprite else pFrameCounter = pFrameCounter + 1 end if end - [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!]
Re: lingo-l cursor trails
cheers for that Andreas , it is a great help. thanks. ___ Mike Malinowski http://www.raynak.com/~mikesnail/test/index.htm [EMAIL PROTECTED] From: Andreas Gaunitz P11 [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: lingo-l cursor trails Date: Sun, 17 Nov 2002 17:27:16 +0100 hi, sorry if this is a bit basic, but i am new to lingo, and i am trying to create a mouse trail using a series of cast members. i tried placing them on the score and making each one Loch and Locv values follow each other and then use a delay commmand but this didnt seem to work. if anyone can help i would be really greatful. thanks in advance. mike Not so basic at all. You need to do something like: 1) create a number of subsequent sprites in the score 2) create a behavior script that that knows how hamy frames has passed since the movie started. 3) It's also important that the script can differentiate between the different sprites, and that it knows the numbers of the first and the last sprites. 4) compare the number of frames passed with the sprite number. If they are the same, then set the sprite's loc to the mouseLoc. Otherwise leave it on its old loc. Try to drop this on your sprites. Don't forget to set the pFirstSprite and pLastSprite to the right values. It's not optimized, but it works. The effect depends on your frame rate and your number of sprites. 50 fps and 12 sprites looked real nice... =) -A. - -- Creating trails from the cursor -- -- A. Gaunitz 2002-11-17 - property pFrameCounter property pFirstSprite property pLastSprite on beginSprite me pFirstSprite = 1 pLastSprite = 12 pFrameCounter = pFirstSprite end on exitFrame me if pFrameCounter = me.spriteNum then sprite(me.spriteNum).loc = the mouseLoc end if if pFrameCounter = pLastSprite then pFrameCounter = pFirstSprite else pFrameCounter = pFrameCounter + 1 end if end - [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!] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus [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!]