Technology

Turn your phone into a game controller with this new Chrome Experiment in mobile web gaming. Roll It syncs your mobile device with your laptop, so you can roll a ball between the two. This game is built for the web, so no apps or downloads required. And any device running Chrome is fair game. Let’s roll.

Take a peek under the hood to see
the technology we used to make Roll it.

We set out to make an experimental game that links your phone with a computer and gets people out of the chairs swinging. But that’s just us. We can’t wait to see what you do with the technology.

Google Chrome

Chrome for desktop, Android, and iOS.

These days the browser itself is the platform, especially if you’re developing games optimized for big and little screen experiences. Chrome delivers multi-process architecture, GPU-accelerated rendering, and the blazingly fast V8 JavaScript engine to Roll It players on any modern device.

3d

WebGL

WebGL is a JavaScript API for rendering interactive 3D graphics and 2D graphics within any compatible web browser without the use of plug-ins. WebGL is integrated completely into all the web standards of the browser allowing GPU accelerated usage of physics and image processing and effects as part of the web page canvas.

3d

Three.js

This lightweight JavaScript library is the ultimate framework for rendering real-time 3D graphics in the browser.

Device Access

Mobile Accelerometers

This handy hardware allows players to tilt and swing their device to control the ball or menu in a game.

Connectivity

Websockets

This technology enables real-time collaboration so users can have rapid two-way conversation with servers that syncs with their Roll It session.

Performance

Physics

We implemented a physics engine to take care of the math calculations (gravity, velocity, collisions) needed to simulate the ball’s movements in the game—letting go of the ball, rolling it down the lane, and more. Pretty tricky.

Multimedia

HTML5 Audio

This Web Audio API allowed us to give the game rich audio effects and to create precise combinations of sound through the browser.

Compute Engine

Google App Engine

App Engine lets you run web apps on Google’s infrastructure. It makes easy to maintain and easy to scale as your traffic and storage needs grow. With App Engine, there are no servers to maintain. Just upload your application and it’s ready for primetime.

Compute Engine

Google Compute Engine

GCE offers scalable and flexible virtual machine computing capabilities in the cloud. You can solve large scale processing and analytic problems on Google’s computing, storage and networking infrastructure.

Compute Engine

Google Cloud Storage

Google Cloud Storage is a RESTful service for storing and accessing your data on Google's infrastructure. The service combines the performance and scalability of Google’s cloud with advanced security and sharing capabilities.