Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple character control #5

Open
kosinaz opened this issue Nov 12, 2019 · 0 comments
Open

Multiple character control #5

kosinaz opened this issue Nov 12, 2019 · 0 comments

Comments

@kosinaz
Copy link
Owner

kosinaz commented Nov 12, 2019

Requirements:

  • Automatically stop the game to let the player give orders then resume it to show the results.
    • Automatically stop the game whenever there is an idle player character who would be the next to act but has no order.
    • Automatically stop the game whenever a player character notices a new point of interest.
    • Automatically cancel all the orders that the player character has who noticed a new point of interest.
    • Automatically select the mentioned player character.
    • Automatically move the camera on the mentioned player character.
    • Automatically resume the game when the mentioned player character received an order.
    • Show how the characters are following their orders simultaneously until the game has to be stopped again.
  • Let the player manually stop the game to change the orders then resume it to show the results.
    • Let the player manually stop the game at any time to change the given orders.
    • Let the player manually resume the game when it was manually stopped.
  • Let the player order any player characters when the game is stopped.
    • Let the player select and order any number of player characters at the same time including or excluding the idle one.
    • Let the player give multiple orders to any player character except the idle one.
    • Let the player cancel any given order.
    • Show which characters are selected by the player.
    • Show each order given to the selected characters.
    • Show how the characters are planning to follow their orders.
  • Let the player set which point of interest should automatically stop the game when the player character notices it.

Implementation:

  • Calculate and show the FOV of every selected character.
    List of character portraits that become selected or deselected on their own on double click, or with others on click.
    The first selected character's single portrait on the top of character sheets that also activates or inactivates the character.
    An isWaitingForOrder switch, that is turned on when the character is ready to act without a target, and turned off when the player gives an order. This switch determines how the character has to react to the order, execute it immediately or just note it and wait for his turn.
    A question mark overlay on the portrait of the character that is currently waiting for order.
    An exclamation mark overlay on the portrait of the character that is currently executing an order.
    An isSelected switch that is turned on when the player clicks on the character's portrait and turned off when the player clicks on it again. This switch determines when the character has to react to the click event of the active image tiles. It also determines who the camera should locked on, and who it should follow if no characters are left without order and every character is either performing an action or resting.
    A rectangle overlay on every currently selected character.
    A sleep overlay on every inactive character.
    A behaviour button on the top of the character sheet to switch between uninterruptible and interruptible orders.
    In addition to the automatic stop on interruption function, change the existing stop on pointerup function to stop on click.
@kosinaz kosinaz added this to the 0.7.0 Urbanization milestone Nov 12, 2019
@kosinaz kosinaz added the new label Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant