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

Error message in debug tutorial is not shown #2227

Open
byorgey opened this issue Dec 20, 2024 · 0 comments
Open

Error message in debug tutorial is not shown #2227

byorgey opened this issue Dec 20, 2024 · 0 comments
Labels
Bug The observed behaviour is incorrect or unexpected. C-Moderate Effort Should take a moderate amount of time to address. S-Critical This is an issue that seriously affects playability or user experience. T-Tutorial Involves the tutorial experience for new players. T-UI Involves the user interface. Z-User Experience This issue seeks to make the game more enjoyable to play.

Comments

@byorgey
Copy link
Member

byorgey commented Dec 20, 2024

Describe the bug
In the "Debug" tutorial you are instructed to crash a robot deliberately. When you do, no error message is displayed.

To Reproduce

  • swarm -i Tutorials/crash
  • Now execute r <- build {turn right; move; move; move; move}; view r

Expected behavior
A bunch of log messages are shown, but the error message should be shown as well.

Screenshots
image

Additional context

This issue was first reported by ChucklesTheBeard on Discord.

An error message is generated saying "There's a mountain in the way", but since the tutorial generates a log message immediately after that, the error message is suppressed due to #1877. Some ideas discussed on Discord:

  • The simple solution might be to hide only error messages that are more than n seconds old, for some suitable n
  • A more complex solution might be to mark messages as "read" or "unread" based on whether they have been displayed in some kind of dialog, and only hide read things
@byorgey byorgey added Bug The observed behaviour is incorrect or unexpected. Z-User Experience This issue seeks to make the game more enjoyable to play. T-UI Involves the user interface. T-Tutorial Involves the tutorial experience for new players. C-Moderate Effort Should take a moderate amount of time to address. S-Critical This is an issue that seriously affects playability or user experience. labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The observed behaviour is incorrect or unexpected. C-Moderate Effort Should take a moderate amount of time to address. S-Critical This is an issue that seriously affects playability or user experience. T-Tutorial Involves the tutorial experience for new players. T-UI Involves the user interface. Z-User Experience This issue seeks to make the game more enjoyable to play.
Projects
None yet
Development

No branches or pull requests

1 participant