Search the Community
Showing results for tags 'sockets'.
Found 6 results
Server game programing
Agreda007 posted a topic in Coding and Game DesignHello guys, i'm new on this page, and need some help with coding the server of a multiplayer online game (one like slither.io ), so i started doing the server with socket using the tcp protocol, but i don't feel that is the right way, if someone know's about directions or a book on handling multiplayer connections, streams, good practives on creating players objects, no matter if i code a small server but i want to do it right. I hope i can get my answer and help others in their problems. sorry for my bad english . have a good day.
Phaser + sockets. Doubts.
The_dude8080 posted a topic in Phaser 2Greetings. I am trying to create a multiplayer game with Phaser. I need some orientation though. I was wondering how do you create a list, which can probably be an array or a js object that stores, in the client side, the connected players. I would need that in several situations => for example, when a new player connects I would check that list and create a new players according to the information stored there. I am not sure how can I create such a variable that would keep all the players info because when a new player connects I think that the variable is generated again which means the previous players information will not be contained there. Also, about the physics, how would you take care of collisions? Should I implement normal collisions in the phaser update loop and then with collision callback send the data to server and take care of it from there? And for example phaser physics gravity? How should I take care of that in a multiplayer game
Phaser sockets multiplayer
The_dude8080 posted a topic in Phaser 2Hello. I am trying to make a multiplayer game with phaser and socket.io. Should there be a normal phaser update function ? Or only the server update loop ? I heard that that stuff should be controlled in the server side...
chiefsmurph posted a topic in Game ShowcaseHi there, http://www.circlebattle.com The code is at https://github.com/chiefsmurph/circle-game This is my game called Circle Battle. I currently have it set up where there are different "rooms" which have different kinds of gameplays. But because there are not a lot of players currently, I am thinking of going to a system where players are paired up as they arrive and then I would set up a way where they could set the circle radius, speed and whether or not intensity mode. It's still very much a work in progress, but there has been many hours put into developing the game. John
CubeClub Soccer - Online Multiplayer Soccer
endel posted a topic in Game ShowcaseHi there, I'd like to share with you guys that we launched the first alpha version of Cube Club Soccer: http://cubeclub.gamestd.io It's a realtime soccer game, where each player is an actual soccer player. Feedbacks are very welcome! We want to make it dead simple to play and have fun instantly! Screenshot