Use same controls behavior for Player 1 & 2

dreph

  • Posts: 142
Just like the subject asks, is it possible to use the same behavior for control for 2 players?  Example:  I would like to make it so my game detects two game controllers and the players are controlled independently from each other.  Just curious.

EDIT:  I just found the page about how external game controllers are not natively supported and unexpected results happen if you unplug and plug in a controller.  I think the best bet for a local 2 player game will have to be on the keyboard.  This means for the players I will require two control scripts.  This is fine, but it makes it a bit more work for enemy AI and tracking of individual players require extra steps.  Let me know if anyone has a better idea.

« Last Edit: October 27, 2018, 07:05:18 am by dreph »

Bombini

  • *
  • Posts: 1400
Two gamepads can work if the player sets them up manually.
Just FYI how i do it with one:
http://community.stencyl.com/index.php/index.php?topic=28359.msg302653#msg302653