3 ms·
I've done this before myself for a pretty simple game and had to build the system alongside it. It's quite fiddly to get right. I've been working on a new game
by Folcon 6y ago
I've done this before myself for a pretty simple game and had to build the system alongside it. It's quite fiddly to get right.
I've been working on a new game on and off which is a bit less working with websockets directly and I looked at ably[0] to be that firebase like system, I've found it works reasonably well if you squint, though it's definitely not the same thing.
You can hack together a pretty nice implementation which gets you started using for example using presence[1] to store a minimal dataset associated with synced state. Then derive gamestate off that.
Which you can then expand on.
Though maybe you were wanting a more complete solution =)...
- [0]: https://www.ably.io https://www.ably.io
- [1]: https://www.ably.io/documentation/realtime/presence https://www.ably.io/documentation/realtime/presence