fishfolk / bones

An easy-to-use game engine for making real games.
https://fishfolk.org/development/bones/introduction/
Other
210 stars 20 forks source link

feat: Allow local input to be disabled on SessionRunner. #411

Closed MaxCWhitehead closed 3 months ago

MaxCWhitehead commented 3 months ago

Add SessionRunner trait API for disabling local input. The use case for this is that in Jumpy when pausing the game in networked play, we do not want to set net game session inactive, as network loop will stop running and we will timeout. Instead can allow it to continue simulating and disable local input instead as a "pause".