quarks Posted February 14, 2015 Share Posted February 14, 2015 Does anybody have any pointers to sample code where the physics runs on the server and and updates are pushed to the Phaser clients over the network? Actually, it doesn't really have to be physics based; any real time example where the game logic is mostly on the server and the client is relatively dumb would be helpful. Thanks,Jay Link to comment Share on other sites More sharing options...
Techbot Posted February 15, 2015 Share Posted February 15, 2015 I use jquery to populate sprite positions, battles etc. https://github.com/EMC23/JiGS/blob/master/components/com_battle/views/phaser/tmpl/tile.js All decisions are made by the server in php.https://github.com/EMC23/JiGS Link to comment Share on other sites More sharing options...
Recommended Posts