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

Allow Starting Network Game With AI Players #813

Open zicklag opened 1 year ago

zicklag commented 1 year ago

Description

Right now it's not possible to start an online game with AI players. We need to come up with an appropriate UI flow for this.

We may also need to do a validation of some of the game's input handling, because not everything was necessarily coded with this possibility in mind.

Alternatives & Prior Art

No response

erlend-sh commented 1 year ago

side note: If AI bots would always play like local connections even when they’re being synced online, that’d make our current online experience a lot more appealing to play with. At least 3/4 players would feel seamlessly synced up.

zicklag commented 1 year ago

That's an interesting thought. Because the game still has to roll back in order to account for changes in the remote player's mis-predicted inputs, it might still cause the AI to look choppy, but I'm not sure.

erlend-sh commented 1 year ago

Cool. That uncertainty is already reason enough to pursue this so we can get that first curiosity settled!