playMaker

Author Topic: Need help with local multiplayer game / New Input System  (Read 1914 times)

mertti

  • Playmaker Newbie
  • *
  • Posts: 10
Need help with local multiplayer game / New Input System
« on: November 05, 2021, 02:01:52 PM »
Hi,

I need help!

How can I build a similar game as Crash Bash where there are multiple players with multiple controllers? The game will be for ps5.

I installed unity NEW INPUT SYSTEM I managed to make the game work with multiple controllers and spam multiple players with "player input manager"

But now I would like to make all the players with different characters or colors like in the game "Crash Bash" but I am not able to do it. "Player input manager" can spam only one player character...

The game will be local multiplayer with the same device.


mertti

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Need help with local multiplayer game / New Input System
« Reply #1 on: November 06, 2021, 08:59:04 AM »
Is there anyone who could help me with this?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Need help with local multiplayer game / New Input System
« Reply #2 on: November 07, 2021, 09:56:04 AM »
Hi.
Have the player controls fsm on a separate parent.
Then with character selection, use a prefab for a character visuals.
when creating the prefab, store in a variable and use Set Fsm Game Object to set it to a variable on the player control fsm