RolePlayingDesign: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>StephenIerodiaconou
No edit summary
Line 198: Line 198:
As you should know, an MPEG video adds a full frame each X number of frames, so it can be used as synchronization in case the file gets corrupted. The idea is that if you fail to continue decompressing data, you can always omit things until the next full frame and then you get synced. The idea here is similar, if we fail to synchronize with server we send it an Out of Sync Message so that server will send a sync perception so that the clients can synchronize. Remember, UDP is not a secure transport.
As you should know, an MPEG video adds a full frame each X number of frames, so it can be used as synchronization in case the file gets corrupted. The idea is that if you fail to continue decompressing data, you can always omit things until the next full frame and then you get synced. The idea here is similar, if we fail to synchronize with server we send it an Out of Sync Message so that server will send a sync perception so that the clients can synchronize. Remember, UDP is not a secure transport.


To make perceptions works it is important to call the modify method in RPZone so this way objects modified are stored in the modified list.
To make perceptions work, it is important to call the modify method in RPZone, so this way objects modified are stored in the modified list.



=Zones and Worlds=
=Zones and Worlds=