Skip to content

[Secondary] Local Multiplayer Input & Controller Mapping Setup #7

Description

@MeriAlguero

[Secondary] Local Multiplayer Input & Controller Mapping Setup

Priority: Secondary / Post-MVP
Labels: enhancement, input, secondary

Summary

Configure Unity's New Input System to support 2 local gamepads simultaneously and bind fundamental gameplay controls (Grid Selector, Confirm/Interact, Cancel/Back, End Turn, Hand Navigation).

Tasks

  • Ensure Unity's Input System package is installed and active.
  • Create an InputActions asset with basic action maps:
    • Maps (Vector2 / D-Pad & Left Stick)
    • Submit / Select (South Button / A)
    • Cancel / Back (East Button / B)
    • End Turn (North Button / Y or Menu Button)
    • Cycle Cards (Shoulder Buttons / LB & RB)
  • Configure PlayerInputManager in the scene set to Join Players Manually or Local Co-op.
  • Assign Gamepad 1 to Player 1 and Gamepad 2 to Player 2 upon game start.

Acceptance Criteria

  • Connecting two gamepads registers Gamepad 1 and Gamepad 2 independently.
  • Player 1 inputs only trigger actions during Player 1's turn.
  • Player 2 inputs only trigger actions during Player 2's turn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions