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

Feature request: Modify dialog boxes to let players chat and inspect the game state #2125

Open
Wirox opened this issue Dec 27, 2020 · 0 comments

Comments

@Wirox
Copy link

Wirox commented Dec 27, 2020

Currently all dialog boxes (such as confirm()) block the player from doing anything except for interacting with the dialog box. In many cases it makes sense because it ensures the player will execute no scripts in between. However, there are many actions which can never execute any scripts on their own, so it'd be safe to allow them.
They include, but aren't limited to:
– hovering over a card to zoom it
– using the 'Look at' action for face-up groups
– switching to a different player's tab
– chatting

To explain why such a possibility would be very useful, I'll use an example from the game I'm developing.

In this game, when a player draws their starting hand, they are asked with confirm() whether they want to keep it or change it. Unfortunately for as long as the dialog box is up, it's impossible to zoom the cards in hand, which makes it difficult to read their text. What is even worse, if that player accidentally switches to their opponent's tab, they won't see their own hand at all. Being able to chat in this situation would also be helpful at times because in friendly games someone might want to ask their opponent if it's a good idea to keep a certain hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant