flixbeat Posted April 15, 2015 Posted April 15, 2015 Shoutout to MWG :) So I was planning to make a mmo game using php as for the server scripting language, and I was wondering if it's recommended to use socket programming for the implementation. I just wanted to make a player's name display or like viewing all the user online on the same page, not necessarily that they can interact like chat or something. But incase, I was thinking of a trade system peer to peer. I would like to make a game that's similar to http://www.die2nite.com or even a much more simpler style like http://www.urbandead.com I also wanted to know if they use sockets for those type of game. Thank you so much, cheers :) Quote
Zettieee Posted April 15, 2015 Posted April 15, 2015 Ajax for the 2nd one. Node.js on the first as said above^ Quote
Guest Posted April 15, 2015 Posted April 15, 2015 Everyones go to is node, sure it's great but there are ways to do it in PHP http://socketo.me/ Quote
Sim Posted April 16, 2015 Posted April 16, 2015 Shoutout to MWG :) So I was planning to make a mmo game using php as for the server scripting language, and I was wondering if it's recommended to use socket programming for the implementation. I just wanted to make a player's name display or like viewing all the user online on the same page, not necessarily that they can interact like chat or something. But incase, I was thinking of a trade system peer to peer. I would like to make a game that's similar to http://www.die2nite.com or even a much more simpler style like http://www.urbandead.com I also wanted to know if they use sockets for those type of game. Thank you so much, cheers :) Simpliest Basic Node.js Chat Example I created this. Looks like it may finally come in handy for someone =] Quote
Guest Posted April 16, 2015 Posted April 16, 2015 Simpliest Basic Node.js Chat Example I created this. Looks like it may finally come in handy for someone =] As most games are PHP, maybe add redis in the middle and send the logged in username across? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.