Skip to content

MrPatrek/unity-snake-ar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake AR Game in Unity

A port of the existing "Snake 2D" game to the "Snake AR" game. The base code was taken from here, which was then used to actually port it to an AR application.

You can watch the demo of the project HERE.

How to test it

If you want to test it in Unity Editor:

  • import the project and open it via Unity 2019.4.20f1
  • in the Project window, go to Assets -> Scenes and drag SnakeGameScene file to the Hierarchy window
  • in the Hierarchy window, remove Untitled scene
  • click Play button (make sure you have camera connected) and make sure this picture is visible in your camera
  • game field should appear and you may start playing

If you want to test it from e.g. Android (like in the demo):

  • import the project and open it via Unity 2019.4.20f1 with having Andorid Build Support installed (including OpenJDK as well as Android SDK & NDK tools)
  • go to File -> Build Settings
  • choose Android and click Switch Platform
  • click Build and save the corresponding APK file, which you should then open on your Andorid device and install the app
  • open the app on your Android device and make sure this picture is visible in your camera
  • game field should appear and you may start playing

About

A port of the existing "Snake 2D" game to the "Snake AR" game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages