chromecow
Visitor
|
Re:Modules - 2008/05/01 21:27
Ignore the previous answer...};^)
You can make up your own Custom Nodes. So you could send this:
| Code: | <position toroom="Room"><x>12</x><y>15</y></position>
|
Everyone in the room will receive:
| Code: | <position r="Room" f="Nickname"><x>12</x><y>15</y></position>
|
There is no special code for custom nodes, they are just like messages, the can be sent to the room (toroom="roomName") or to a specific client (toclient="aClientName").
Then you just have to write your client to look for them when they come in.
The easiest way to start playing with this is to start up two copies of PalabreFlash7.exe (part of PalabreFlashClient-0.2.zip).
Then you can connect, make a room, join from the other copy, and use the Send XML widget to send these things back and forth, and see what gets sent and received.
Hope this helps!
|