-
Notifications
You must be signed in to change notification settings - Fork 1
Communication Protocols
alexcraig edited this page Jan 3, 2011
·
5 revisions
The server currently receives gameplay commands in the following form:
All gameplay commands must be preceded by "c:"
If a tilt vector is supplied it must appear immediately after the "c:" prefix, and must be of the form:
<tiltX,tiltY,tiltZ> - Where tiltX, tiltY, and tiltZ are string representations of the floating point values.
Following the tilt (or immediately after the prefix if no tilt is provided), a string of all pressed buttons may be supplied. At this point, only w a s d (lowercase) are supported.
Examples of valid forms:
c:<1,2,3>s
c:<1.344,5.64,3.76>
c:wa