lock Multiplayer

  • Kasper
  • Kasper's Avatar Topic Author
  • Offline
  • Experienced Marbler
  • Experienced Marbler
21 Aug 2014 03:45 #1 by Kasper
Multiplayer was created by Kasper
I was wondering how I could put multiplayer into my mod.

Imperial Circus Dead Decadence
The topic has been locked.
  • Jeff
  • Jeff's Avatar
  • Offline
  • Developer
  • Developer
  • PlatinumQuest Programmer
21 Aug 2014 03:53 - 21 Aug 2014 04:21 #2 by Jeff
Replied by Jeff on topic Multiplayer
The answer is no, you don't.

On a more serious note, here is why.

It has taken us Marble Blast Platinum devs 3 whole years in order to make multiplayer as successful as it is. A ton of time and research was put into this. Thousands upon thousands of hours. You need expert programmers who are experienced in TorqueScript and handling networking code. HiGuy and I invested months into this. You have marble movement, interpolation, collision, syncronizing the clients across a network, moving platforms, bugfixes, port code in stock MBG from single player to multiplayer and other things. That isn't even getting to a game mode yet. Let's not forget about scoring, leaderboards, chatting with one another, ect.

This stuff takes thousands upon thousands (yes thousands) of lines of code to accomplish this kind of stuff. How much do code do you think higuy and I had to add to MBP 1.50? About at least 100,000+ lines of torquescript, and that is a very very conservative estimate.

If you want to code multiplayer, go ahead, but there's so much more than just collecting gems and getting the most points.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.
Last edit: 21 Aug 2014 04:21 by Jeff.
The topic has been locked.
  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Administrator
  • Administrator
  • Rewrite it in Rust
21 Aug 2014 04:26 #3 by HiGuy
Replied by HiGuy on topic Multiplayer
Step 1:
$pref::HostMultiplayer = 1;

Step 2:
Make a ghosting system that ghosts the player positions over the network. I'll let you figure this part out.

Step 3:
Make your own gameservers and infrastructure for multiplayer servers. You can figure this one out as well.


Step 5:

PQ in a nutshell
function clientcmd12dothepq() {
    commandToClient(LocalClientConnection, '34onthedancefloor');
The topic has been locked.
22 Aug 2014 02:34 - 22 Aug 2014 02:36 #4 by Endy
Replied by Endy on topic Multiplayer
Haha, that's kinda funny.

Wait you weren't joking? Oh well..

You can't just open one file then boom you have multiplayer. Jeff and Higuy have worked for like 3 years or something to code multiplayer. And even then it is still a little buggy...

Sorry, bud, but MP can't happen for you.
Last edit: 22 Aug 2014 02:36 by Endy.
The topic has been locked.
Moderators: AayrlKalle29Regislian