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
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:
Visit the Photon engine website:
And click Sign In
on the top right corner:
Now either Sign in to your Photon account if you have one or you can just create an account and login:
Once Logged in to your account, click Dashboard
:
In the dashboard, create a new app as shown:
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:
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:
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!
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.