OpenPF2 / Plugin

Core C++ Game Logic for OpenPF2 (Status: Pre-alpha)
https://www.openpf2.org/
Other
24 stars 5 forks source link

[Players] Ability to Bind Actions to Input/Button Slots #8

Closed GuyPaddock closed 1 year ago

GuyPaddock commented 2 years ago

As a Player, I'd like the ability to associate an action my character can perform to input slots (i.e., controller buttons) so that I can invoke actions without having to open menus/screens.

Acceptance Criteria

Given that my character has been granted at least one ability:

  1. I would expect to be able to open a menu or screen where I can associate character abilities to input slots.
  2. Given that I have opened the ability menu/screen:
    1. Given that I select an ability from the list of abilities my character possesses: I would expect to be able to press a button on my controller or keyboard to associate the ability with that input button.
    2. Given that I have selected an ability from the list of abilities and pressed the button I want to associate with the ability:
      1. I would expect the ability to be bound to the slot that corresponds to the button I pressed.
      2. Given that there was an ability already associated with the input slot that I selected: I would expect the binding for the new ability to replace the ability that was previously bound to the slot.
      3. Given that the ability I am binding was already bound to a different slot: I would expect to be able to bind the ability to any number of input slots; so, the ability would remain bound to the original slot while being bound to the new slot.

Design Concepts

We can borrow the bindings control from Dragon Age Origins: image