Coder Social home page Coder Social logo

rehoprince / unity-ultimategloveball Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oculus-samples/unity-ultimategloveball

0.0 0.0 0.0 59.85 MB

Meta Quest ESport Showcase demonstrating multiplayer functionalities in Unity. Including Oculus Social APIs, Avatars, Oculus Platform authentication, Oculus Multiplayer APIs, Photon Realtime, Photon Voice with Oculus Spatializer, and In-app purchases. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.

License: Other

JavaScript 0.07% C 0.01% Objective-C 0.02% C# 80.38% Objective-C++ 0.51% HTML 1.72% GLSL 0.83% Batchfile 0.01% HLSL 12.98% ShaderLab 3.46% Starlark 0.01%

unity-ultimategloveball's Introduction

Ultimate Glove Ball Banner

Ultimate Glove Ball

Ultimate Glove Ball was built by the VR Developer Tools team to demonstrate how you can quickly build an ESport game that gets people together in VR using the Oculus Social Platform API. Based off our SharedSpaces project we expand functionalities in an ESport game context. We also demonstrate how VR games can have asymmetric experiences. In this project we have players and spectators.

This codebase is available both as a reference and as a template for multiplayer VR games. The Oculus License applies to the SDK and supporting material. The MIT License applies to only certain, clearly marked documents. If an individual file does not indicate which license it is subject to, then the Oculus License applies.

See the CONTRIBUTING file for how to help out.

This project was built using the Unity engine with Photon Realtime as the transport layer and Unity Netcode for GameObjects.

You can test the game out on AppLab - Ultimate Glove Ball.

Project Description

This project is an application for the Meta Quest devices that demonstrate a fast pace sport game that can be played with friends or strangers. It shows how to integrate connection between users joining random games or specific rooms, invite friends and group launch a party in the same arena, or join as a spectator to a game already in progress. We also integrated Meta Avatars for players to represent their VR persona and voice chat for easy communication.

The project also includes the Meta Utilities and Meta Input Utilities packages, which contain many useful tools and methods.

How to run the project in Unity

  1. Configure the project with Meta Quest and Photon

  2. Make sure you're using Unity 2021.3.26f1 or newer.

  3. Load the Assets/UltimateGloveBall/Scenes/Startup scene.

  4. There are two ways of testing in the editor:

    Quest Link
    • Enable Quest Link:
      • Put on your headset and navigate to "Quick Settings"; select "Quest Link" (or "Quest Air Link" if using Air Link).
      • Select your desktop from the list and then select, "Launch". This will launch the Quest Link app, allowing you to control your desktop from your headset.
    • With the headset on, select "Desktop" from the control panel in front of you. You should be able to see your desktop in VR!
    • Navigate to Unity and press "Play" - the application should launch on your headset automatically.
    XR FPS Simulator
    • In Unity, press "Play" and enjoy the simulated XR controls!
    • Review the XR FPS Simulator documentation for more information.
      • Note: The mouse is captured by the simulator when in play mode. In order to otherwise use the mouse in-game (such as to interact with menus), hold Left Alt.

Dependencies

This project makes use of the following plugins and software:

The following is required to test this project within Unity:

Getting the code

First, ensure you have Git LFS installed by running this command:

git lfs install

Then, clone this repo using the "Code" button above, or this command:

git clone https://github.com/oculus-samples/Unity-UltimateGloveBall.git

Documentation

More information can be found in the Documentation section of this project.

Custom Packages:

Where are the Meta Avatar SDK and Photon packages?

In order to keep the project organized, the Meta Avatars SDK and Photon Voice 2 packages are stored in the Packages folder. To update them, import their updated Asset Store packages, then copy them into their respective Packages folders.

The Photon Voice 2 package is released under the License Agreement for Exit Games Photon.

Also, the Photon Realtime for Netcode package is copied in the Packages folder as com.community.netcode.transport.photon-realtime@b28923aa5d since we modified it to fit our needs.

unity-ultimategloveball's People

Contributors

alexthiv avatar jasonmeisel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.