Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
groworld_multiplayer_prototype [2009-03-16 16:18] – 81.188.78.24 | groworld_multiplayer_prototype [2009-03-16 16:21] – 81.188.78.24 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Groworld multiplayer prototype==== | + | =====Groworld multiplayer prototype===== |
{{: | {{: | ||
Line 17: | Line 17: | ||
Pollen is passed from the red player/ | Pollen is passed from the red player/ | ||
- | ====Network protocol==== | + | =====Network protocol===== |
- | ===generic version=== | + | ====generic version==== |
an initial sketch of required messages & responses | an initial sketch of required messages & responses | ||
- | | *player* | *persistence* | *comments*| | + | ^ player |
- | | connection / session init. ||| | + | | **connection / session init.** ||| |
| connect -> | | could connect with, or without a user id | | | connect -> | | could connect with, or without a user id | | ||
- | | registration / new user ||| | + | | **registration / new user** ||| |
| register -> | | assumes some type of persistent store of players & plants | | | register -> | | assumes some type of persistent store of players & plants | | ||
| | <- user id | | | | | <- user id | | | ||
| | <- plant description | | | | | <- plant description | | | ||
- | | exisiting | + | | **existing |
| user id -> | | | | | user id -> | | | | ||
| | <- plant description | " | | | <- plant description | " | ||
| | <- other plants & their locations | | | | | <- other plants & their locations | | | ||
- | | pollen (fr ' | + | | **pollen (fr ' |
| pollen -> | <- pollen (plant identifier / user id) | a player can send and/or receive ' | | pollen -> | <- pollen (plant identifier / user id) | a player can send and/or receive ' | ||
- | ===OSC version=== | + | ====OSC version==== |
The osc version works in a peer to peer manner in that there is no central server, and clients need to pass information around to each other. This has only been tested with 2 clients... Each client has a notion of the plant it ' | The osc version works in a peer to peer manner in that there is no central server, and clients need to pass information around to each other. This has only been tested with 2 clients... Each client has a notion of the plant it ' |