Comments (6)
Hi!
There's a small group of us that are also really interested in adding networking. There's a channel in our Discord where we've discussed and some investigation has been made, but no one's got particularly far https://discord.gg/xNFSVUdP42
Multibrush of course has the multiplayer capability, but is unfortunately closed source and using a closed source networking library.
Library choice is one of the main things to figure out. Personally, I'd like something that can be self hosted and run easily by anyone, to preserve this functionality as much as possible. It should support online matchmaking and rooms for general use, but also configurable to target a server on the local network for setups such as schools and museums, where internet access may not be as simple as a home user.
Some packages also have open source client libraries but closed source servers, which I feel is not the correct path either.
Members of the Tilt Brush team have spoken about unreleased multiplayer prototypes, and how they went about implementing the sync:
The code for the multiplayer prototype was fairly simple: serialize Command and squirt it across the network to a relay that bounced them reliably to all other people who joined the channel. Do a continual distributed leader election to decide a leader. On join, ask for the undo history and the leader sends it to you
https://discord.com/channels/783806589991780412/803681768049737799/803760281066930256
Command is referencing this class https://github.com/icosa-gallery/open-brush/blob/main/Assets/Scripts/Commands/BaseCommand.cs
from open-brush.
There's a useful discussion starting here: https://discord.com/channels/783806589991780412/804251629993197618/859193005286359080
I copied parts of it into the developer notes which lots of other useful pointers in it: https://docs.google.com/document/d/1BLKHNDjp-hZ8Ju03PhdU1crLOxURB14BtId8YKCp3tk/edit
@Daniel-Fan has also done some work on recording and replaying the avatar head and hands that might feed into this: https://github.com/Daniel-Fan/open-brush/tree/add-strokeIndicator
from open-brush.
Need to move to Unity 2020: #135
from open-brush.
Is this still in progress?
from open-brush.
Absolutely 😀
from open-brush.
The baseline pass of the multiplayer stack has been implemented, so I'm going to close this in favor of mini issues for the remaining tasks!
from open-brush.
Related Issues (20)
- Unable to install(Pico 4) HOT 1
- Simple "View Only" build with a sketch baked in
- Controllers are disappeared
- [Android] Storage Access Framework
- Godot 4 SDK HOT 12
- Promo review
- where to find similar mesh(es) for pop-up windows, menu, etc.? (Just a query) HOT 3
- [Multiplayer] Find a better way of tracking strokes than m_Seed
- Youtube or Spotify integrations HOT 1
- Adding Google service API support issue HOT 2
- Browser integration HOT 2
- Snapping to guides doesn't behave correctly.
- Zappar incorrect iOS Icon
- Build error with CHRFont.cs at line 66 "FormatException: Input string was not in a correct format." HOT 1
- Copyright updates and checks HOT 3
- Switching to experimental brushes and back shouldn't require a restart
- Enable sphere easter egg on mobile HOT 1
- Cached thumbnails for 3d models
- Mobile Bloom Support
- Images that are too large fail to load without any informative error message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-brush.