topheman Posted August 27, 2013 Share Posted August 27, 2013 Try it here : http://topheman-playground.herokuapp.com/ I developped a little experiment that could lead to a game. Basically, it's using :NodeJS with socket.io for the real time (plugged on expressjs for the server part/session management)Ball.js (client side) : a little library I wrote that handles the physics of the balls as well as their rendering on the canvas.Once you're connected to the main page with a desktop or a laptop, snap the QR-Code with a mobile device (phone/tablet), you will be able to control your ball by tilting your phone like on a labyrinth game, using your phone like a Wiimote to your desktop screen. This is more an experiment that could lead to a game than a game itself. All the sources are on github under MIT license, so feel free to fork it, give some feedback/ideas. Tophe PS : The demo is hosted on a heroku instance that doesn't support Websocket (so it fallbacks on xhr-polling), this is why you may have a little latency and the ball may take sometime to disconnect.You can install it on your computer if you have node, it's a simple npm install, everything's explained in the readme. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.