Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onedayitwillmake/NoBarrierOSC
`NoBarrierOSC` is a Node.js server (using a a set of projects mangled together) that allows all users on pageto send OSC messages to any listening application, and each other via any webkit basedbrowser via a `Node.js` webserver.
https://github.com/onedayitwillmake/NoBarrierOSC
Last synced: about 2 months ago
JSON representation
`NoBarrierOSC` is a Node.js server (using a a set of projects mangled together) that allows all users on pageto send OSC messages to any listening application, and each other via any webkit basedbrowser via a `Node.js` webserver.
- Host: GitHub
- URL: https://github.com/onedayitwillmake/NoBarrierOSC
- Owner: onedayitwillmake
- Created: 2010-11-13T10:40:53.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-09-06T17:56:50.000Z (about 12 years ago)
- Last Synced: 2024-07-11T02:49:29.806Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 6.5 MB
- Stars: 41
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
NoBarrierOSC
============
#### Everyone interact!`NoBarrierOSC` is a Node.js / Websocket server (using a a set of projects mangled together) that allows all users on arbitrary webpage send OSC messages to any listening application, and each other via any modern browser including iOS/iPhone.
## Demo
[http://vimeo.com/17356351](http://vimeo.com/17356351)
##Usage
### Starting the server
`node js/demo/server.js`### Communication via browser
##### Although the current system seems convoluted and overly complex - it's designed so that users also stay in sync between one another:///// Implement these functions in your delegate, or look at the demo and steal from those
netChannelDidConnect: function() {},
netChannelDidReceiveMessage: function( aMessage ) {},
netChannelDidDisconnect: function() {},
parseEntityDescriptionArray: function(){},
log: function() {},
getGameClock: function() {}///// Initialize the ClientNetChannel which will communicate with the Node.js server on your behalf
this.netChannel = new RealtimeMultiplayerGame.ClientNetChannel( this );///// Send it messages whenever you want
this.netChannel.addMessageToQueue( false, RealtimeMultiplayerGame.Constants.CMDS.PLAYER_UPDATE, {
x: Math.round(this._mousePosition.x*100), y: Math.round(this._mousePositionNormalized.y*100) } );
### CreditsMario Gonzalez <[email protected]>
### License
Whatever license any of the technologies used is carried over.
This project itself is released under Creative Commons Attribution 2.0 license