fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.67k stars 123 forks source link

Handle Network Disconnects #970

Open MaxCWhitehead opened 6 months ago

MaxCWhitehead commented 6 months ago

Description

Right now when a player disconnects, there isn't really any indication other than them stopping moving.

We should notify the player of this, and consider switching the remote player to an AI or something. That might be a bit more work - but some sort of toast message / discrete UI making known would be good.

erlend-sh commented 6 months ago

Ideally we would at the very least:

MaxCWhitehead commented 4 months ago

This is partially handled - when all players DC, player is notified with option to leave game.

When only a subset of players DC'd, should continue game but add UI to indicate this.

This issue is relevant for disconnects outside of game / while still setting it up: https://github.com/fishfolk/jumpy/issues/1004