Page 1 of 1
Popup for battle cards
Posted: 05 December 2020, 12:38
by Italo Rufca
I need to make a popup for a battle, it appears at the end of the player's action, and there must appear one or two cards face down selected by the player, then the move passes to another player who must select one or two cards too, then the cards are revealed. Can anyone help me? I'm new here
Re: Popup for battle cards
Posted: 05 December 2020, 20:59
by Victoria_La
Sorry I don't understand what are you asking? Is player suppose to select between two cards? Are they already on the board or not?
If they are on the board, highlight the card (usually with "active" token ighlighting method) and change prompt to "Select one of two cards".
If they not on the board you can either use same state prompt, by asking in the propt and makeing 2 buttons for choice A and choice B,
or you create a dalog (all of this documened on
https://en.doc.boardgamearena.com/Game_ ... amename.js)
Re: Popup for battle cards
Posted: 07 December 2020, 12:05
by Italo Rufca
I think my explanation got confused. one of the possible actions is to select one or two cards to battle by hand, then the player must choose who to battle against, then the selected player must choose from his hand one or two cards to face the opponent. after this is done, i wanted to open a popup with the selected cards face down by the players and have an animation to reveal the cards. I think it's easier to understand now