Skip to content

Potential mouse lock issue on Firefox #2

@ell1e

Description

@ell1e

Sorry if this is the wrong place to file this and if the game's version of the tram-sdk doesn't actually match the GitHub one. But there seems to be a problem with mouse lock with Firefox 133.0 (64-bit) on Linux (Wayland grapahics) where if the mouse isn't confined and locked yet it works, but once the mouse is locked and captured this happens:

Emscripten.Mouse.Issue.webm

No matter what I do, it always wants to rotate in one direction. If I had to guess why this happens, it seems like something about resetting the mouse cursor potentially doesn't quite work as intended. The problem seems to be limited to windowed only, when I fullscreen the game the mouse works correctly. If the game just isn't meant to work correctly outside of fullscreen, perhaps it would make sense to add a more visible warning, although it would be nice if windowed simply worked as well.

My apologies if this is actually an error on my end rather than a game problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions