Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiplayer fixes and Improvments #809

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Multiplayer fixes and Improvments #809

wants to merge 28 commits into from

Conversation

sbanca
Copy link
Contributor

@sbanca sbanca commented Jan 5, 2025

Fixes

Improvements

Ensure that the room name the user chooses persists across sessions in multiplayer mode
@mikeage
Copy link
Member

mikeage commented Jan 5, 2025

The body of the PR lists three things, but there's only one commit here...

sbanca added 6 commits January 6, 2025 21:31
Revised percentage tracking to embed the progress directly into the ReliableKey, streamlining the process and simplifying debugging.
Multiplayer Manager to set the voice prefab as a child of  the player prefab so that
Speaker prefab is now child of the head transform
@sbanca sbanca changed the title Multiplayer fixes Multiplayer fixes and Improvments Jan 12, 2025
@sbanca sbanca force-pushed the multiplayer-fixes branch from 18d7d17 to 83e8822 Compare January 14, 2025 17:50
Spatialized max distance needs to be adjusted based on the `App.Scene.Pose.scale` to do so we introduce a new script `MultiplayerAudioSourcesManager` which set all of the remote users audioSources max distance whenever the scene scales up or down
@sbanca sbanca marked this pull request as draft January 17, 2025 22:49
sbanca and others added 3 commits January 17, 2025 22:50
Introduce a `RemotePlayer` class with `PlayerId`,  `Nickname` and `ItransientData`, extendable with Role (e.g., observer/editor/owner) and VoiceStatus (e.g., muted/active speaker). Abstracts player details from the Photon SDK for better flexibility and clarity.
Includes a list of `RemotePlayer` ready to be displayed and interacted with on a panel.
This Pop Up Window will enable the user to list the users,  pass ownership, turn on and off users voice and edit user role
@sbanca sbanca force-pushed the multiplayer-fixes branch from 4c8b526 to cd49bb8 Compare January 18, 2025 17:41
Nickname is empty by default in editor mode  hence for testing purposes  this changeset enable the nickname to be set from editor.
fix missing collider
@sbanca sbanca self-assigned this Jan 20, 2025
This shout the local audio source of the corresponding remote player
@sbanca sbanca force-pushed the multiplayer-fixes branch from 13020da to 61e17b4 Compare January 25, 2025 19:52
@sbanca sbanca force-pushed the multiplayer-fixes branch from 61e17b4 to e8547c9 Compare January 25, 2025 20:06
@mikeskydev mikeskydev added the enhancement Feature added label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants