Photon Pun - Unity Example Project
Hello,
Im currently working on a Photon Example Project.
It should be a small collection with usefull Example on How to do things.
https://github.com/SradnickDev/Photon-Example
Im currently working on a Photon Example Project.
It should be a small collection with usefull Example on How to do things.
- Photon Player Properties Extension
- Custom Room Properties Extension
- Login Menu
- Lobby Menu
- Room overview
- Creating Room
- Map Selectiom
- Gamemode Selection
https://github.com/SradnickDev/Photon-Example
2
Comments
-
@JohnTube
I thought of better talking here instead of in an random Thread.
1. Oh I thought it would bebe ok but np, next Update I gonna delete pun from the repo
2.
https://github.com/SradnickDev/Photon-Example/tree/master/Assets/Menu-Network/Extensions
Just small example gonna extend this later2 -
I Updated my Project.
https://youtu.be/5-GrtIWJ9Bo
I added NamePlates, HealthBars ,Health System and simple RaycastShooting.
1 -
In Unity 2018.2.2f1 error CS0101:The namespace `global::' already contain a definition for `XXX'0
-
Show me Errors please0
-
Assets/Scripts/Extensions/PlayerExtension.cs(11,21): error CS0101: The namespace `global::' already contains a definition for `PlayerExtension'
Assets/Menu-Network/RoomOverview/Scripts/CreateRoom.cs(7,14): error CS0101: The namespace `global::' already contains a definition for `CreateRoom'
Assets/Menu-Network/RoomOverview/Scripts/Lobby.cs(7,14): error CS0101: The namespace `global::' already contains a definition for `Lobby'
Assets/Menu-Network/RoomOverview/Scripts/MapButton.cs(4,14): error CS0101: The namespace `global::' already contains a definition for `MapButton'
Assets/Menu-Network/RoomOverview/Scripts/RoomPanel.cs(4,14): error CS0101: The namespace `global::' already contains a definition for `RoomPanel'
Assets/Scripts/Extensions/PlayerExtension.cs(6,14): error CS0101: The namespace `global::' already contains a definition for `PlayerProperties'
Assets/Scripts/Extensions/PlayerExtension.cs(11,21): error CS0101: The namespace `global::' already contains a definition for `PlayerExtension'
Assets/Scripts/Extensions/RoomExtension.cs(7,14): error CS0101: The namespace `global::' already contains a definition for `RoomProperties'
Assets/Scripts/Extensions/RoomExtension.cs(15,21): error CS0101: The namespace `global::' already contains a definition for `RoomExtension'
Assets/Scripts/Gamemode/Gamemode.cs(9,13): error CS0101: The namespace `global::' already contains a definition for `Mode'
Assets/Scripts/Gamemode/Gamemode.cs(11,14): error CS0101: The namespace `global::' already contains a definition for `Gamemode'
0 -
I think you have the Project two times in your Folder.
Just download it fresh from GitHub and open a Project Scene directly.
0 -
Update
Check out the Readme
https://github.com/SradnickDev/Photon-Example/blob/master/README.md
Cleaned up the Project abit more.
- Added a new Map
- Added a simple RPC based Chat
https://www.youtube.com/watch?v=dIsFA-h3I8I
1 -
new Update on my Project
https://youtu.be/8Lrb6-SHiv8
Added :
- Scoreboard
https://github.com/SradnickDev/Photon-Example/blob/master/Assets/Prototype/Scoreboard.cs
- RespawnSystem
https://github.com/SradnickDev/Photon-Example/blob/master/Assets/Prototype/RespawnHandler.cs
also cleand the Project Folder
2 -
I started to port this Project to Pun2.
Also I plan to refactor most of the code and Structure. Posting Updates here as soon as I achieve some2 -
Since the old Project doesn't exit anymore but i still need from time to time a way to create a quick Prototype, i started again.
(only Pun 2) https://github.com/SradnickDev/Photon-Template
It is a bit cleaner and hopefully simple enough to use it.
Im going to add some new stuff from time to time.
0