outfrost / deckswipe

Single player card game skeleton based on Reigns and Lapse
MIT License
73 stars 29 forks source link

Visual preview of action outcome #40

Open outfrost opened 3 years ago

outfrost commented 3 years ago

The stat bars should display visual indications of the stat modification of an action, before said action is taken.

Example:

  • Stats are at 16, 16, 16, 16.
  • A card is drawn. Its left action outcume contains a stat modification of -2, 0, 4, 0.
  • When the player grabs the card and drags it a bit to the left:
    • The 1st (coal) stat bar should show the difference between 16 and 16-2 in a different colour, e.g. pale red
    • The 3rd (health) bar should show the difference between 16+4 and 16 in a different colour, e.g. pale green
  • When the player drags the card back to centre, the indications should fade back out.

Right now there is no way for the player to tell what consequences an action will have until it's taken.

RobertRauch commented 3 years ago

Hello @outfrost could you assign me this issue? I would like to work on this.

outfrost commented 3 years ago

Sure, go ahead!