You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, for every game loop, we make 40+ firebase requests. The loop runs every 33 milliseconds. Firebase can't handle this.
The solution I'm envisioning right now is to create a huge JSON with the changes that have to be made in firebase and, at the end of each loop, make a single firebase request. Something like:
gameRef.child("planets").update({ "planet0": { //updated info }, "planet3": { //updated info } });
No description provided.
The text was updated successfully, but these errors were encountered: