joinplayroom
I have to use joinplayroom and convex. The reason for each function call is 60 fps is expensive. Are you planning such functions of rooms as before without a database to make it cheaper?
8 Replies
PS Something like Nakama, you write the code and the state of the players, and on the site you will see all the state of the room and the players, and inside they can access the function that is mutating. I understand that it will be difficult, but there will be more demand 🙂 Such as card games or chess games, etc. Instead of constantly querying from the database which is not needed for the state of the game
Would be epic
This is just a rough sample code. And the site will display all the status of the match that is active
my toes are curling
and the client will simply connect to the match
There are no immediate plans for cheaper ephemeral state running at 60fps in Convx. Using playroom with Convex sounds great! As seen with things like https://www.convex.dev/ai-town you can certainly build game-y things with Convex but Playroom looks like it's built for this.
AI Town
A virtual town where AI characters live, chat and socialize
@ballingt but that's the point when the player sends 60 times per second that 1 million functions are already exhausted in a couple of minutes. I already checked about ai-town)) otherwise I would have written long ago)
Well, I almost did it and it works, but the authoritative one has to be given to the host client. But then I’ll make sure that I take over the authoritative match on the server