Skip to content

πŸ”¨ Use scaled coordinates instead of absolute coordinates for positioning.Β #2

@KevinLu

Description

@KevinLu

When we send position to the server, divide it by the client's window width or height (for x, y respectively).

When we receive position from the server, multiply it by the client's window width or height (for x, y respectively).

This way, no matter how small the client's screen is, other people will not appear off screen for them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions