Skip to content

game time or client time? #4

@keturn

Description

@keturn

public void update(float delta) {
long current = time.getGameTimeInMs();
if (current > lastCheck + CHECK_INTERVAL) {

I read this as checking the time in-world. As a client-side notification system, should it be using wall-clock time as determined by the client instead?

e.g. I would expect a ten second notification to always show for ten seconds, regardless if game time skips ahead or rewinds or whatever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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