Skip to content

An Android FPS AR game using TensorFlow and Firebase.

Notifications You must be signed in to change notification settings

Tony080/BattleFieldAR

Repository files navigation

Battle Field AR v0.1

This is an Augmented Reality(AR) First Person Shot(FPS) game for Android devices.

Tools used

TensorFlow for Android
Google Firebase

Descriptions:

This game is built on the demo of TensorFlow for Android. It's using YOLO neural network to do the object detection. Then replace the object box with monsters as the same size of the box.
A player can hit on the anywhere of the screen to shoot. If the monster is in the center of the screen, there will be a longer vibration(50ms). If the shot is missed, there will be a shorter vibration(20ms).
The game lasts for 30 seconds for a round. And it will upload your score to Firebase and display the leader board as the result.
Sample 1
Sample 2

Notice that, this game is still under development. For now, it's only a project done within a quarter of my university.
There are still a lots of jobs to do:

  1. Implement object tracking
  2. Assign a health point for each monster
  3. More kinds of monsters
  4. More kinds of firearms
  5. A shop utilities on the Google Cloud Platform
  6. Sounds effects

Build the game

To build the game you need to download bazel.
Then, see README.md for more details.

Releases

No releases published

Packages

No packages published

Languages