kasuparu

Arcade physics on server

Recommended Posts

Hello,

 

I am learning Phaser while doing a small multiplayer game using, of course, Phaser, and Node.js with Socket IO for the server-side.

 

Now I am at the point that data updates are correctly distributed for the players but I need to run "master" physics on server and only do interpolations on clients.

 

I came across the nice manual for running P2 physics on server (https://github.com/brendonjohn/cljs-om-physics/tree/master/bower_components/p2js), but I do not need such complex physics.

 

Is there a way to run Arcade physics server-side?

Share this post


Link to post
Share on other sites

I'm gonna bump this thread since I'm having the same issue, I have to do verifications on the server end, and Arcade collision looks just fine yet, having to upgrade to P2 serverside and client side would be a great loss in performance :( !

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.