It is extremely simple to export a single player game, but I have not been able to find a way to create/export a multiplayer game from the BGE.

Is this theoretically possible without using a third party application?

  • $\begingroup$ What type of multiplayer are you talking about? Two or more users playing split screen on one computer, or connected over a network. $\endgroup$ – David Dec 26 '14 at 14:43
  • $\begingroup$ For use over network or hosted on the internet. I would like to do this without external applications if possible . . . $\endgroup$ – VRM Dec 26 '14 at 16:16
  • $\begingroup$ Why is this suggested for closing because it is too broad? This is very specific. Is this specific thing (exporting multiplayer games) possible with Blender? $\endgroup$ – VRM Dec 26 '14 at 16:59
  • $\begingroup$ How is this different from exporting a single-player game like explained in this answer? $\endgroup$ – dr. Sybren Dec 26 '14 at 20:44
  • $\begingroup$ That doesn't explain how to export a multiplayer game. I am fully aware of how to create a normal single player game :-P $\endgroup$ – VRM Dec 26 '14 at 22:01

Short answer: No, at least not without a lot of effort.

Long answer:

The engine has no baked-in network multiplayer. You have to set up the whole thing yourself with Python scripting. It's all quite complex.

As far as I know this is the most in-depth explanation of the subject: http://youtu.be/4xZRfzOtxzA

^ Should you decide to build that into a full game, be sure to swap pickle for something like json. Using pickle on untrusted data is a nightmarish fiery hell of insecurity.

If you're familiar with Python and compiling, check out the Python bindings for ENet: https://github.com/aresch/pyenet

At one point someone was working on an addon to ease the burden for common folk, but last I checked it wasn't matured enough for actual use. The project might be dead as well: http://blenderartists.org/forum/showthread.php?242740-Blender-Game-Engine-Multiplayer-Add-on

  • $\begingroup$ I was afraid that would be the case. Thanks for answering! $\endgroup$ – VRM Dec 27 '14 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.