RolePlayingDesign: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Kymara →Objects and Actions: typo |
imported>Kymara →Perceptions: We don't use UDP, delivery is guaranteed, we don't get out of sync. |
||
| Line 142: | Line 142: | ||
* Sync perceptions: these are used to synchronize clients with the server world representation. This is the only valid way of knowing world's status. |
* Sync perceptions: these are used to synchronize clients with the server world representation. This is the only valid way of knowing world's status. |
||
* Delta perception: this is used to send only the changes to the world since the last perception. |
* Delta perception: this is used to send only the changes to the world since the last perception. |
||
As we are using UDP transport protocol, which is not a delivery guaranteed protocol, it is possible that from time to time we loose a package related to perceptions. Thus won't be able to recover the world status, because each delta perception requires the previous one to work correctly. If this happens we send an Out of Sync Message to Server which causes it to send us a new Sync perception. |
|||
Our actual Perception system is called Delta<sup>2</sup>. It is heavily attached to the Marauroa core, so I recommend you to use it :) |
Our actual Perception system is called Delta<sup>2</sup>. It is heavily attached to the Marauroa core, so I recommend you to use it :) |
||