Endless Runner for Google Cardboard (iOS)

Christiane Snyder
9/2/2016


Endless runners are ideal for Cardboard because their gameplay and user input systems can easily be adapted to work harmoniously with the Cardboard viewer’s limitations. This tutorial will walk you through the steps of creating a space-themed endless runner (similar to Temple Run and many others) that can be built for use with a Google Cardboard viewer.

Along with basic mechanics and some handy tricks for creating this type of game, we’ll cover restarting the experience without removing your mobile device from the viewer and giving visual feedback to the player if they aren’t facing the right direction. At the end of this series, expect to have a fully functioning mobile app that is more polished than a test/debug build and to have learned a collection of skills that can be used to create other VR projects.


NOTE: Even though all gameplay code can be easily ported to Android, there are steps in “Part 2: Setting Up” that are unique to building for iOS, as well as all of "Part 9: Building & Running for iOS".

Unity's official website has a lot of documentation for building for Android devices that are very helpful.