-
Notifications
You must be signed in to change notification settings - Fork 13
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
Networked example needed #12
Comments
Nice! Thanks for sharing
FYI, I had to either:
|
Yes, that should work, but I haven't figured out how to send messages to the server. I haven't seen if Crystalorb has functionality for sending messages from a client to the server or from the server to a specific client. Am I supposed to use |
Sorry for the very late reply 😅 Yes, at the moment, any other kind of messaging would need use the transport layer directly. |
The example uses a mock connection, so when I tried to implement real networking, that took a while. It would be nice to have an example of a simple but more "real" project.
FWIW, here's what I made: https://github.com/vilcans/orbgame. It's maybe not simple enough to use as an example, and maybe I'm not doing things the right way either, as I'm new to Bevy and hence also crystalorb in Bevy. I haven't figured out how to get events for disconnects yet, so players never disappear.
The text was updated successfully, but these errors were encountered: