ramon
CCConvex Community
•Created by Indy on 10/10/2024 in #announcements
Hey @everyone, we've got new things for
Oh man, having swift is a great addition!
1 replies
CCConvex Community
•Created by ramon on 4/24/2024 in #support-community
convex-rs but only the base client and dependencies?
yea I was going down this route! thanks
5 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
I found this in the codebase, this implies the messages get serialized as json and then sent as text, right?
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
If so, what is the serialization that you normally use? I want to avoid having to convert these [1] messages into their correponding Godot types if I can avoid it.
[1] https://docs.rs/convex_sync_types/0.6.0/convex_sync_types/types/enum.ClientMessage.html
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
continuiing my path here!
I need to send the messages of type
ClientMessage
to the backend myself, but I assume these get serialized in one way or another before being sent through the websocket in all the different clients, right?51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
I think I have already something like this set up with my rudimentary websocket system, so this should work
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
in other words, the base client does the translation parts for how to handle the incoming and outgoing messages, but looping over the messages themselves and sending them is up to me
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
ohhhhhh I think I get it, so base client is literally just handling "convex specific state machine part".
I have to do a higher level wrapper that at each frame looping over all incoming messages, passing them to the base client via
receive_message
to update the convex state51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
thanks!
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
ok that's an option
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
so you are saying I could use Godot's websocket
51 replies
CCConvex Community
•Created by jamwt on 4/16/2024 in #general
Building a client for a new language
oh gotcha
51 replies