/Modular-FPS-Mulltiplayer

Multiplayer version of the Modular FPS Project!

Primary LanguageC#MIT LicenseMIT

Modular-FPS-Mulltiplayer

Multiplayer version of the Modular FPS Project!

Made by Saharsh1223. All i need is a bit of credit :)

Credits to the free assets i've used! Low Poly Weapons VOL.1, Fantasy Skybox FREE, Crosshair Pack, Unity Particle Pack 5.x, Free 2D Mega Pack, PUN 2 - FREE

Setup

In order to set up the code and get it running, you will have to provide your own Photon AppID in the PhotonServerSettings file by the following steps:

And of course this is what i am talking about if this popped up for you when you opened your project, don't close it:

Screenshot 2022-05-22 at 10 47 42 PM

Visit the Photon engine website:

Screenshot 2022-05-22 at 10 25 03 PM

And click Sign In on the top right corner:

Screenshot 2022-05-22 at 10 27 23 PM

Now either Sign in to your Photon account if you have one or you can just create an account and login:

Screenshot 2022-05-22 at 10 28 48 PM

Once Logged in to your account, click Dashboard:

Screenshot 2022-05-22 at 10 30 06 PM

In the dashboard, create a new app as shown:

Screenshot 2022-05-22 at 10 31 31 PM

In the Create new App section, Make sure the Photon Type is PUN and add any name to that app and add a description which is optional, so after you're ready, click the CREATE button:

Screenshot 2022-05-22 at 10 32 34 PM

Once you have been redirected to the Dashboard, find your App and copy the App ID shown. Make sure you don't leak the App ID to anyone, it is like a password to your application:

Screenshot 2022-05-22 at 10 36 57 PM

And finally, paste in the App ID you've just copied into the PUN Wizard setup screen and click Setup Project button to finally setup your project!

Screenshot 2022-05-22 at 10 42 13 PM

Lisence (do whatever you want, please don't sue me)

MIT License

Copyright (c) 2023 Saharsh1223

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.