3 ms·
>"Nick: It wasn’t quite working, like people would start typing and we’d notice, they’d start typing one character and all of a sudden eight characters appear,
by xerophtye 13y ago
>"Nick: It wasn’t quite working, like people would start typing and we’d notice, they’d start typing one character and all of a sudden eight characters appear, it’s all crazy.
Scott: It’s a really complicated algorithm.
Nick: Yeah. Eventually, we could’ve waited for ShareJS to update to the newer version or we could just go to Firebase and put in an adaptor for that and it’s been totally stable since we did that. So we started using Firebase a couple of months ago."
So from that i infer that they were somehow using it to implement the Multiplayer mode. I still haven't entirely understood how firebase is a client-side DB so i am not sure how they were doing that
- nwinter 13y agoMostly Firepad, which is an adapter for CodeMirror that uses Firebase to add real-time collaborative text editing to it: http://www.firepad.io/ http://www.firepad.io/ We are using ACE, not CodeMirror, so I added another adapter to hook Firepad up to ACE: http://ace.c9.io/ http://ace.c9.io/ We also use Firebase to sync the wizard presence, position, chat, and game script state.