example multiplayer game

0 favourites
From the Asset Store
Unlock platyers earning coins, and save it with Localstorage
  • hi, is there any kind of documentation, tutorial or example of how to make a multiplayer game construct. if it is not. someone could help me. explaining in what way can make the connection and manage events in a multiplayer game.

    Thank you.

  • Hey Chrom, its no easy task.

    C2 doesnt have built in features for multiplayer yet (if you mean multiple computers). Some people have made progress on it themselves though (a search in the forum for multiplayer should bring up all the relevant threads).

  • long story short, you need a server that will communicate to players, on which the game is run. player to player communication is no option.

  • Not too much to add to the very useful advice from GenkiGenga and ranma - do a search on 'mulitplayer' and you'll find lots of interesting and informative discussion (here's one example); the server-side coding is critical, since the actions of your players have to be communicated by the server component of the game (which is not Construct 2's job).

    My own advice: think about making multiplayer games only if a) you've got lots of experience in networking and server-side coding, and b) you've got lots of time on your hands.

  • oooh... i hope they include multiplayer features on C2 soon...

  • Thanks for your responses. good to know that there are people on the forum yet.

  • An inbuilt multiplayer system will be better.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • An inbuilt multiplayer system will be better.

    mikeymushi

    Just wondering what you mean by "an inbuilt multiplayer system"? Multiplayer necessarily requires an external server, and that's outside the scope of Construct 2.

  • Meant that the option should be part of C2 and not in other 3rd party SDKs

  • mikeymushi

    Thanks for the clarification. Can you say how you would imagine it i.e. what would have to be available in C2 (from your point of view as a game builder) to allow you to make your game multiplayer?

  • Velojet

    Uh, Scirra might create a (node.js) server and allow designer to create logic by event sheet then upload on this cloud. <img src="smileys/smiley36.gif" border="0" align="middle" />

  • rexrainbow

    Thanks for your perspective. I'm also hoping that I might hear from mikeymushi what "an inbuilt multiplayer system" might look like from his perspective.

    (I guess you might be interested to know why I'm interested <img src="smileys/smiley2.gif" border="0" align="middle" /> I've done some work with nodejs and socket.io and wonder how they might be integrated with Construct 2 to allow multiplayer play.)

  • Well, if you're looking for multiplayer in Construct Classic then I made this game open source a while back: Pixel People Online

    It uses SciDave's awesome Network Plugin, but unfortunately the plugin does have problems when high latency is involved (if a packet misses, it gets in an endless loop of resending, so it might be good to only play in-country or LAN multiplayer)

  • Jayjay

    Thanks a lot for those links - your game is a very useful reference for multiplayer development in Construct 2.

  • Jayjay

    Thanks a lot for those links - your game is a very useful reference for multiplayer development in Construct 2.

    No problem, I'd love to see multiplayer plugins and games made for Construct 2 <img src="smileys/smiley17.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)