playMaker

Author Topic: Question on how to make multiplayer with gamemaker  (Read 1888 times)

FunD

  • Playmaker Newbie
  • *
  • Posts: 29
Question on how to make multiplayer with gamemaker
« on: July 20, 2018, 08:39:48 AM »
Hello,
Does anyone know of documentation or tutorials for making a local multiplayer game (on a single device) with playmaker?

Thank you

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Question on how to make multiplayer with gamemaker
« Reply #1 on: July 20, 2018, 09:00:10 AM »
You mean like hot seat (two players on one keyboard, for example)?
Available for Playmaker work

verybinary

  • Junior Playmaker
  • **
  • Posts: 81
    • The Museum of Digital
Re: Question on how to make multiplayer with gamemaker
« Reply #2 on: July 20, 2018, 02:29:15 PM »
This would be an input issue.
in the unity input thing, you will have p1jump p2jump p1attack p2 attack
youre gonna have two FSMs. one for each player that waits for each players input, and each prefab will listen to their own FSM
it wont matter if you have on screen buttons or get controller input. its handled the same way with the unity input system at its core.
Playmaker would just get input and send it to unities input manager by name

FunD

  • Playmaker Newbie
  • *
  • Posts: 29
Re: Question on how to make multiplayer with gamemaker
« Reply #3 on: July 23, 2018, 07:16:14 AM »
Thanks for your reply

I meant more like with 2 (or even 4) controllers on the same screen. No split-screen. Like a deathmatch for ex.

I am doing this type of game for the first time and struggling to find any help on this

I was wondering if anybody has done this before or know a good way to figure out how to do this :)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Question on how to make multiplayer with gamemaker
« Reply #4 on: July 23, 2018, 07:49:11 AM »
I don't know what seems to be the problem, make several FSMs that control the input of each player.

Player 1:

FSM Control Player 1
Get Key A > Move Left
Get Key D > Move Right
Gey Key W > Move Up
Get Key S > Move Down

Player 2:

FSM Control Player 2
Get Key Arrow Left > Move Left
Get Key Arrow Right > Move Right
Gey Key Arrow Up > Move Up
Get Key Arrow Down > Move Down

Or get controller input, but you need to make several entries in input setting manager for referral.
Available for Playmaker work