acterhd Posted June 4, 2016 Share Posted June 4, 2016 Hello. Phaser have node.js support or not? Have phaser multiplayer? How I can do render operation in client side, if I have game engine in server? Link to comment Share on other sites More sharing options...
drhayes Posted June 7, 2016 Share Posted June 7, 2016 No, nothing in Phaser is node-specific. There are lots of multiplayer threads on the board, though, with lots of great advice. Link to comment Share on other sites More sharing options...
Sawamara Posted June 20, 2016 Share Posted June 20, 2016 On 2016. 06. 04. at 3:18 PM, acterhd said: Hello. Phaser have node.js support or not? Have phaser multiplayer? How I can do render operation in client side, if I have game engine in server? Phaser uses javascript. Therefore, you can simply send out XMLHttpRequests (for example) for data regarding your multiplayer session (so you can poll your server, for example, for any new moves your opponent made in a chess game.) Then, all you need to do is have the code handle the resulting JSONp response text. But this is just a quick and dirty example, I am sure you can use sockets and advanced mulitplayer techniques as well, just make sure to have a bridge between your api calls and your phaser game handling the data it is given. Link to comment Share on other sites More sharing options...
WombatTurkey Posted June 20, 2016 Share Posted June 20, 2016 Copy your title into the search bar, tons of great topics already! Good luck! Link to comment Share on other sites More sharing options...
Recommended Posts