This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| groworld_multiplayer_prototype [2009-03-13 17:28] – davegriffiths | groworld_multiplayer_prototype [2009-05-12 13:20] (current) – 81.188.78.24 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====Groworld multiplayer prototype==== | + | =====Groworld multiplayer prototype===== |
| + | |||
| + | Part of the [[groworld game]] project | ||
| {{: | {{: | ||
| Line 17: | Line 19: | ||
| Pollen is passed from the red player/ | Pollen is passed from the red player/ | ||
| - | ====Network protocol==== | + | =====Network protocol===== |
| + | |||
| + | ====generic version==== | ||
| + | an initial sketch of required messages & responses | ||
| + | |||
| + | ^ player ^ persistence ^ comments ^ | ||
| + | | **connection / session init.** ||| | ||
| + | | connect -> | | possible to connect with, or without a user id | | ||
| + | | **registration / new user** ||| | ||
| + | | register -> | | assumes some type of persistent store of players & plants | | ||
| + | | | <- user id | | | ||
| + | | | <- plant description | | | ||
| + | | **existing user** ||| | ||
| + | | user id -> | | | | ||
| + | | | <- plant description | " | ||
| + | | | <- other plants & their locations | | | ||
| + | | **pollen (fr ' | ||
| + | | pollen -> | <- pollen (plant identifier / user id) | a player can send and/or receive ' | ||
| + | |||
| + | seed/soil demo | ||
| + | * nutrients - nutrient type, centrepoint and radius. updated on arrival, change or depletion (leaving) | ||
| + | * other roots - a line segment to render | ||
| + | * level of detail | ||
| + | * own roots - send a new shoot, startpoint | ||
| - | ===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 ' | ||