Chrome developer reveals the tech behind mobile-controlled browser game Lightsaber Escape

How Google transforms smartphones into lightsabers

Google has teamed up with the special effects whizzes behind Star Wars: The Force Awakens to create a promotional browser game with some interesting new features.

Lightsaber Escape is short game in which players fight their way out of a Star Destroyer using nothing more than the fabled weapon of the Jedi – but the difference is you control it with your mobile.

Logging into Chrome through your smartphone connects the mobile app with the browser game and taps into the phone’s accelerometer to direct the in-game lightsaber.

Google has a full write-up on how it created this title on its developers site, including samples of the project code and details on the tools it used, including Polymer, WebComponents, THREE.js and more.

The combination of these tools enabled Google to create a high-performance experience across multiple types of smartphone. Check out the full case study here.

About MCV Staff

Check Also

The shortlist for the 2024 MCV/DEVELOP Awards!

After carefully considering the many hundreds of nominations, we have a shortlist! Voting on the winners will begin soon, ahead of the awards ceremony on June 20th