Skip to content

Mobile client compatibility #165

Open

Description

@Nul-led

The client should already support mobiles however i unintentionally broke this support, maybe we can restore it?

Activity

  1. c86ec23b-fef1-4979-b2fa-b9adc351b8cc commented on Jul 1, 2025

    @c86ec23b-fef1-4979-b2fa-b9adc351b8cc
    Collaborator

    I did make a version that could load on mobile, you just need to remove the check that redirects to the app store.
    However as there are no joysticks you cannot control anything

  2. Nul-led commented on Jul 1, 2025

    @Nul-led
    CollaboratorAuthor

    Adding joysticks should be fairly simple i think, at least communication-wise, one outputs keydowns/ups for the current rotation (up/down/left/right and combinations), the other one can be used to set mouse pos and shooting state.. although idk about repel

    We could prob repurpose smth like that
    https://github.com/bobboteck/JoyStick

  3. c86ec23b-fef1-4979-b2fa-b9adc351b8cc commented on Jul 1, 2025

    @c86ec23b-fef1-4979-b2fa-b9adc351b8cc
    Collaborator

    Diep's client has built-in gamepad support, perhaps a future joystick implementation could use those functions of the client
    I believe something similar was done as a userscript, it would make your tank follow the mouse

  4. Nul-led commented on Jul 1, 2025

    @Nul-led
    CollaboratorAuthor

    Oh right i completely forgot about that 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    miscMiscellaneous issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions