What's New in Director 8.5 > Using the Shockwave Multiuser Server and Xtra > Optimizing multiuser movies > Minimizing message frequency |
![]() ![]() ![]() |
Minimizing message frequency
Design your movies to send only information that is absolutely necessary. For example, if you are tracking the position of a player's sprite, design your movie to send position information only when the sprite's position changes, rather than sending it at some regular interval regardless of whether the sprite has moved or not.
For some applications, it will make sense to collect a set of very small messages and send them together as one larger message. For example, you might collect several points of a whiteboard brush stroke and send them together in a list. For chat movies, send the entire chat message after the user presses Return or Enter instead of sending every character individually.
![]() ![]() ![]() |