Dummy client to learn the other half of WebSockets
This is mostly a copy of ambiso/bevy_websocket_example: https://github.com/ambiso/bevy_websocket_example/tree/main It demonstrates how to hold and use a (Tungstenite) WebSocket in a Bevy app. I've altered it slightly (and skipped impl'ing the send function) to fit my own chatroom dummy target. This is completely useless as a chatroom app, but it's not supposed to be one. Now I can move on to building the actual Pong game!
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
[workspace]
|
||||
members = ["client", "server"]
|
||||
resolver = "3"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 3
|
||||
|
||||
Reference in New Issue
Block a user