do-not-merge: online functionality
The added Socket.gd script initializes a WebSocket client (WebSocketClient) and communicates with another local websocket server process by sending JSON-formatted messages. It handles connection events, receives data, and sends specific game-related states, such as map start, menu state, and map end.
Example in a Node.Js server
Testing:
- manually tested
Why
- Allows integration with Online client and other helpers that might want live game data.
- osu! has similar interface, and it has been proven useful for tournaments.
Do not merge yet!
Didnt tick the "Requesting changes" thing but thanks git I guess...
this might seem like a dumb idea but i think it'd be cool if you added the current language selected as a websocket function just in case external programs utilize that, and also has said translation for said program
Chat do we merge this :trolley
Do not merge, this is still heavily tested and being improved. When finished I will give greenlight to merge. Thanks!
have you considered making this a draft pr