Friends, I've been tackiling with peer-to-peer connections with MUS, and want to ask you a question: what is the optimal rate of sendNetMessage updates? That is, what is the best way of sending updated decriptions of objects to all other user? I've noticed that in peer-to-peer mode it's quite efficient to place the sendNetMessag call in the exitFrame handler, but I'm not sure if this is the best place for it. MUS 3 documentation doesn't say much about these optimizations.
I've included the sample movies so you'll see what I mean. When you download it, first make sure you don't have Shockwave Multiuser Server running, launch Host.dir movie, then launch the other two. After that click "connect" on both and after a successful connection click "ball". You'll see a simple bitmap. Pushing the "L" or "R" buttons would move the ball right or left wards. In the extiFrame handler of "ball" behavior I've got a message to broadcast to the other movie. It's best to view all three movies in projector mode. http://www.peb965.cv.ua/list_questions/simplemus.htm http://www.peb965.cv.ua/list_questions/zip/simplemus.zip Merry Christmas Petro [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!]
