You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the game with --paused from #2080 and observe the game dialog showing up after one tick.
Alternatively, try running the move tutorial - this may require more retries.
Expected behavior
The UI should always be fully functional at the game start and not wait for events or robots to finish.
This is especially important with the goal dialog, as the player needs to know what to do in the scenario, and a long pause loading the robots would be confusing. This was noted by @byorgey in #2064 (comment).
Screenshots
The text was updated successfully, but these errors were encountered:
I think I understand why this happens. The updateUI function does a whole lot of stuff, including calling doGoalUpdates which is responsible for setting the proper modal. However, updateUI is not called when the game is paused. Perhaps the solution is to split updateUI into two functions, one that should always be called on every frame event and one that should only be called if we just ran the game for some ticks?
Describe the bug
@noyahor in #2076 (comment)
To Reproduce
Run the game with
--paused
from #2080 and observe the game dialog showing up after one tick.Alternatively, try running the move tutorial - this may require more retries.
Expected behavior
The UI should always be fully functional at the game start and not wait for events or robots to finish.
This is especially important with the goal dialog, as the player needs to know what to do in the scenario, and a long pause loading the robots would be confusing. This was noted by @byorgey in #2064 (comment).
Screenshots
The text was updated successfully, but these errors were encountered: