Skip to content

Automatically host and connect on start #401

@elementbound

Description

@elementbound

✨ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions