netfox
netfox copied to clipboard
Automatically host and connect on start
:sparkles: Description
Window tiling was implemented in #322, so when running games from the editor, the windows are automatically spread out on the screen. This helps a lot with starting and connecting to the game session.
As a next step, it would be nice if the game started automatically, hosting and then connecting, without user input.
This is an editor-only feature, build would not be affected.
Implementation notes
- Autostart would use a port set in the project settings
- Default behavior is to try to start a host, otherwise connect
- A signal would be exposed, so games can implement their custom logic ( e.g. if more steps are required, like login )
- If the signal is used, the default behavior should not run
Distribution
netfox.extras