Skip to content

Collaborative multiplayer virtual reality tower defense game built for the Oculus Rift on Windows using modern OpenGL

License

Notifications You must be signed in to change notification settings

peternmai/TowerDefender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower Defender VR - Collaborative Multiplayer Virtual Reality Tower Defense Game

This is a collaborative multiplayer virtual reality tower defense game built for the Oculus Rift on Windows using modern OpenGL. Bring your friends and join the fun-filled adventure of crushing castle crashers and defending your valuable treasure as heroic archers!

Here's a quick video demonstration of the game.

Demonstration on YouTube

Link: https://www.youtube.com/watch?v=0salJ3tKCK0

Library Dependencies

In order to make this game, we used a couple of third party libraries in assisting with audio and networking. You can run the game as is on Visual Studio using the pre-compiled libraries located in shared/ or you can re-compile the libraries yourself following these instructions.

The libraries we used are listed below

Running the Game from Source Code (Windows x64)

  1. Install Visual Studio
    1. Use Desktop development with C++
  2. Install the Oculus Rift Software
  3. Start game server
    1. Open server/TowerDefender_Server.sln on Visual Studio
    2. Change Solution Configurations from Debug to Release
    3. Make sure Solution Platforms is x64
    4. Press F5 to run code
      1. You will be prompted for a port number to use. (Eg. 8080)
  4. Have player 1 join the game session
    1. Open client/TowerDefender_Client.sln on Visual Studio
    2. Change Solution Configurations from Debug to Release
    3. Make sure Solution Platforms is x64
    4. Link Dynamic-Link Libraries (dll)
      1. Press Alt+Enter to go to Project Property Page
      2. Go to Configuration Properties -> Debugging
      3. Set "Environment" to PATH=%PATH%;$(SolutionDir)..\shared\lib
      4. Click Apply and OK
    5. Press F5 to run code
      1. You will be prompted for the IP address of the server
      2. You will be prompted for the port number of the server
  5. Have player 2 join the game session
    1. On a different computer, repeat step 4

Special Thanks

Known Issues

  • Audio - Sound will only play from default speaker
    • Temporary Solution: Change default speaker to the Oculus Rift

About

Collaborative multiplayer virtual reality tower defense game built for the Oculus Rift on Windows using modern OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published