GithubHelp home page GithubHelp logo

photonlobby's Introduction

PhotonLobby

This project is being created to help me learn how to make a multiplayer game. I have a dream of making a game where vr-players and non-vr-players alike can join each other in PVP and PVE experiences.

To install:

Install Unity 2019.4 LTS. Create a Photon account and get an app id for PUN2 and Voice2. Enter them into the Photon Server Settings. I have the minimum required code for Photon and Oculus already in this repo.

For a non-vr build you will want the following scenes in your build index:

  • Index 0: MainMenu.scene
  • Index 1: Lobby.scene
  • Index 2: Game.scene

For a vr build you want the same, but with the VR versions of the scenes.

The project settings included use legacy vr, if you want to use the newer XR you will need to update the settings and packages.

I am using a free skybox from the asset store, but it was large and I didn't want to include it in the repo, so you'll probably want to get one to replace the default Unity skybox.

To Play:

There isn't actually much you can do now. You join the main menu scene, where you can join a random room. Once inside a room you can chat with others in the room. From the room lobby you can load a game scene, which serves as an example showing how you would have all the players in your room play various games together. Load game scene, play game, load room lobby, repeat...

photonlobby's People

Contributors

toddkc avatar gill-line avatar

Stargazers

Sky Rolnick avatar  avatar James Roman avatar

Watchers

James Cloos avatar  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.