项目作者: chizhang529

项目描述 :
First-person Tower Defense Game for Mobile VR on Google Cardboard
高级语言:
项目地址: git://github.com/chizhang529/vr-the-island.git
创建时间: 2017-06-08T20:56:49Z
项目社区:https://github.com/chizhang529/vr-the-island

开源协议:

下载


The Island

The Island is a mobile VR game developed by Qian Yu and Chi Zhang using Unity and Google VR SDK. This game is also a course project for Virtual Reality(EE267) at Stanford University, Spring 2017.



Description

The Island is an interactive, creative and entertaining first-person tower defense game, providing players with an highly immersive VR experience. In this game, players will protect an island with weapons from monster attackers. The various options of weapons on different locations offer players flexibility of their strategic plans. And players can fully enjoy the game with portable and affordable Google Cardboard on mainstream mobile platform, such as iOS and Android).

Note: we provied Xcode project for installing our game app on your iPhone in Download.

Game Settings and Rules

  • Attackers

    There exist three types of monster attackers in the game:

    | Model | Name | HP | Initial Speed(m/s) | Probability |
    |:————————————————————————————-: |:——————-:| :——:| :———————-:| :—————-:|
    | | Goliath | 170 | 0.5 | 0.2 |
    | | Zombie | 80 | 1.0 | 0.3 |
    | | Golem | 60 | 2.0 | 0.5 |

  • Weapons

    Refer to the table below for details of weapons:

    | Model | Name | Ammo | Damage | Shot Interval(s) | Cool Down(s) |
    |:——————————————————————————————-: |:————————:| :———:| :———————-:| :————————:| :——————-: |
    | | 870 Shotgun | 20 | 30 | 1.0 | 10 |
    | | L96 Sniper Rifle | 10 | 50 | 1.0 | 10 |
    | | AK-47 | 60 | 5 | 0.05 | 5 |
    | | M4 Carbine | 50 | 10 | 0.05 | 5 |
    | | Pistol | 30 | 5 | 0.3 | 3 |
    | | M26 Grenade | 5 | 100 | 2.0 | 5 |
    | | Airstrike | 1 | 200 | N/A | 30 |

    Also, all barrels and pressure tanks in the game are shootable explosives with specifications:

    | Name | Radius(m) | Damage |
    | :—————-: | :———-: | :———-: |
    | Barrel | 30 | 150 |
    | Pressure Tank | 50 | 300 |

  • Waypoints

    8 waypoints are provided for players to navigate the map and switch weapons associated with waypoints

  • Rounds

    Protect your waypoints from monsters!

    In each round, a new monster will be generated every t seconds (t: a random number between 1 and 2) and the monster type is determined by probability attribute of monster attackers. The target of monsters is the nearest existent waypoint and the waypoint will be destroyed once one monster arrives at its location. The player will be not able to use weapons associated with lost waypoints any more.

    In the nth round:

    • amount of monsters = 2 x n
    • monster speed = initial speed x n

    If the player eliminates all monsters, then a new round starts and all the weapons lost in the last round will resume with full ammunition. While there is no limit of rounds, players typically are not able to survive more than 10 rounds since there will be a huge number of monsters with really high speed.

Features

  • Switch weapons via waypoints

  • Autofire via colliders

  • Enemy AI: navigation map

  • Gunshot and explosion effect

  • Airstrike and grenade attacks

  • Terrain

  • Audio

The background music is Enemy of My Enemy is My friend from Call of Duty: Modern Warfare 2. And all the other audio sources are collected from Youtube.

Software

:warning: We initially used Unity3D 5.6.1 for development, however, it seemed to have compatibility issues with GVR SDK. To achieve the same functionality, we strongly suggest you use exactly the same versions of software.

Used Assets

All of the assets used in the project were downloaded from Unity Asset Store and DEVAsserts by Brackeys. The copyrights are owned by corresponding developers.

Monster Models

Video Demo

The video demo(HD720p) is here on Youtube.

Download

The link to download:

After you download the zip file, unzip and run it using Xcode on MacOS devices. Xcode will install the app to your iPhone but it may take a while. When it is done, enjoy the game!

Acknowledgement

Thanks should go to Brackeys, Matthew Hallberg for their wonderful Unity tutorials on Youtube. Also, virtual reality courses on Udacity provided us inspirations in building scenes and VR software development.

License

Free for personal and educational use. For commercial purposes, please contact us.

The use of the copyrighted work involved in this project is for educational purposes, and should be considered fair use.