wearhere / spacecontrol

Control server for spaceship control panels
2 stars 0 forks source link

Call clear progress when game end or level end #56

Closed dawnho closed 6 years ago

dawnho commented 6 years ago

The way I implemented show progress requires calling {progress:0} when we need to clear the progress bar.

Guessing this will happen when a level ends, game ends, etc.

wearhere commented 6 years ago

The server clears the display by sending a set-status message with data = { message: '' }, can you use that?

wearhere commented 6 years ago

Dawn clarifies that she is displaying the message and the progress separately. This is probably a good idea in the long term so that we can discuss statuses like "meteor incoming!" while the command progress continues to tick away.