Jump to content

Phaser, Firebase, and MMOs


abc516
 Share

Recommended Posts

I have a Phaser question. I am trying to integrate Phaser and Firebase. My team is trying to create an MMO which persists character data (most importantly position) in Firebase. However, even with two players, we are experience great latency. I was wondering if you (or anyone who has queried you for information) has encountered this issue. We are throttling our function which updates the player position using lodash._throttle, to little affect. I've attached the two main files below (testMulti.js has the phaser logic, firebase-database.js has the firebase stuff).

firebase-database.js

testMulti.js

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...