Skip to content

Feat: Spectate mode #389

Description

@Zekiah-A

In spectate mode, the game will automatically follow another user as they place pixels around the canvas, however, while in spectate mode, normal users will not be permitted to place pixels themselves, to prevent abuse (such as following a user around the canvas to harass them). Entering and exiting spectate mode will also have a cooldown, and leaving spectate mode will reset canvas view to the centre, at full zoom, to further ensure it can not be easily misused

Dependencies:

  • Be able to get and enumerate all online users from server (might be possible with intIdNames MAYBE, but a hardier solution might need to be created)
    • Sub-dependency: Improve intIdNames to provide more metadata on users, perhaps expended to intIdUsers which contains the intIds of online users + an object with more context about that user, such that less requests for user info need to be made to the server
  • Server will no longer include placer in pixel packets by default, and will only provide this while a client is spectating. This cuts down on client memory load and bandwidth. Placers can be looked up after the fact using the request pixel placers packet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions