Jump to content

Topheman Playground - use your phone as a remote !


topheman
 Share

Recommended Posts

topheman-playground-bandeau-min.png


 

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...