playMaker

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

FunD

  • Playmaker Newbie
  • *
  • Posts: 29
    • View Profile
Question on how to make multiplayer with gamemaker
« on: July 20, 2018, 05: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

krmko

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

verybinary

  • Junior Playmaker
  • **
  • Posts: 81
    • View Profile
    • The Museum of Digital
Re: Question on how to make multiplayer with gamemaker
« Reply #2 on: July 20, 2018, 11:29:15 AM »
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
    • View Profile
Re: Question on how to make multiplayer with gamemaker
« Reply #3 on: July 23, 2018, 04: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 :)

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 1055
    • View Profile
    • Fat Pug Studio
Re: Question on how to make multiplayer with gamemaker
« Reply #4 on: July 23, 2018, 04: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.