enriqueto Posted June 18, 2017 Share Posted June 18, 2017 I'm thinking on doing a physics game using phaser + p2.js in the client and p2.js in the server. Basically it would be a 2 players game with some 10 - 15 balls bouncing. Has anyone tried successfully a p2.js networked physics game using p2.js? Link to comment Share on other sites More sharing options...
Skeptron Posted June 19, 2017 Share Posted June 19, 2017 I haven't used P2 but a custom physics lib and it works great, there's no reason why it shouldn't work with P2 or any lib for that matter. Make sure you share as much logic code as possible between the client and the server to be as deterministic as possible, and it should be fine. Link to comment Share on other sites More sharing options...
Recommended Posts